From 938afd671ee3ba97ec827b59040d1543d915abc2 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 16 Jul 2024 16:59:29 +0800
Subject: [PATCH] 派出所搜索调整为选项

---
 src/views/publicSecurity/positionManage/fileManage.vue |   33 +++++++++++++++++++++++++++------
 1 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/src/views/publicSecurity/positionManage/fileManage.vue b/src/views/publicSecurity/positionManage/fileManage.vue
index d844f20..a865fd2 100644
--- a/src/views/publicSecurity/positionManage/fileManage.vue
+++ b/src/views/publicSecurity/positionManage/fileManage.vue
@@ -127,15 +127,36 @@
               align: 'center',
               slot: true,
               width: 120
-            }, {
+            },
+            // {
+            //   label: "辖区派出所",
+            //   prop: "deptName",
+            //   align: 'center',
+            //   search: true,
+            //   searchSpan: 4,
+            //   width: 120,
+            //   searchLabelWidth: 96
+            // },
+            {
+              searchLabelWidth: 90,
               label: "辖区派出所",
-              prop: "deptName",
-              align: 'center',
               search: true,
               searchSpan: 4,
-              width: 120,
-              searchLabelWidth: 96
-            }, {
+              // parent: false,
+              prop: "deptName",
+              type: "tree",
+              dicUrl: "/api/blade-system/dept/treeByDept?deptId=1727974759086493697",
+              props: {
+                label: "title",
+                value: "title"
+              },
+              rules: [{
+                required: true,
+                message: "请选择辖区派出所",
+                trigger: "blur",
+              }, ],
+            },
+            {
               label: "地区",
               prop: "townStreetName",
               align: 'center',

--
Gitblit v1.9.3