From a520895c5b01934a7210917d52cbe98455cba33b Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 27 十一月 2024 15:15:32 +0800
Subject: [PATCH] 档案页详情优化

---
 src/views/project/indexstatistics/index.vue |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/views/project/indexstatistics/index.vue b/src/views/project/indexstatistics/index.vue
index 9cdce92..fc284ba 100644
--- a/src/views/project/indexstatistics/index.vue
+++ b/src/views/project/indexstatistics/index.vue
@@ -602,6 +602,7 @@
 import { listOrganallocation } from "@/api/project/organallocation";
 
 import RankChart from "./components/rankbarchart";
+import request from '@/utils/request'
 import OrganNumChart from "./components/organnumchart";
 import { listDonatebaseinfo } from "@/api/project/donatebaseinfo";
 import dayjs from "dayjs";
@@ -649,6 +650,7 @@
       year: "閫夋嫨骞翠唤",
       isloading: false,
       maxHeight: 0,
+      areaJson: "/project/dict/treeselect", // 鎻愬墠瀛樺偍鍦板潃鏁版嵁鎺ュ彛
       CommonOrgan: null,
       provinceData: [
         { label: "鍏ㄩ儴鍦板競", value: "" },
@@ -914,6 +916,7 @@
       this.value = "鏉窞甯�";
       this.GetOrgDonateNumNew();
       this.GetOrgDonateNum();
+      this.getAddressData();
     });
   },
   methods: {
@@ -938,6 +941,20 @@
         }
       });
     },
+    // 鎻愬墠缂撳瓨鏁版嵁
+    getAddressData() {
+      var that = this;
+      request({
+        url: that.areaJson,
+        method: "get",
+      }).then(function (response) {
+        if (response.code === 200) {
+          //鑾峰彇鍦板潃
+          let addressArray = response.data;
+          this.$store.commit('updateMyData', addressArray);
+        }
+      });
+    },
     // 纭畾宸茶
     clickMessageDetailed(item) {
       let data = item;

--
Gitblit v1.9.3