• <tr id="yyy80"></tr>
  • <sup id="yyy80"></sup>
  • <tfoot id="yyy80"><noscript id="yyy80"></noscript></tfoot>
  • 99热精品在线国产_美女午夜性视频免费_国产精品国产高清国产av_av欧美777_自拍偷自拍亚洲精品老妇_亚洲熟女精品中文字幕_www日本黄色视频网_国产精品野战在线观看 ?

    高校學(xué)生請假管理系統(tǒng)的設(shè)計與開發(fā)

    2021-07-19 22:11:53周清松付星宇
    電腦知識與技術(shù) 2021年13期
    關(guān)鍵詞:管理系統(tǒng)

    周清松 付星宇

    摘要:各個高校為避免學(xué)生出現(xiàn)無故缺席的現(xiàn)象,都在請假方面進行著嚴格的管理,學(xué)生必須辦理正規(guī)的請假手續(xù)才能獲批請假。高校學(xué)生請假管理系統(tǒng)代替?zhèn)鹘y(tǒng)的紙質(zhì)管理,節(jié)儉了物力、人力,并且將請假條管理和假期去向管理相結(jié)合,構(gòu)成一個統(tǒng)一且便于操作的學(xué)生請假管理系統(tǒng)。

    關(guān)鍵詞:假條審批;學(xué)生請假;管理系統(tǒng)

    中圖分類號:TP315? ? ? ? 文獻標識碼:A

    文章編號:1009-3044(2021)13-0063-04

    Abstract: In order to avoid undue absence of students, colleges and universities have strict management in asking for leave. Students must go through formal leave procedures before they can be granted leave. The management system of College Students' asking for leave replaces the traditional paper management, which saves material and human resources. It combines the leave note management and the leave destination management to form a unified and easy to operate student leave management system.

    Key words:undue absence;asking for leave;management system

    1 引言

    為了提高學(xué)生們的出勤率,嚴格要求學(xué)生按時上課和下課,避免出現(xiàn)學(xué)生無端缺席的現(xiàn)象,各大高校對請假事項的管理都很嚴格,都有著自己的一套請假流程。通過學(xué)生請假管理系統(tǒng)的設(shè)計開發(fā),能解決學(xué)生因不能及時得到輔導(dǎo)員或相關(guān)領(lǐng)導(dǎo)審批假條而耽誤時間的問題,同時將人工紙質(zhì)管理學(xué)生請假事宜轉(zhuǎn)換為用系統(tǒng)來代替,方便省時;另外將學(xué)生請假和假期去向信息表填寫相結(jié)合,管理起來更加容易,也為學(xué)生們節(jié)約了更多時間,且操作起來比較方便。

    開發(fā)和使用學(xué)生請假管理系統(tǒng),它既能夠更加科學(xué)、更加便捷地管理學(xué)生相應(yīng)的請假事宜,提高教學(xué)管理質(zhì)量;另一方面也提高了輔導(dǎo)員老師的工作效率,實現(xiàn)請假記錄網(wǎng)絡(luò)化和自動化[1]。要使學(xué)校從請假管理系統(tǒng)中得到收獲,必須有相應(yīng)的制度配套措施,這樣才能發(fā)揮出學(xué)生管理系統(tǒng)最大的效能,學(xué)生請假管理系統(tǒng)的設(shè)計和開發(fā),能有效提高各個高校的請假管理水準,同時也為學(xué)校提供了一個良好的管理工具,化繁為簡的請假模式,使得學(xué)校的管理模式向著合理化科學(xué)化發(fā)展,良好的學(xué)生請假管理系統(tǒng)不但節(jié)省了人力和物力,同時也避免了效率低下的重復(fù)工作,完善了學(xué)校的學(xué)生管理水平[2]。

    2 系統(tǒng)功能結(jié)構(gòu)

    高校學(xué)生請假管理系統(tǒng)系統(tǒng)功能結(jié)構(gòu)圖如圖1所示。

    3 概念模型

    3.1 關(guān)系模式

    學(xué)生信息:(學(xué)號、登錄密碼、姓名、性別、班級、年齡、手機號碼、學(xué)院、班級、注冊時間)

    教師信息:(教師編號、登錄密碼、姓名、性別、年齡、手機號碼、電子郵箱、身份、學(xué)院、班級)

    管理員信息:(管理員編號、登錄名、密碼、標識)

    學(xué)院信息:(學(xué)院ID、學(xué)院名稱)

    班級信息:(班級ID、所屬學(xué)院、班級名稱)

    請假信息:(ID、學(xué)院、班級、學(xué)號、請假原因、請假依據(jù)、開始日期、結(jié)束日期、請假天數(shù)、具體描述、提交時間、請假狀態(tài)、審批結(jié)果)

    假期去向信息:(ID、學(xué)院、班級、學(xué)號、離校日期、目的地、承諾、手機號碼、提交時間)

    3.2 表間關(guān)系

    實體E-R圖如圖2所示:

    4 主要模塊設(shè)計及說明

    本系統(tǒng)的核心模塊包括:學(xué)生模塊、教師模塊和管理員模塊。學(xué)生模塊包括填寫請假信息、填寫假期去向表以及查看自己的請假進度等。教師模塊主要包括審批假條以及銷假等。管理員模塊主要是對信息進行處理以及將相關(guān)信息導(dǎo)出到Excel進行保存等。

    4.1學(xué)生模塊

    4.2教師模塊

    4.3管理員模塊

    4.4具體請假審批模塊

    5 主要模塊實現(xiàn)

    5.1學(xué)生操作相關(guān)代碼

    1)請假條填寫代碼

    if (DateTime.Parse(txt_edate.Text)

    {

    MessageBox.Show(this, "開始日期不能大于結(jié)束日期");

    return;

    }

    int day = 0;

    TimeSpants = DateTime.Parse(txt_edate.Text) - DateTime.Parse(txt_sdate.Text);

    day = ts.Days;

    stringaddrphoto ="";

    if (fpphoto.HasFile)

    {

    string name = this.fpphoto.PostedFile.FileName;

    inti = name.LastIndexOf('.');

    stringextname = name.Substring(i);

    string filename = DateTime.Now.ToString("yyyyMMddhhmmssfff");

    string path =? filename + extname;

    stringsavePath = Server.MapPath(@"..\uploads\" + filename + extname);

    fpphoto.PostedFile.SaveAs(savePath);

    addrphoto = path;

    }

    string strSql=String.Format(@"insert into leave(pid,clid,sno,title,photo,sdate,edate,days,ques,atime,flag)

    values ({0},{1},'{2}','{3}','{4}','{5}','{6}',{7},'{8}','{9}','{10}')",

    Session["pid"].ToString(),Session["clid"].ToString(),Session["bh"].ToString(),txt_title.Text,addrphoto,txt_sdate.Text,txt_edate.Text,day,txt_ques.Text,DateTime.Now,"等待審批");

    DbHelperSQL.ExecuteSql(strSql.ToString());

    MessageBox.ShowAndRedirect(this, "提交成功,請等待輔導(dǎo)員的審批!", "Manage.aspx");

    }

    2)假期去向表填寫代碼

    string strSql=String.Format(@"insert into holiday(pid,clid,sno,lxdate,place,chengnuo,tel,atime)

    values ({0},{1},'{2}','{3}','{4}','{5}','{6}','{7}')",

    Session["pid"].ToString(),Session["clid"].ToString(),Session["bh"].ToString(),txt_title.Text,txt_sdate.Text,txt_edate.Text,txt_edate2.Text,DateTime.Now);

    DbHelperSQL.ExecuteSql(strSql.ToString());

    MessageBox.ShowAndRedirect(this, "操作成功,請返回!", "Add.aspx");

    }

    5.2教師操作相關(guān)代碼

    1)輔導(dǎo)員審批請假條代碼

    string where = " where a.flag='等待審批' and a.by1 is null and a.clid="+Session["clid"].ToString();

    if (txt_sno.Text != "")

    {

    where += " and sno like '%" + txt_sno.Text + "%' ";

    }

    if (txt_title.Text != "")

    {

    where += " and title like '%" + txt_title.Text + "%' ";

    }

    GridView1.DataSource = DbHelperSQL.Query("select a.*,b.pname,c.clname from leave a? left join parts b on a.pid=b.pid left join classes c on a.clid=c.clid " + where + " order by lid desc");

    GridView1.DataBind();

    2)院系領(lǐng)導(dǎo)審批請假條代碼

    protected void Page_Load(object sender, EventArgs e)

    {

    string where = " where a.flag='等待審批' and a.by1 is null and a.clid="+Session["clid"].ToString();

    if (txt_sno.Text != "")

    {

    where += " and sno like '%" + txt_sno.Text + "%' ";

    }

    if (txt_title.Text != "")

    {

    where += " and title like '%" + txt_title.Text + "%' ";

    }

    GridView1.DataSource = DbHelperSQL.Query("select a.*,b.pname,c.clname from leave a? left join parts b on a.pid=b.pid left join classes c on a.clid=c.clid " + where + " order by lid desc");

    GridView1.DataBind();

    protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)

    {

    GridView1.PageIndex = e.NewPageIndex;

    bind();

    }

    protected void btnSearch_Click(object sender, EventArgs e)

    {

    bind();

    }

    protected void btnDele_Click(object sender, EventArgs e)

    {

    Button btn = (Button) sender;

    stringstrSql = string.Format("delete from? leave where lid={0}", btn.CommandName);

    DbHelperSQL.ExecuteSql(strSql);

    bind();

    }

    3)教務(wù)處審批請假條代碼

    if (!IsPostBack)

    {

    ddlpid.DataSource = DbHelperSQL.Query("select pid,pname from parts");

    ddlpid.DataTextField = "pname";

    ddlpid.DataValueField = "pid";

    ddlpid.DataBind();

    ddlpid.Items.Insert(0, new ListItem("---全部---", ""));

    ddlclid.Items.Insert(0, new ListItem("---全部---", ""));

    bind();

    }

    }

    private void bind()

    {

    string where = " where a.flag='等待審批' and a.by1='2' and days>7? ";

    if (txt_sno.Text != "")

    {

    where += " and sno like '%" + txt_sno.Text + "%' ";

    }

    if (txt_title.Text != "")

    {

    where += " and title like '%" + txt_title.Text + "%' ";

    }

    if (ddlpid.SelectedValue!= "")

    {

    where += " and a.pid=" + ddlpid.SelectedValue + "";

    }

    if (ddlclid.SelectedValue!= "")

    {

    where += " and a.clid=" + ddlclid.SelectedValue + "";

    }

    GridView1.DataSource =

    DbHelperSQL.Query(

    "select a.*,b.pname,c.clname from leave a? left join parts b on a.pid=b.pid left join classes c on a.clid=c.clid " +

    where + " order by lid desc");

    GridView1.DataBind();

    }

    4)校領(lǐng)導(dǎo)審批請假條代碼

    private void bind()

    {

    string where = " where a.flag='等待審批' and a.by1='3' and days>30? ";

    if (txt_sno.Text != "")

    {

    where += " and sno like '%" + txt_sno.Text + "%' ";

    }

    if (txt_title.Text != "")

    {

    where += " and title like '%" + txt_title.Text + "%' ";

    }

    if (ddlpid.SelectedValue!= "")

    {

    where += " and a.pid=" + ddlpid.SelectedValue + "";

    }

    if (ddlclid.SelectedValue!= "")

    {

    where += " and a.clid=" + ddlclid.SelectedValue + "";

    }

    GridView1.DataSource =

    DbHelperSQL.Query(

    "select a.*,b.pname,c.clname from leave a? left join parts b on a.pid=b.pid left join classes c on a.clid=c.clid " +

    where + " order by lid desc");

    GridView1.DataBind();

    }

    5)銷假代碼

    Button btn = (Button)sender;

    string strSql = string.Format("update leave set flag='已銷假' where lid={0}", btn.CommandName);

    DbHelperSQL.ExecuteSql(strSql);

    bind();

    MessageBox.Show(this, "操作成功");

    5.3管理員導(dǎo)出數(shù)據(jù)操作代碼

    GridView1.AllowPaging = false; //清除分頁

    bind();? //綁定gridview1數(shù)據(jù)源的那個函數(shù)。

    GridView1.Columns.RemoveAt(9);

    StringHelper.PushExcelToClientEx(GridView1, "請假信息表");

    GridView1.AllowSorting = true; //恢復(fù)分頁

    GridView1.AllowPaging = true;? //恢復(fù)排序

    bind(); //再次綁定

    6 結(jié)束語

    系統(tǒng)的設(shè)計很好地顧及了學(xué)生、教師以及學(xué)院三方的需求,使學(xué)生請假更加快速和方便,教師審批假條也更加及時,相比于之前的紙質(zhì)管理請假條,管理效率大大提高。在后續(xù)的改進中,將系統(tǒng)操作與各類人員的手機進行連接,各種信息可以及時地告知相關(guān)人員;將定位等功能結(jié)合起來,使監(jiān)管更加科學(xué)和準確。

    參考文獻:

    [1] 閻琦.基于UML的高校學(xué)生請假系統(tǒng)的建模與實現(xiàn)[J].信息技術(shù),2014,38(3):92-94,99.

    [2] 金飛龍.金華職業(yè)技術(shù)學(xué)院的請假管理系統(tǒng)的設(shè)計與實現(xiàn)[D].成都:電子科技大學(xué),2013.

    [3] 朱勇,伏海旭.基于RESTful的在線請假管理系統(tǒng)設(shè)計與實現(xiàn)[J].現(xiàn)代計算機(專業(yè)版),2018(36):96-100.

    [4] 夏婷婷.基于Web的高校學(xué)生請假管理系統(tǒng)的設(shè)計與研究[J].洛陽師范學(xué)院學(xué)報,2016,35(8):52-55.

    [5] 陳源.貴陽職業(yè)技術(shù)學(xué)院教師請假管理系統(tǒng)的研究與分析[D].昆明:云南大學(xué),2017.

    [6] 蔣建瓊.一個基于WEB的學(xué)生請假管理系統(tǒng)的數(shù)據(jù)庫設(shè)計[J].電腦知識與技術(shù),2013,9(14):3223-3225.

    【通聯(lián)編輯:王力】

    猜你喜歡
    管理系統(tǒng)
    基于James的院內(nèi)郵件管理系統(tǒng)的實現(xiàn)
    基于Excel固定資產(chǎn)管理系統(tǒng)的設(shè)計與實現(xiàn)
    聯(lián)調(diào)聯(lián)試管理系統(tǒng)的研究及實現(xiàn)
    基于LED聯(lián)動顯示的違停管理系統(tǒng)
    停車場尋車管理系統(tǒng)
    電子制作(2018年9期)2018-08-04 03:31:18
    生產(chǎn)管理系統(tǒng)概述
    船舶壓載水管理系統(tǒng)
    中國船檢(2017年3期)2017-05-18 11:33:09
    海盾壓載水管理系統(tǒng)
    中國船檢(2017年3期)2017-05-18 11:33:08
    基于SNMP的IP地址管理系統(tǒng)開發(fā)與應(yīng)用
    黑龍江電力(2017年1期)2017-05-17 04:25:16
    一種基于Web新型校園門禁管理系統(tǒng)
    丰县| 罗平县| 疏勒县| 汽车| 东海县| 临沭县| 绵阳市| 安远县| 历史| 南昌市| 邓州市| 桂东县| 常宁市| 四会市| 蒲江县| 江北区| 潞西市| 江达县| 江安县| 乐昌市| 寿宁县| 襄垣县| 阿克陶县| 且末县| 黄龙县| 武宣县| 宿州市| 安国市| 红河县| 竹溪县| 正蓝旗| 陕西省| 柳河县| 江西省| 道孚县| 阿拉善盟| 贵南县| 桂阳县| 温泉县| 宜黄县| 桂林市|