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/policeAlarmRecords.vue |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/src/views/publicSecurity/policeAlarmRecords.vue b/src/views/publicSecurity/policeAlarmRecords.vue
index 73c8014..d36b1e7 100644
--- a/src/views/publicSecurity/policeAlarmRecords.vue
+++ b/src/views/publicSecurity/policeAlarmRecords.vue
@@ -240,14 +240,34 @@
               span: 24,
               overHidden: true,
             },
+            // {
+            //   label: "派出所名称",
+            //   prop: "pcsName",
+            //   span: 24,
+            //   row: true,
+            //   searchSpan: 4,
+            //   search: true,
+            //   align: 'center'
+            // },
+
             {
+              width: 110,
               label: "派出所名称",
-              prop: "pcsName",
-              span: 24,
-              row: true,
-              searchSpan: 4,
               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",
+              }, ],
             },
 
             {

--
Gitblit v1.9.3