From 85c867db36989f6ec7fe3962fad72665bc97d2ed Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期二, 16 十二月 2025 14:38:23 +0800
Subject: [PATCH] 相关调整1

---
 fzzy-igdss-web/src/main/resources/static/img/web/security/qh.png                      |    0 
 fzzy-igdss-web/src/main/resources/static/img/deptImg.jpg                              |    0 
 fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/security/SecurityController.java |   73 +++++------------
 fzzy-igdss-web/src/main/resources/templates/security/video-list-dept.html             |   13 +++
 fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js                  |   40 ++++++++++
 fzzy-igdss-web/src/main/resources/templates/group/index.html                          |    6 +
 fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java           |   32 +++++++
 fzzy-igdss-web/src/main/resources/templates/index-topnav.html                         |   30 +-----
 fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/SysIndexController.java          |    8 --
 fzzy-igdss-web/src/main/resources/templates/group/video.html                          |    6 +
 fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml                        |   19 ++++
 fzzy-igdss-web/src/main/resources/templates/group/gis.html                            |    6 +
 fzzy-igdss-web/src/main/resources/static/common/igds-common.js                        |    4 
 13 files changed, 145 insertions(+), 92 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml
index dbbd46e..b857adc 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutList.view.xml
@@ -159,7 +159,7 @@
       </PropertyDef>
       <PropertyDef name="deptId">
         <Property></Property>
-        <Property name="label">鎵�灞炲垎搴�</Property>
+        <Property name="label">鎵�鍦ㄥ簱鍖�</Property>
         <Property name="mapping">
           <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getAllData&quot;).getResult()}</Property>
           <Property name="keyProperty">id</Property>
@@ -628,12 +628,19 @@
           <Property name="align">center</Property>
           <Property name="width">150</Property>
         </DataColumn>
+        <DataColumn name="deptId">
+          <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = &quot;bold&quot;;&#xD;
+            arg.processDefault = true;</ClientEvent>
+          <Property name="property">deptId</Property>
+          <Property name="align">center</Property>
+          <Property name="width">250</Property>
+        </DataColumn>
         <DataColumn name="plateNum">
           <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = &quot;bold&quot;;&#xD;
 arg.processDefault = true;</ClientEvent>
           <Property name="property">plateNum</Property>
           <Property name="align">center</Property>
-          <Property name="width">130</Property>
+          <Property name="width">120</Property>
         </DataColumn>
         <DataColumn>
           <Property name="property">customerName</Property>
@@ -763,6 +770,12 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
+                <Property name="name">deptId</Property>
+                <Property name="property">deptId</Property>
+                <Property name="readOnly">true</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
                 <Property name="name">depotId</Property>
                 <Property name="property">depotId</Property>
                 <Property name="label">瑁呭嵏浠撳簱</Property>
@@ -823,7 +836,7 @@
                 <Property name="trigger">ddNotice</Property>
                 <Editor/>
               </AutoFormElement>
-              <AutoFormElement layoutConstraint="colSpan:2">
+              <AutoFormElement>
                 <Property name="name">noticeId</Property>
                 <Property name="property">noticeId</Property>
                 <Editor/>
diff --git a/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/SysIndexController.java b/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/SysIndexController.java
index 35ae58c..3b775eb 100644
--- a/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/SysIndexController.java
+++ b/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/SysIndexController.java
@@ -82,14 +82,6 @@
         mmap.put("user", user);
         mmap.put("sysName", FrameworkConfig.getName());
 
-        //鍒ゆ柇鏄惁鏄剧ず搴撳尯閫夋嫨寮圭獥
-        String showDeptList = "Y";
-        SysDept userDept = iSysDeptService.selectDeptById(user.getDeptId());
-        if (Constant.DEPT_TYPE_20.equals(userDept.getType())) {
-            showDeptList = "N";
-        }
-        mmap.put("showDeptList", showDeptList);
-
         ContextUtil.updateSubDept(user.getLoginName(), deptId);
         SysDept dept = iSysDeptService.selectDeptById(Long.valueOf(deptId));
         mmap.put("dept", dept);
diff --git a/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/security/SecurityController.java b/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/security/SecurityController.java
index 4e36fa2..05160e9 100644
--- a/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/security/SecurityController.java
+++ b/fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/security/SecurityController.java
@@ -10,7 +10,9 @@
 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;
 import com.fzzy.sys.manager.security.SecManager;
