admin管理员组

文章数量:1532493

用户功能设计:用户能够注册、登录系统、退出系统、搜索实验室设备、预约使用实验室设备、查看实验室设备。 2. 设备分类功能设计:首页能够根据设备的不同种类对其进行分类。 3. 设备显示功能设计:首页可以正常显示后台添加的设备信息。 4. 设备预约设计:用户可以查看并且能取消预约的设备。

管理端功能: 1. 管理员功能设计:管理员能够登录后台管理端、退出管理端系统。 2. 设备分类管理功能设计:管理员可以按照需求对设备进行两次分类。 设备添加修改功能设计:管理员能够根据需求添加新的设备到实验室设备管理系统中,同时管理员也能查询已经添加的设备,管理员同时能选中添加的设备

根据需求分析、用户的要求以及为完善系统而添加的一些功能,可以得到系统的模块层次图。本系统管理员子系统的功能结构图

代码上传到github中,下载地址Github  


图3.1设备管理系统管理员子系统

普通用户子系统的功能模块如图3.2所示:

图3.2用户子系统功能模块图

图4-1 登录界面

图4-2 管理员系统主界面

图4-3用户管理页面

图4-4部门管理页面

图4-5员工管理页面

图4-6 员工信息添加

图4-7设备类别管理页面

图4-8 设备信息列表

图4-9 设备信息录入模块

图4-10 设备维修列表

图4-11 添加设备维修记录模块

图4-12 设备报废列表

图4-13 添加设备报废记录模块

图4-14 设备统计模块


4.3.11 普通用户子系统
普通用户子系统可以完成业务处理的操作,具有操作权限的模块包括:设备类别管理模块,设备信息管理模块,设备维修管理模块,设备报废管理模块,设备统计。普通用户子系统的页面设计如图4-15所示:

图4-15 普通用户子系统

开发的代码

import com.zhihao.tmall.constant.PageParam;
import com.zhihao.tmall.pojo.Category;
import com.zhihao.tmall.pojo.Order;
import com.zhihao.tmall.pojo.OrderItem;
import com.zhihao.tmall.pojo.Product;
import com.zhihao.tmall.pojo.PropertyValue;
import com.zhihao.tmall.pojo.Review;
import com.zhihao.tmall.pojo.User;
import com.zhihao.tmall.service.*;
import com.zhihao.tmall.util.Page;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import org.springframework.web.util.HtmlUtils;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpSession;

/**
* 处理前端用户请求的控制器
* 有@ResponseBody注解的方法返回的是json数据,一般用于异步加载数据
* 其他方法返回的是String类型的视图名称
* @author zzh
* 2018年8月21日
*/
@Controller
@RequestMapping("")
public class ForeController {
 
 // 自动注入service层

本文标签: 管理系统设备JavaWebJavaSSM