From e2c1995f2e135b8a7433b2bdbed2f7758261ace8 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 09 Jul 2024 15:20:39 +0800
Subject: [PATCH] 公安模块添加时间查询

---
 src/views/publicSecurity/ninePlaceManage/situationRectification.vue |   54 +++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 37 insertions(+), 17 deletions(-)

diff --git a/src/views/publicSecurity/ninePlaceManage/situationRectification.vue b/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
index d9dbc27..c6b0659 100644
--- a/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
+++ b/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
@@ -199,26 +199,46 @@
           columnBtn: false,
           dialogClickModal: false,
           column: [{
-              width: 110,
-              span: 12,
-              label: "街道名称",
+              label: "所属街道",
+              parent: false,
+              search: true,
+              searchSpan: 4,
               prop: "streetName",
-              searchSpan: 4,
-              searchLabelWidth: 100,
-              search: true,
-              align: 'center',
-              labelWidth: 110,
-            }, {
-              width: 110,
-              span: 12,
-              label: "社区名称",
+              type: "tree",
+              dicUrl: "/api/blade-system/region/getTownTree",
+              props: {
+                label: "name",
+                value: "name"
+              },
+              rules: [{
+                required: true,
+                message: "请选择所属街道",
+                trigger: "blur",
+              }, ],
+            },
+
+            {
+              // hide: true,
+              parent: false,
+              label: "所属社区",
               prop: "communityName",
-              searchSpan: 4,
-              searchLabelWidth: 100,
               search: true,
-              align: 'center',
-              labelWidth: 110,
-            }, {
+              searchSpan: 4,
+              width: 150,
+              type: "tree",
+              dicUrl: "/api/blade-system/region/treeToCommunity",
+              props: {
+                label: "name",
+                value: "name",
+              },
+              cascader: ["gridCode"],
+              rules: [{
+                required: true,
+                message: "请选择所属社区",
+                trigger: "blur",
+              }, ],
+            },
+            {
               label: "场所名称",
               prop: "placeName",
               align: 'center',

--
Gitblit v1.9.3