力源人力资源管理系统的系统测试.doc_第1页
力源人力资源管理系统的系统测试.doc_第2页
力源人力资源管理系统的系统测试.doc_第3页
力源人力资源管理系统的系统测试.doc_第4页
力源人力资源管理系统的系统测试.doc_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

力源人力资源管理系统的系统测试 信管1021 周辰芳 1003102131 系统测试与使用1.1系统测试情况用户成功登录系统以后,就可以看到系统主页面,系统主页主要是系统的功能结构,相应的权限用户可以双击进入相应的模块进行操作。以下是部分页面:登录页面:登陆页面如图,为本系统的入口,用户输入正确的用户名和密码才能进入系统主页人事管理页面:员工基本信息管理页面,可以查询、编辑用户的基本信息,其中包括员工工号,所属部门。联系方式等等。员工调动:工家庭成员管理和工作经历管理模块可以实现以下功能:1 添加、修改、删除和查看员工家庭成员信息;2 添加、修改、删除和查看员工学习及工作经历信息。考勤管理页面:管理员可以通过考勤管理页面,对员工的考勤状况进行更改增加,还可对数据进行统计。1.2系统使用说明本系统采用Visual C+ 6.0平台开发设计,而数据库使用微软的Access数据库,因此若系统需要连接数据库时,为了方便快捷的链接到需要的数据,可使用为系统添加数据源的方法来解决。具体方法: 打开控制面板,进入管理工具,找到数据源; 双击进入,选择添加用户DSN; 由于使用的是微软的Access数据库,所以选择Microsoft Access Driver(*.mdb),然后点完成; 给数据源起个名,此系统的使用的数据库名为management,然后在数据库中点选择,添加数据库的存储路径,完成后点确定即可。 双击code文件夹下的management.dsw文件,使用Visual C+6.0平台打开,编译连接运行,出现人力资源管理信息系统登陆窗口,输入用户名、密码进入系统。附录:部分模块源代码部门信息管理模块代码:#include stdafx.h#include HrSys.h#include Departments.h#include ADOConn.h#ifdef _DEBUG#undef THIS_FILEstatic char THIS_FILE=_FILE_;#define new DEBUG_NEW#endifCDepartments:CDepartments()Dep_id = 0;Dep_name = ;Describe = ;UpperId = 0;CDepartments:CDepartments()/读取和设置成员变量int CDepartments:GetDep_id()return Dep_id;void CDepartments:SetDep_id(int iDep_id)Dep_id = iDep_id;CString CDepartments:GetDep_name()return Dep_name;void CDepartments:SetDep_name(CString cDep_name)Dep_name = cDep_name;CString CDepartments:GetDescribe()return Describe;void CDepartments:SetDescribe(CString cDescribe)Describe = cDescribe;int CDepartments:GetUpperId()return UpperId;void CDepartments:SetUpperId(int iUpperId)UpperId = iUpperId;员工基本信息管理模块代码:#include stdafx.h#include HrSys.h#include Employees.h#include ADOConn.h#include Family.h#include Experience.h#include Checkin.h#include Evaluation.h#include Users.h#ifdef _DEBUG#undef THIS_FILEstatic char THIS_FILE=_FILE_;#define new DEBUG_NEW#endifCEmployees:CEmployees()CEmployees:CEmployees()Emp_Id = 0;Emp_Name = ;Sex = ;Nationality = ;Birth = ;Political_Party = ;Culture_Level = ;Marital_Condition = ;Family_Place = ;Id_Card = ;BadgeId = ;Office_phone = ;Mobile = ;Files_Keep_Org = ;Hukou = ;HireDate = ;Dep_Id = 0;Position = ;Title = ;State = 0;UpperId = 0;Contract_Duration = ;Memo = ;Fillin_Person = ;Fillin_Time = ;int CEmployees:GetEmp_Id()return Emp_Id;void CEmployees:SetEmp_Id(int iEmp_Id)Emp_Id = iEmp_Id;CString CEmployees:GetEmp_Name()return Emp_Name;void CEmployees:SetEmp_Name(CString cEmp_Name)Emp_Name = cEmp_Name;CString CEmployees:GetSex()return Sex;void CEmployees:SetSex(CString cSex)Sex = cSex;CString CEmployees:GetNationality()return Nationality;void CEmployees:SetNationality(CString cNationality)Nationality = cNationality;CString CEmployees:GetBirth()return Birth;void CEmployees:SetBirth(CString cBirth)Birth = cBirth;CString CEmployees:GetPolitical_Party()return Political_Party;void CEmployees:SetPolitical_Party(CString cParty)Political_Party = cParty;CString CEmployees:GetCulture_Level()return Culture_Level;void CEmployees:SetCulture_Level(CString cLevel)Culture_Level = cLevel;CString CEmployees:GetMarital_Condition()return Marital_Condition;void CEmployees:SetMarital_Condition(CString cCondition)Marital_Condition = cCondition;CString CEmployees:GetFamily_Place()return Family_Place;void CEmployees:SetFamily_Place(CString cPlace)Family_Place = cPlace;CString CEmployees:GetId_Card()return Id_Card;void CEmployees:SetId_Card(CString cCard)Id_Card = cCard;CString CEmployees:GetBadgeId()return BadgeId;void CEmployees:SetBadgeId(CString cBadgeId)BadgeId = cBadgeId;CString CEmployees:GetOffice_phone()return Office_phone;void CEmployees:SetOffice_phone(CString cOffice)Office_phone = cOffice;CString CEmployees:GetMobile()return Mobile;void CEmployees:SetMobile(CString cMobile)Mobile = cMobile;CString CEmployees:GetFiles_Keep_Org()return Files_Keep_Org;void CEmployees:SetFiles_Keep_Org(CString cOrg)Files_Keep_Org = cOrg;CString CEmployees:GetHukou()return Hukou;void CEmployees:SetHukou(CString cHukou)Hukou = cHukou;CString CEmployees:GetHireDate()return HireDate;void CEmployees:SetHireDate(CString cHireDate)HireDate = cHireDate;int CEmployees:GetDep_Id()return Dep_Id;void CEmployees:SetDep_Id(int iDep_Id)Dep_Id = iDep_Id;CString CEmployees:GetPosition()return Position;void CEmployees:SetPosition(CString cPosition)Position = cPosition;CString CEmployees:GetTitle()return Title;void CEmployees:SetTitle(CString cTitle)Title = cTitle;int CEmployees:GetState()return State;void CEmployees:SetState(int iState)State = iState;int CEmployees:GetUpperId()return UpperId;void CEmployees:SetUpperId(int iUpperId)UpperId = iUpperId;CString CEmployees:GetContract_Duration()return Contract_Duration;void CEmployees:SetContract_Duration(CString cDuration)Contract_Duration = cDuration;CString CEmployees:GetMemo()return Memo;void CEmployees:SetMemo(CString cMemo)Memo = cMemo;CStri

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论