/** 跳转新建会议列表页面 */ @RequestMapping(value = "newMeeting.html", method = RequestMethod.GET) public ModelAndView newMeeting( HttpServletRequest req, HttpServletResponse res, String mId, ModelMap model) { // mId为空新建,不为空修改 if (mId != null) { MeetingBo mb = meetingService.getMeeting(mId); model.put("mb", mb); } else { model.put("mb", new MeetingBo()); } return new ModelAndView("meetingManage/newMeeting", model); }
/** 跳转安排人员页面 */ @RequestMapping(value = "turnStaff.html", method = RequestMethod.GET) public ModelAndView meetingStaff( HttpServletRequest req, HttpServletResponse res, ModelMap model) { String mId = req.getParameter("mId"); // mId为空新建,不为空修改 if (mId != null) { MeetingBo mb = meetingService.getMeeting(mId); model.put("mb", mb); } else { model.put("mb", new MeetingBo()); } ; return new ModelAndView("meetingManage/meetingStaff"); }
/** 会议管理列表首页 */ @RequestMapping(value = "meetingManageList.html", method = RequestMethod.GET) public ModelAndView turnIndex( HttpServletRequest req, HttpServletResponse res, String mId, ModelMap model) { // mId为空新建,不为空修改 if (mId != null) { MeetingBo mb = meetingService.getMeeting(mId); model.put("mb", mb); } else { model.put("mb", new MeetingBo()); } UserInfoBo user = (UserInfoBo) req.getSession().getAttribute("user"); Map<String, String> con = new HashMap<String, String>(); con.put("uid", user.getUid()); OrganizationBo ob = userInfoService.getManageOrg(con); model.put("orgDepOriId", ob.getOrgId()); return new ModelAndView("meetingManage/meetingManageList", model); }
/** 跳转修改会议内容页面 */ @RequestMapping(value = "meetingInfo.html", method = RequestMethod.GET) public ModelAndView meetingInfo(HttpServletRequest req, HttpServletResponse res, ModelMap model) { String mId = req.getParameter("mId"); boolean bool = false; // mId为空新建,不为空修改 if (mId != null) { MeetingBo mb = meetingService.getMeeting(mId); model.put("mb", mb); if (mb.getStatus() == 1) // 发布不允许修改 { bool = true; } } else { model.put("mb", new MeetingBo()); } ; model.put("bool", bool); return new ModelAndView("meetingManage/meetingInfo", model); }