基于SpringBoot+vue的教师人事档案管理系统设计与实现

博主介绍:  

大家好,我是一名在Java圈混迹十余年的程序员,精通Java编程语言,同时也熟练掌握微信小程序、Python和Android等技术,能够为大家提供全方位的技术支持和交流。
我擅长在JavaWeb、SSH、SSM、SpringBoot等框架下进行项目开发,具有丰富的项目经验和开发技能。我的代码风格规范、优美、易读性强,同时也注重性能优化、代码重构等方面的实践和经验总结。
我有丰富的成品Java毕设项目经验,能够为学生提供各类个性化的开题框架和实际运作方案。同时我也提供相关的学习资料、程序开发、技术解答、代码讲解、文档报告等专业服务。

🍅文末获取源码联系🍅

👇🏻 精彩专栏推荐订阅👇🏻 不然下次找不到哟

Java项目精品实战案例(300套)

教师人事档案管理系统源码下载地址:

https://download.csdn.net/download/weixin_54828627/87695277

一、效果演示

基于springboot+vue的教师人事档案管理系统

二、前言介绍

教师人事档案管理系统理工作是一种繁琐的,务求准确迅速的信息检索工作。随着计算机信息技术的飞速发展,人类进入信息时代,社会的竞争越来越激烈,教师人事档案就越显示出其不可或缺性,成为学校一个非常重要的模块。教师人事档案系统主要是用于对所有教师的基本资料进行录入、个人档案信息、奖惩信息信息、档案变动信息、培训学校信息、培训报名信息、课程信息变更等等管理。使用教师人事管理系统便于学校领导更全面的掌握每个教师的基本信息。

三、主要技术

技术名作用
SpringBoot后端框架
Vue前端框架
MySQL数据库

四、系统设计(部分)

4.1、主要功能模块设计         

管理员主要功能包括:首页、个人中心、教师管理、个人档案管理、奖惩信息管理、档案变动管理、培训学校管理、培训报名管理、课程信息管理、论坛管理、系统管理

 教师后台:首页、个人中心、个人档案管理、奖惩信息管理、档案变动管理、培训报名管理、课程信息管理、我的收藏管理

4.2、系统登录设计

五、运行截图

5.1、前台功能模块

5.1.1、前台首页

图5-1网站首页界面图

5.1.2、登录

图5-3登录界面图

5.1.3、个人中心

图5-4个人中心界面图

5.1.4、培训信息

图5-5培训信息界面图

5.1.5、论坛信息

图5-6论坛信息界面图

5.2、管理员功能模块

5.2.1、管理员登录

图5-7管理员登录界面图

管理员登录进入教师人事档案管理系统可以查看首页、个人中心、教师管理、个人档案管理、奖惩信息管理、档案变动管理、培训信息管理、、培训报名管理、课程信息管理、论坛管理、系统管理等内容,如图5-8所示。

图5-8管理员功能界面图

5.2.2、个人信息

图5-9个人信息界面图

5.2.3、教师管理

图5-10教师管理界面图

5.2.4、奖惩信息管理

图5-11奖惩信息管理界面图

5.2.5、培训信息管理

图5-12培训信息管理界面图

5.2.6、系统管理

图5-13系统管理界面图

5.3、教师后台功能模块

5.3.1、教师登录

图5-14教师登录界面图

教师登录进入教师人事档案管理系统可以查看首页、个人中心、个人档案管理、奖惩信息管理、档案变动管理、培训报名管理、课程信息管理、我的收藏管理等内容,如图5-15所示。

图5-15教师功能界面图

5.3.2、个人档案管理

图5-16个人档案管理界面图 

5.3.3、培训报名管理

图5-17培训报名理界面图

5.3.4、我的收藏管理

图5-18我的收藏管理

六、数据库设计(部分)

教师信息;教师工号、密码、教师姓名、性别、照片、联系电话、邮箱结构图,如图4-5所示:

图4-5 教师信息实体结构图

培训信息管理:培训时间、培训地点、授课讲师、天数、发表日期、培训目标、培训内容实体属性图,如图4-6所示:

图4-6培训信息管理实体属性图

七、代码参考

package com.controller;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.lang3.StringUtils;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ResourceUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.annotation.IgnoreAuth;
import com.baidu.aip.face.AipFace;
import com.baidu.aip.face.MatchRequest;
import com.baidu.aip.util.Base64Util;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.entity.ConfigEntity;
import com.service.CommonService;
import com.service.ConfigService;
import com.utils.BaiduUtil;
import com.utils.FileUtil;
import com.utils.R;

