From 18127822f3cdb4778fb62ba0304bb8372dada516 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期三, 17 十二月 2025 09:11:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 fzzy-igdss-web/src/main/resources/static/security/video-list-dept.js |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

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;
+}
+
 /**
  * 娓叉煋鐩戞帶鍒楄〃
  */

--
Gitblit v1.9.3