From 9ec4ad8b02fb8a0e66990a83c15a3a3210dbb194 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 22 May 2024 23:35:21 +0800
Subject: [PATCH] 代码优化

---
 src/components/Approval/Approval.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/components/Approval/Approval.vue b/src/components/Approval/Approval.vue
index fecc4cf..5a58daa 100644
--- a/src/components/Approval/Approval.vue
+++ b/src/components/Approval/Approval.vue
@@ -140,14 +140,20 @@
             },
             {
               label: "所属社区",
-              prop: "communityName",
+              prop: "communityCode",
               span: 24,
               row: true,
               searchSpan: 4,
               search: true,
               width: 160,
               overHidden: true,
-              align: 'center'
+              align: 'center',
+              dicUrl: "/api/blade-system/region/treeToCommunity?isFiter='1'",
+              defaultExpandedKeys: ["361102"],
+              props: {
+                label: "name",
+                value: "id"
+              },
             },
             {
               label: "派出所",
@@ -245,7 +251,7 @@
       handleCredentials(val) {
         this.openOnceShow = true;
         this.paredData = val;
-        // console.log(val);
+        console.log(val);
       },
       openClose() {
         this.paredData = "";
@@ -306,4 +312,4 @@
   .openOnceCLoce:hover {
     color: red;
   }
-</style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.3