/**
 * 通用接口
 */
@RestController
public class CommonController{
	@Autowired
	private CommonService commonService;
	
	@Autowired
	private ConfigService configService;
	
	private static AipFace client = null;
	
	private static String BAIDU_DITU_AK = null;
	
	@RequestMapping("/location")
	public R location(String lng,String lat) {
		if(BAIDU_DITU_AK==null) {
			BAIDU_DITU_AK = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "baidu_ditu_ak")).getValue();
			if(BAIDU_DITU_AK==null) {
				return R.error("请在配置管理中正确配置baidu_ditu_ak");
			}
		}
		Map<String, String> map = BaiduUtil.getCityByLonLat(BAIDU_DITU_AK, lng, lat);
		return R.ok().put("data", map);
	}
	
	/**
	 * 人脸比对
	 * 
	 * @param face1 人脸1
	 * @param face2 人脸2
	 * @return
	 */
	@RequestMapping("/matchFace")
	public R matchFace(String face1, String face2) {
		if(client==null) {
			/*String AppID = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "AppID")).getValue();*/
			String APIKey = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "APIKey")).getValue();
			String SecretKey = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "SecretKey")).getValue();
			String token = BaiduUtil.getAuth(APIKey, SecretKey);
			if(token==null) {
				return R.error("请在配置管理中正确配置APIKey和SecretKey");
			}
			client = new AipFace(null, APIKey, SecretKey);
			client.setConnectionTimeoutInMillis(2000);
			client.setSocketTimeoutInMillis(60000);
		}
		JSONObject res = null;
		try {
			File file1 = new File(ResourceUtils.getFile("classpath:static/upload").getAbsolutePath()+"/"+face1);
			File file2 = new File(ResourceUtils.getFile("classpath:static/upload").getAbsolutePath()+"/"+face2);
			String img1 = Base64Util.encode(FileUtil.FileToByte(file1));
			String img2 = Base64Util.encode(FileUtil.FileToByte(file2));
			MatchRequest req1 = new MatchRequest(img1, "BASE64");
			MatchRequest req2 = new MatchRequest(img2, "BASE64");
			ArrayList<MatchRequest> requests = new ArrayList<MatchRequest>();
			requests.add(req1);
			requests.add(req2);
			res = client.match(requests);
			System.out.println(res.get("result"));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
			return R.error("文件不存在");
		} catch (IOException e) {
			e.printStackTrace();
		} 
		return R.ok().put("data", com.alibaba.fastjson.JSONObject.parse(res.get("result").toString()));
	}
    
	/**
	 * 获取table表中的column列表(联动接口)
	 * @param table
	 * @param column
	 * @return
	 */
	@IgnoreAuth
	@RequestMapping("/option/{tableName}/{columnName}")
	public R getOption(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName,String level,String parent) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("table", tableName);
		params.put("column", columnName);
		if(StringUtils.isNotBlank(level)) {
			params.put("level", level);
		}
		if(StringUtils.isNotBlank(parent)) {
			params.put("parent", parent);
		}
		List<String> data = commonService.getOption(params);
		return R.ok().put("data", data);
	}
	
	/**
	 * 根据table中的column获取单条记录
	 * @param table
	 * @param column
	 * @return
	 */
	@IgnoreAuth
	@RequestMapping("/follow/{tableName}/{columnName}")
	public R getFollowByOption(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName, @RequestParam String columnValue) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("table", tableName);
		params.put("column", columnName);
		params.put("columnValue", columnValue);
		Map<String, Object> result = commonService.getFollowByOption(params);
		return R.ok().put("data", result);
	}
	
	/**
	 * 修改table表的sfsh状态
	 * @param table
	 * @param map
	 * @return
	 */
	@RequestMapping("/sh/{tableName}")
	public R sh(@PathVariable("tableName") String tableName, @RequestBody Map<String, Object> map) {
		map.put("table", tableName);
		commonService.sh(map);
		return R.ok();
	}
	
	/**
	 * 获取需要提醒的记录数
	 * @param tableName
	 * @param columnName
	 * @param type 1:数字 2:日期
	 * @param map
	 * @return
	 */
	@IgnoreAuth
	@RequestMapping("/remind/{tableName}/{columnName}/{type}")
	public R remindCount(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("table", tableName);
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		int count = commonService.remindCount(map);
		return R.ok().put("count", count);
	}
	
	/**
	 * 单列求和
	 */
	@IgnoreAuth
	@RequestMapping("/cal/{tableName}/{columnName}")
	public R cal(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("table", tableName);
		params.put("column", columnName);
		Map<String, Object> result = commonService.selectCal(params);
		return R.ok().put("data", result);
	}
	
	/**
	 * 分组统计
	 */
	@IgnoreAuth
	@RequestMapping("/group/{tableName}/{columnName}")
	public R group(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("table", tableName);
		params.put("column", columnName);
		List<Map<String, Object>> result = commonService.selectGroup(params);
		return R.ok().put("data", result);
	}
	
	/**
	 * (按值统计)
	 */
	@IgnoreAuth
	@RequestMapping("/value/{tableName}/{xColumnName}/{yColumnName}")
	public R value(@PathVariable("tableName") String tableName, @PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("table", tableName);
		params.put("xColumn", xColumnName);
		params.put("yColumn", yColumnName);
		List<Map<String, Object>> result = commonService.selectValue(params);
		return R.ok().put("data", result);
	}
	
}

