freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于vc的人事管理系統(tǒng)設(shè)計與實現(xiàn)(doc畢業(yè)設(shè)計論文)-資料下載頁

2025-06-23 18:43本頁面
  

【正文】 { // TODO: Add your control notification handler code here UpdateData(TRUE)。 HTREEITEM node。 //用于保存當(dāng)前節(jié)點 node = ()。 //取得當(dāng)前節(jié)點值 int iDepId。 iDepId = (node)。 if (iDepId == 0) //不能在根節(jié)點添加員工 { MessageBox(請選擇部門)。 return。 } CEmpEditDlg dlg。 //初始化變量 = 0。 //員工編號為0,表示添加 = iDepId。 //部門編號 = 男。 //性別初始化為男 int iState。 //根據(jù)當(dāng)前的員工狀態(tài)設(shè)置編輯對話框中的員工狀態(tài) iState = ()。 if (iState == 0) = 1。 else = iState。 //添加員工時,將日期控件設(shè)置為當(dāng)天 CTime t = CTime::GetCurrentTime()。 = t。 = t。 if (() == IDOK) Refresh_Data()。}void CEmpManDlg::OnModiButton() { // TODO: Add your control notification handler code here UpdateData(TRUE)。 //if (().GetEof()) //{ // MessageBox(請選擇要修改的記錄!)。 // return。 //} //讀取選擇員工的記錄 CEmployees emp。 ((0))。 //將員工數(shù)據(jù)讀取到編輯對話框中 CEmpEditDlg dlg。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 //設(shè)置日期數(shù)據(jù) int yy=atoi(().Left(4))。 int mm=atoi(().Mid(6,2))。 int dd=atoi(().Right(2))。 CTime t(yy,mm,dd,0,0,0)。 = t。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 = ()。 //設(shè)置日期數(shù)據(jù) yy=atoi(().Left(4))。 mm=atoi(().Mid(6,2))。 dd=atoi(().Right(2))。 CTime tt(yy,mm,dd,0,0,0)。 = tt。 = ()。 = ()。 CString cId。 (%d, ())。 = (cId)。 = ()。 = ()。 = ()。 = ()。 = ()。 if (() == IDOK) Refresh_Data()。} 實現(xiàn)考勤管理功能 圖5-8 考勤管理界面 點擊考勤管理進入員工考勤信息管理,選擇考勤日期,所在部門,則會顯示此部門員工的考勤記錄,設(shè)置員工考勤相關(guān)信息,可實現(xiàn)對員工月度考勤的統(tǒng)計,點擊關(guān)閉退出考勤管理。 部分代碼:////////////////////////////////////////////////////////////////////////////// CCheckManDlg message handlersvoid CCheckManDlg::Refresh_Data(){ UpdateData(TRUE)。 CString cSource。 CString cDepId。 (%d, iDepId)。 //cSource = SELECT , AS 員工姓名, ISNULL(,0) AS 全勤天數(shù),。 //cSource += ISNULL(,0) AS 出差天數(shù), ISNULL(,0) AS 病假天數(shù),。 //cSource += ISNULL(,0) AS 事假天數(shù), ISNULL(,0) AS 曠工天數(shù),。 //cSource += ISNULL(,0) AS 法定休假天數(shù), ISNULL(,0) AS 年休假天數(shù),。 //cSource += ISNULL(,0) AS 倒休假天數(shù), ISNULL(,0) AS 遲到時間,。 //cSource += ISNULL(,0) AS 早退時間, ISNULL(,0) AS 一類加班天數(shù),。 //cSource += ISNULL(,0) AS 二類加班天數(shù), ISNULL(,0) AS 三類加班天數(shù),。 //cSource += ISNULL(, 39。39。) AS 備注信息。 //cSource += FROM Employees e, Checkin c WHERE *= AND =39。 //cSource += (%Y%m%d) + 39。 AND = + cDepId。 cSource = SELECT , AS Emp_Name, ISNULL(,0) AS qqDays,。 cSource += ISNULL(,0) AS ccDays, ISNULL(,0) AS bjDays,。 cSource += ISNULL(,0) AS sjDays, ISNULL(,0) AS kgDays,。 cSource += ISNULL(,0) AS fdxjDays, ISNULL(,0) AS nxjDays,。 cSource += ISNULL(,0) AS dxjDays, ISNULL(,0) AS cdMinutes,。 cSource += ISNULL(,0) AS ztMinutes, ISNULL(,0) AS ot1Days,。 cSource += ISNULL(,0) AS ot2Days, ISNULL(,0) AS ot3Days,。 cSource += ISNULL(, 39。39。) AS Memo。 cSource += FROM Employees e, Checkin c WHERE *= AND =39。 cSource += (%Y%m%d) + 39。 AND = + cDepId。 (cSource)。 ()。 //設(shè)置列寬度 _variant_t vIndex。 vIndex = long(0)。 ().GetItem(vIndex).SetWidth(0)。} void CCheckManDlg::OnSetdepButton() { // TODO: Add your control notification handler code here UpdateData(TRUE)。 //打開選擇部門對話框 CDepSelDlg dlg。 ()。 //從對話框中讀取選擇部門的信息 iDepId = 。 m_DepName = 。 UpdateData(FALSE)。 //根據(jù)選擇的部門信息,刷新表格數(shù)據(jù) Refresh_Data()。}void CCheckManDlg::OnSetdepButton() { // TODO: Add your control notification handler code here UpdateData(TRUE)。 //打開選擇部門對話框 CDepSelDlg dlg。 ()。 //從對話框中讀取選擇部門的信息 iDepId = 。 m_DepName = 。 UpdateData(FALSE)。 //根據(jù)選擇的部門信息,刷新表格數(shù)據(jù) Refresh_Data()。}void CCheckManDlg::OnSetButton() { // TODO: Add your control notification handler code here if (().GetEof()) { MessageBox(請選擇員工記錄)。 return。 } CCheckEditDlg dlg。 = (%Y%m%d)。 //考勤日期 = atoi((0))。 //考勤員工編號 = (1)。 //考勤員工姓名 = atof((2))。 //全勤天數(shù) = atof((3))。 //出差天數(shù) = atof((4))。 //病假天數(shù) = atof((5))。 //出差天數(shù) = atof((6))。 //出差天數(shù) = atof((7))。 //出差天數(shù) = atof((8))。 //出差天數(shù) = atof((9))。 //出差天數(shù) = atof((10))。 //出差天數(shù) = atof((11))。 //出差天數(shù) = atof((12))。 //出差天數(shù) = atof((13))。 //出差天數(shù) = atof((14))。 //出差天數(shù) = (15)。 //出差天數(shù) if (() == IDOK) Refresh_Data()。}void CCheckManDlg::OnSumButton() { // TODO: Add your control notification handler code here CSumCheckDlg dlg。 = iDepId。 = m_DepName。 ()。} 實現(xiàn)員工考評管理功能圖5-9 考評管理界面點擊考評管理,進入員工考評管理界面,選擇考評時間:x年x月,選擇所在部門:xx,即可顯示此部門下的員工考評情況,可瀏覽設(shè)置員工考評信息,點擊關(guān)閉退出員工考評管理。 部分代碼:///////////////////////////////////////////////////////////////////////////// CEvaManDlg message handlersvoid CEvaManDlg::Refresh_Data(){ CString cSource。 CString cDepId。 (%d, iDepId)。 //讀取月份信息 CString cYear, cMonth。 int index。 index = ()。 (index, cYear)。 index = ()。 (index, cMonth)。 //cSource = SELECT , AS 員工姓名, ISNULL(,39。39。) AS 總體評價, ISNULL(,39。39。) AS 獎勵事由,。 //cSource += ISNULL(,0) AS 獎勵金額, ISNULL(,39。39。) AS 處罰事由, ISNULL(,0) AS 處罰金額,。 //cSource += ISNULL(,39。39。) AS 備注信息 FROM Employees e, Evaluation v WHERE *=。 //cSource += AND =39。 + cYear + + cMonth + 39。 AND Dep_Id= + cDepId。 cSource = SELECT , , ISNULL(,39。39。) AS ZtEva, ISNULL(,39。39。) As ZtEva ,。 cSource += ISNULL(,0) As jlAmount, ISNULL(,39。39。) As cfReason, ISNULL(,0) As cfAmount,。 cSource += ISNULL(,39。39。) FROM Employees e, Evaluation v WHERE *=。 cSource += AND =39。 + cYear + + cMonth + 39。 AND Dep_Id= + cDepId。 //cSource = select * from Employees e,Evaluation v where *= 。 //cSource += AND =39。 + cYear + + cMonth + 39。 AND Dep_Id= + cDepId。 (cSource)。 ()。 //設(shè)置列寬度 _variant_t vIndex。 vIndex = long(0)。 ().GetItem(vIndex).SetWidth(0)。}void CEvaManDlg::OnSetButton() { // TODO: Add your control notification handler code here if (().GetEof()) { MessageBox(請選擇員工記錄)。 return。 } //讀取月份信息 CString cYear, cMonth。 int index。 index = ()。 (index, cYear)。 index = ()。 (index, cMonth)。 CEvaEditDlg dlg。 = cYear + + cMonth。 //考評月份 = atoi((0))。 //考評員工編號 = (1)。 //考評員工姓名 = (2)。 //總體評價 = (3)。 //獎勵事由 = atoi((4))。 //獎勵金額 = (5)。 //處罰事由 = atoi((6))。 //處罰金額 = (7)。 //備注 if (() == IDOK) Refresh_Data()。 }圖5-10 用戶管理界面部分代碼://///////////////////////////////////////////////////////////////////
點擊復(fù)制文檔內(nèi)容
化學(xué)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1