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/noExplosionManage.vue |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/src/views/publicSecurity/noExplosionManage.vue b/src/views/publicSecurity/noExplosionManage.vue
index bf839ab..c629f2e 100644
--- a/src/views/publicSecurity/noExplosionManage.vue
+++ b/src/views/publicSecurity/noExplosionManage.vue
@@ -304,17 +304,37 @@
               }, ],
             },
 
+            // {
+            //   label: "派出所",
+            //   prop: "pcsName",
+            //   span: 24,
+            //   row: true,
+            //   searchSpan: 4,
+            //   search: true,
+            //   align: 'center'
+            // },
             {
-              label: "派出所",
-              prop: "pcsName",
-              span: 24,
-              row: true,
-              searchSpan: 4,
+              searchLabelWidth: 90,
+              label: "辖区派出所",
               search: true,
-              align: 'center'
+              searchSpan: 4,
+              // parent: false,
+              prop: "pcsName",
+              type: "tree",
+              dicUrl: "/api/blade-system/dept/treeByDept?deptId=1727974759086493697",
+              props: {
+                label: "title",
+                value: "title"
+              },
+              rules: [{
+                required: true,
+                message: "请选择辖区派出所",
+                trigger: "blur",
+              }, ],
             },
 
             {
+              searchLabelWidth: 90,
               label: "场所负责人",
               prop: "principal",
               span: 24,

--
Gitblit v1.9.3