| | |
| | | import com.fzzy.igds.constant.Constant; |
| | | import com.fzzy.igds.data.PageResponse; |
| | | import com.fzzy.igds.domain.Camera; |
| | | import com.fzzy.igds.domain.Dept; |
| | | import com.fzzy.igds.service.CoreDeptService; |
| | | import com.fzzy.igds.utils.ContextUtil; |
| | | import com.fzzy.igds.utils.SystemUtil; |
| | | import com.fzzy.sys.manager.common.CommonManager; |
| | |
| | | private SecManager secManager; |
| | | @Resource |
| | | private CommonManager commonManager; |
| | | @Resource |
| | | private CoreDeptService deptService; |
| | | |
| | | /*------------------安防管理------------------*/ |
| | | |
| | | /** |
| | | * 库区安防页面 |
| | | * @param type 1.表示2.5D鸟瞰图页面预览;2.表示列表预览页面 |
| | | * |
| | | * @param type 1.表示2.5D鸟瞰图页面预览;2.表示列表预览页面 |
| | | * @param deptId |
| | | * @param view |
| | | * @return |
| | |
| | | SysUser user = ContextUtil.getLoginUser(); |
| | | view.put(Constant.MODEL_KEY_LOGIN_USER, user); |
| | | |
| | | if(StringUtils.isBlank(deptId)){ |
| | | if (StringUtils.isBlank(deptId)) { |
| | | deptId = ContextUtil.subDeptId(user); |
| | | } |
| | | view.put("deptId", deptId); |
| | |
| | | //默认监控列表页面 |
| | | String viewUrl = prefix + "/video-list-dept"; |
| | | |
| | | if("1".equals(type)){ |
| | | if ("1".equals(type)) { |
| | | viewUrl = prefix + "/video-aerial-dept"; |
| | | |
| | | view.put("backgroundImg", commonManager.getDeptImg(deptId)); |
| | | } |
| | | if("2".equals(type)){ |
| | | if ("2".equals(type)) { |
| | | viewUrl = prefix + "/video-list-dept"; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | /*------------------数量检测------------------*/ |
| | | |
| | | /** |
| | | * 首页总览 |