八、技术交流

大家点赞、收藏、关注、评论啦 、查看文章结尾👇🏻获取联系方式👇🏻

精彩专栏推荐订阅:下方专栏👇🏻👇🏻👇🏻👇🏻

Java项目精品实战案例(300套)

​​​​

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
【权限说明】 1、本系统所有功能未经管理员授权不能使用 2、管理员为多人制,且级别相同,任一合法管理员均可对管理员帐号进行添加、删除及修改操作,请管理员妥善保管各自帐号,任何原因造成的资料丢失,明星工作室概不负责! 【功能说明】 1、教师业务档案添加 2、教师业务档案删除 3、教师业务档案修改 4、教师业务档案查找 5、教师业务档案输出 【注意事项】 1、本系统采用access+asp开发,系统要求:windows9X+pws win2000(或更高)+IIS、IE 4.0以上及相关打印设备 2、处于安全考虑,建议安装使用前,先修改数据库路径(默认为"tcadmin\tcmdb")及数据库名称,然后修改文件tcconn.asp相应路径设置 3、本系统所有日期格式均为:yyyy-mm-dd,例如:2004-03-28.请按此格式输入日期,否则日期数据拒绝存入数据库 4、档案输出文件为word(*.doc)格式。由于个人配置及环境不一,所以输出后建议用MS word稍作编辑 5、系统所有查找定位均支持模糊查找。例:输入关键词:"李",选择条件按 "姓名" 查找,则记录列表将显示所有姓名中含有"李"字的教师记录 6、教师业务档案输出时,建议先保存后编辑,以免给你造成不必要的麻烦 7、教师查询页面学院首页指向:tcadmin/user_search.asp 8、教师业务档案管理系统登陆页面学院首页调用:login.htm ,调用方法:首页插入代码:
基于SpringBootVue的微人事管理系统设计实现如下: 1. 架构设计系统采用前后端分离的架构,前端使用Vue框架,后端使用SpringBoot框架。前后端之间通过RESTful API进行数据交互。 2. 功能设计系统包含员工管理、部门管理、职位管理、薪资管理、请假管理等基本功能。员工管理包括员工信息的增删改查,部门管理包括部门的添加和删除,职位管理包括职位的添加和删除,薪资管理包括工资的计算和发放,请假管理包括请假申请和审批等。 3. 数据库设计系统采用MySQL数据库存储数据,设计了员工表、部门表、职位表、工资表和请假表等几个核心表。具体表结构根据具体需求设计。 4. 后端实现:后端使用SpringBoot框架进行开发,通过使用Spring Data JPA进行数据库访问,使用Spring Security进行权限控制。后端实现了RESTful API接口,提供给前端进行数据交互。 5. 前端实现:前端使用Vue框架进行开发,使用Vue Router进行路由管理,使用Element UI进行页面布局和组件使用。前端通过发送Http请求与后端进行交互,展示数据、进行操作等。 6. 部署与测试:系统可以部署在云服务器上,使用Nginx进行反向代理,保证系统的稳定性和安全性。使用Postman进行接口测试,保证系统的正确性和健壮性。 通过基于SpringBootVue的微人事管理系统设计实现,可以实现对员工的全生命周期管理,提高人力资源管理的效率和准确性。系统具有良好的扩展性和灵活性,可以根据需求进行功能拓展和定制。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

出世&入世

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值