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

diff --git a/src/views/publicSecurity/ninePlaceManage/archivesManage.vue b/src/views/publicSecurity/ninePlaceManage/archivesManage.vue
index 7fe2284..a9c1dc8 100644
--- a/src/views/publicSecurity/ninePlaceManage/archivesManage.vue
+++ b/src/views/publicSecurity/ninePlaceManage/archivesManage.vue
@@ -176,16 +176,36 @@
                 trigger: "blur",
               }, ],
             },
+            // {
+            //   label: "辖区派出所",
+            //   prop: "deptName",
+            //   align: 'center',
+            //   // search: true,
+            //   searchSpan: 4,
+            //   searchLabelWidth: 96,
+            //   width: 120,
+            //   searchPlaceholder: '请输入辖区派出所'
+            // },
             {
+              searchLabelWidth: 90,
               label: "辖区派出所",
-              prop: "deptName",
-              align: 'center',
               search: true,
               searchSpan: 4,
-              searchLabelWidth: 96,
-              width: 120,
-              searchPlaceholder: '请输入辖区派出所'
-            }, {
+              // 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: "policeName",
               align: 'center',

--
Gitblit v1.9.3