+import com.ruoyi.common.core.domain.entity.SysDept;
 import com.ruoyi.common.core.domain.entity.SysUser;
 import lombok.extern.slf4j.Slf4j;
 import com.ruoyi.common.utils.StringUtils;
@@ -39,17 +41,21 @@
     @Resource
     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
      */
     @RequestMapping("/video-dept")
     public String videoDept(@RequestParam(value = "type", required = false) String type,
-                              ModelMap view) {
+                            @RequestParam(value = "deptId", required = false) String deptId,
+                            ModelMap view) {
 
         if (StringUtils.isBlank(type)) {
             type = "2";
@@ -58,11 +64,24 @@
         SysUser user = ContextUtil.getLoginUser();
         view.put(Constant.MODEL_KEY_LOGIN_USER, user);
 
-        String deptId = ContextUtil.subDeptId(user);
+        if(StringUtils.isBlank(deptId)){
+            deptId = ContextUtil.subDeptId(user);
+        }
         view.put("deptId", deptId);
 
         List<Camera> listCamera = secManager.listCamera(deptId, user.getCompanyId());
         view.put("listCamera", listCamera);
+
+        SysDept sysDept = commonManager.getDeptById(deptId);
+        view.put("dept", sysDept);
+        view.put("type", type);
+
+        //鍒ゆ柇鏄惁鏄剧ず搴撳尯閫夋嫨寮圭獥
+        String showDeptList = "Y";
+        if (Constant.USER_TYPE_30.equals(user.getUserType())) {
+            showDeptList = "N";
+        }
+        view.put("showDeptList", showDeptList);
 
         //榛樿鐩戞帶鍒楄〃椤甸潰
         String viewUrl = prefix + "/video-list-dept";
@@ -70,53 +89,7 @@
         if("1".equals(type)){
             viewUrl = prefix + "/video-aerial-dept";
 
-            //楦熺灠鍥�
-            Dept dept = deptService.getDeptById(deptId);
-            if (dept != null && StringUtils.isNotEmpty(dept.getImgPath())) {
-                view.put("backgroundImg", dept.getImgPath());
-            }
-        }
-        if("2".equals(type)){
-            viewUrl = prefix + "/video-list-dept";
-        }
-
-        return viewUrl;
-    }
-
-    /**
-     * 鐩戠瀹夐槻椤甸潰
-     * @param type 1.琛ㄧず2.5D楦熺灠鍥鹃〉闈㈤瑙堬紱2.琛ㄧず鍒楄〃棰勮椤甸潰
-     * @param view
-     * @return
-     */
-    @RequestMapping("/video-super")
-    public String videoSuper(@RequestParam(value = "type", required = false) String type,
-                             ModelMap view) {
-
-        if (StringUtils.isBlank(type)) {
-            type = "2";
-        }
-
-        SysUser user = ContextUtil.getLoginUser();
-        view.put(Constant.MODEL_KEY_LOGIN_USER, user);
-
-        String deptId = ContextUtil.subDeptId(user);
-        view.put("deptId", deptId);
-
-        List<Camera> listCamera = secManager.listCamera(deptId, user.getCompanyId());
-        view.put("listCamera", listCamera);
-
-        //榛樿鐩戞帶鍒楄〃椤甸潰
-        String viewUrl = prefix + "/video-list-dept";
-
-        if("1".equals(type)){
-            viewUrl = prefix + "/video-aerial-dept";
-
-            //楦熺灠鍥�
-            Dept dept = deptService.getDeptById(deptId);
-            if (dept != null && StringUtils.isNotEmpty(dept.getImgPath())) {
-                view.put("backgroundImg", dept.getImgPath());
-            }
+            view.put("backgroundImg", commonManager.getDeptImg(deptId));
         }
         if("2".equals(type)){
             viewUrl = prefix + "/video-list-dept";
diff --git a/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java b/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
index 680627d..54acd57 100644
--- a/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
+++ b/fzzy-igdss-web/src/main/java/com/fzzy/sys/manager/common/CommonManager.java
@@ -7,9 +7,11 @@
 import com.fzzy.igds.service.DepotService;
 import com.fzzy.igds.service.DicService;
 import com.fzzy.igds.utils.ContextUtil;
+import com.ruoyi.common.core.domain.entity.SysDept;
 import com.ruoyi.common.core.domain.entity.SysDictData;
 import com.ruoyi.common.core.domain.entity.SysUser;
 import com.ruoyi.common.utils.StringUtils;
+import com.ruoyi.system.service.ISysDeptService;
 import com.ruoyi.system.service.ISysUserService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -34,8 +36,36 @@
     @Resource
     private CoreDeptService coreDeptService;
 
-    @Autowired
+    @Resource
     private ISysUserService userService;
+    @Resource
+    private ISysDeptService iSysDeptService;
+
+    /**
+     * 鏍规嵁搴撳尯缂栫爜鑾峰彇搴撳尯涓嬫墍鏈変粨搴撳垪琛�
+     *
+     * @param id
+     * @return
+     */
+    public SysDept getDeptById(String id) {
+
+        return iSysDeptService.selectDeptById(Long.valueOf(id));
+    }
+
+    /**
+     * 鑾峰彇搴撳尯楦熺灠鍥�
+     * @param deptId
+     * @return
+     */
+    public String getDeptImg(String deptId) {
+
+        String imgPath = "/img/deptImg.jpg";   //榛樿鍥�
+        Dept dept = coreDeptService.getDeptById(deptId);
+        if(null !=  dept && StringUtils.isNotEmpty(dept.getImgPath())){
+            imgPath =  dept.getImgPath();
+        }
+        return imgPath;
+    }
 
     /**
      * 鏍规嵁瀛楀吀绫诲瀷鑾峰彇瀛楀吀鍒楄〃
diff --git a/fzzy-igdss-web/src/main/resources/static/common/igds-common.js b/fzzy-igdss-web/src/main/resources/static/common/igds-common.js
index 882a8db..206f4d7 100644
--- a/fzzy-igdss-web/src/main/resources/static/common/igds-common.js
+++ b/fzzy-igdss-web/src/main/resources/static/common/igds-common.js
@@ -232,7 +232,9 @@
     if ("video" == pageTag) {
         url = "/group/video";
     }
-
+    if ("sys" == pageTag) {
+        url = "/index?deptId=" + deptId;
+    }
     window.location.href = url;
 }
 
diff --git a/fzzy-igdss-web/src/main/resources/static/img/deptImg.jpg b/fzzy-igdss-web/src/main/resources/static/img/deptImg.jpg
new file mode 100644
index 0000000..c9a18e6
--- /dev/null
+++ b/fzzy-igdss-web/src/main/resources/static/img/deptImg.jpg
Binary files differ
diff --git a/fzzy-igdss-web/src/main/resources/static/img/web/security/qh.png b/fzzy-igdss-web/src/main/resources/static/img/web/security/qh.png
new file mode 100644
index 0000000..780cf89
--- /dev/null
+++ b/fzzy-igdss-web/src/main/resources/static/img/web/security/qh.png
Binary files differ
diff --git a/fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js b/fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js
index 2ad4c1b..784ca79 100644
--- a/fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js
+++ b/fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js
@@ -50,10 +50,50 @@
         table = layui.table;
     });
 
+    showDeptSelect();
+
     //鍒濆鍖栨覆鏌撴挱鏀惧垪琛�
     renderList();
 });
 
+
+/**
+ * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
+ */
+function showDeptSelect() {
+    if(showDeptList === "N"){
+        $("#deptList").css('display', 'none');
+    }
+    if(showDeptList === "Y"){
+        $("#deptList").css('display', 'block');
+    }
+}
+
+/**
+ * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
+ */
+function showDepotAreaSelect() {
+    layer.open({
+        type: 2,
+        title: '閫夋嫨搴撳尯',
+        area: ['400px', '650px'],
+        offset: ['50px', '170px'],
+        shade: 0,
+        content: "/com.fzzy.igds.SelectDept.d",
+        closeBtn: 1
+    });
+}
+
+/**
+ *
+ * @param id
+ * @returns {boolean}
+ */
+function onDeptAreaChange(id) {
+    window.location.href = "./security/video-dept?type=" + type + "&deptId=" + id;
+    return true;
+}
+
 /**
  * 娓叉煋鐩戞帶鍒楄〃
  */
diff --git a/fzzy-igdss-web/src/main/resources/templates/group/gis.html b/fzzy-igdss-web/src/main/resources/templates/group/gis.html
index a8f6e2b..6db5a86 100644
--- a/fzzy-igdss-web/src/main/resources/templates/group/gis.html
+++ b/fzzy-igdss-web/src/main/resources/templates/group/gis.html
@@ -56,12 +56,14 @@
 
 	<div class="container">
 		<div class="i-top">
-			<h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鐪佺骇鍌ㄥ绮洃绠″钩鍙�</span></h1>
+			<h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鏅烘収绮簱璐ㄦ娂鐩戠澶у睆</span></h1>
+			<p ondblclick="changeScreen()" class="i-top-p" id="sloganText">鏂扮枂浼婂畞鍐滄潙鍟嗕笟閾惰鑲′唤鏈夐檺鍏徃鈥斺�旀櫤鎱х洃绠″钩鍙�</p>
 			<div class="i-navBar">
 				<a href="javaScript:;" onclick="changePage('index')" class="i-nav3">棣栭〉</a>
 				<a href="javaScript:;" onclick="changePage('gis')" class="i-nav4 active">GIS鐩戠</a>
 				<a href="javaScript:;" onclick="changePage('video')" class="i-nav5">瑙嗛鐩戠</a>
-				<a href="javaScript:;" onclick="changePage('logout')" class="i-nav6">閫�鍑虹郴缁�</a>
+				<a href="javaScript:;" onclick="changePage('sys')" class="i-nav6">鍚庡彴绠$悊</a>
+				<a href="javaScript:;" onclick="changePage('logout')" class="i-nav7">閫�鍑虹郴缁�</a>
 			</div>
 			<div class="date-time-module">
 				<span id="navBarTime"></span>
diff --git a/fzzy-igdss-web/src/main/resources/templates/group/index.html b/fzzy-igdss-web/src/main/resources/templates/group/index.html
index caee3ca..15d3014 100644
--- a/fzzy-igdss-web/src/main/resources/templates/group/index.html
+++ b/fzzy-igdss-web/src/main/resources/templates/group/index.html
@@ -23,12 +23,14 @@
 
 <div class="container">
     <div class="i-top">
-        <h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鏀跨瓥鎬у偍澶囩伯娌圭洃绠″钩鍙�</span></h1>
+        <h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鏅烘収绮簱璐ㄦ娂鐩戠澶у睆</span></h1>
+        <p ondblclick="changeScreen()" class="i-top-p" id="sloganText">鏂扮枂浼婂畞鍐滄潙鍟嗕笟閾惰鑲′唤鏈夐檺鍏徃鈥斺�旀櫤鎱х洃绠″钩鍙�</p>
         <div class="i-navBar">
             <a href="javaScript:;" onclick="changePage('index')" class="i-nav3 active">棣栭〉</a>
             <a href="javaScript:;" onclick="changePage('gis')" class="i-nav4">GIS鐩戠</a>
             <a href="javaScript:;" onclick="changePage('video')" class="i-nav5">瑙嗛鐩戠</a>
-            <a href="javaScript:;" onclick="changePage('logout')" class="i-nav6">閫�鍑虹郴缁�</a>
+            <a href="javaScript:;" onclick="changePage('sys')" class="i-nav6">鍚庡彴绠$悊</a>
+            <a href="javaScript:;" onclick="changePage('logout')" class="i-nav7">閫�鍑虹郴缁�</a>
         </div>
         <div class="date-time-module">
             <span id="navBarTime"></span>
diff --git a/fzzy-igdss-web/src/main/resources/templates/group/video.html b/fzzy-igdss-web/src/main/resources/templates/group/video.html
index 2398719..f85edf6 100644
--- a/fzzy-igdss-web/src/main/resources/templates/group/video.html
+++ b/fzzy-igdss-web/src/main/resources/templates/group/video.html
@@ -135,12 +135,14 @@
 
 <div class="container row-main">
     <div class="i-top">
-        <h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鏀跨瓥鎬у偍澶囩伯娌圭洃绠″钩鍙�</span></h1>
+        <h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">鏅烘収绮簱璐ㄦ娂鐩戠澶у睆</span></h1>
+        <p ondblclick="changeScreen()" class="i-top-p" id="sloganText">鏂扮枂浼婂畞鍐滄潙鍟嗕笟閾惰鑲′唤鏈夐檺鍏徃鈥斺�旀櫤鎱х洃绠″钩鍙�</p>
         <div class="i-navBar">
             <a href="javaScript:;" onclick="changePage('index')" class="i-nav3">棣栭〉</a>
             <a href="javaScript:;" onclick="changePage('gis')" class="i-nav4">GIS鐩戠</a>
             <a href="javaScript:;" onclick="changePage('video')" class="i-nav5 active">瑙嗛鐩戠</a>
-            <a href="javaScript:;" onclick="changePage('logout')" class="i-nav6">閫�鍑虹郴缁�</a>
+            <a href="javaScript:;" onclick="changePage('sys')" class="i-nav6">鍚庡彴绠$悊</a>
+            <a href="javaScript:;" onclick="changePage('logout')" class="i-nav7">閫�鍑虹郴缁�</a>
         </div>
         <div class="date-time-module">
             <span id="navBarTime"></span>
diff --git a/fzzy-igdss-web/src/main/resources/templates/index-topnav.html b/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
index e5ba74e..9fc2d76 100644
--- a/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
+++ b/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
@@ -271,12 +271,14 @@
                 </div>
                 <!-- 鍙充晶鏍� -->
                 <ul class="nav navbar-top-links navbar-right welcome-message">
-                    <li style="background-color: #03703a;"><a onclick="showDepotAreaSelect()" data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="搴撳尯閫夋嫨"
-                           href="javascript:;"><i class="fa fa-refresh"></i> [[${#strings.defaultString(dept.deptName,
+                    <li style="background-color: #03703a;"><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" th:title="${dept.deptName}"
+                           href="javascript:;"><i class="fa fa-map-o"></i> [[${#strings.defaultString(dept.deptName,
                         '-')}]]</a></li>
-                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="寮�鍙戞枃妗�"
-                           href="https://fzzygf-company.feishu.cn/wiki/ZgS5wQuyMi2uDKk9xN6cx8jlnuf" target="_blank"><i
-                            class="fa fa-question-circle"></i> 鏂囨。</a></li>
+<!--                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="寮�鍙戞枃妗�"-->
+<!--                           href="https://fzzygf-company.feishu.cn/wiki/ZgS5wQuyMi2uDKk9xN6cx8jlnuf" target="_blank"><i-->
+<!--                            class="fa fa-question-circle"></i> 鏂囨。</a></li>-->
+                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="澶у睆"
+                           href="/index-gateway" id="index-gateway"><i class="fa fa-laptop"></i> 澶у睆</a></li>
                     <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="閿佸畾灞忓箷"
                            href="javascript:;" id="lockScreen"><i class="fa fa-lock"></i> 閿佸睆</a></li>
                     <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="鍏ㄥ睆鏄剧ず"
@@ -399,24 +401,6 @@
 		area : ["530px", "386px"],
 		content : [ctx + "system/switchSkin", 'no']
 	})
-}
-
-/**
- * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
- */
-function showDepotAreaSelect() {
-    if(showDeptList === "N"){
-        return false;
-    }
-    layer.open({
-        type: 2,
-        title: '閫夋嫨搴撳尯',
-        area: ['400px', '650px'],
-        offset: ['50px', '1350px'],
-        shade: 0,
-        content: "com.fzzy.igds.SelectDept.d",
-        closeBtn: 1
-    });
 }
 
 /**
diff --git a/fzzy-igdss-web/src/main/resources/templates/security/video-list-dept.html b/fzzy-igdss-web/src/main/resources/templates/security/video-list-dept.html
index 72e6de3..d91d35c 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/video-list-dept.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/video-list-dept.html
@@ -223,6 +223,13 @@
             width: 100%;
             height: 100%;
         }
+        .dept{
+            margin-left: 150px;
+            font-size: 16px;
+            color: #FFFFFF;
+            width: 400px;
+            padding-top: 8px;
+        }
     </style>
 </head>
 
@@ -238,6 +245,10 @@
                             <h3>
                                 <i></i>瑙嗛瀹炴椂棰勮
                             </h3>
+                            <div id="deptList" class="dept" onclick="showDepotAreaSelect()">
+                                <img style="width: 18px" th:src="@{/img/web/security/qh.png}"/>
+                                [[${#strings.defaultString(dept.deptName, '-')}]]
+                            </div>
                             <div class="fenping_icon">
                                 <img onclick="fenping(1)" id="f_1" style="width: 30px" th:src="@{/img/web/group/fp_1_active.png}"/>
                                 <img onclick="fenping(4)" id="f_4" style="width: 30px" th:src="@{/img/web/group/fp_4.png}"/>
@@ -419,6 +430,8 @@
 
 <script th:inline="javascript">
     var listCamera = [[${listCamera}]];
+    var showDeptList = [[${showDeptList}]];
+    var type = [[${type}]];
 </script>
 <script th:src="@{/js/jquery.min.js}"></script>
 <script th:src="@{/ajax/libs/layui/layui.js}"></script>

--
Gitblit v1.9.3