From 5052bbfbed806818b18e996d03edce4cad81de19 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Sat, 7 Oct 2023 10:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9C=AA=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/dialog/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index aa84469..988fea4 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -118,7 +118,7 @@
@@ -393,12 +393,13 @@ export default { selectList: [], disabled:false, county:false, + district:[] }; }, computed: { ...mapState({ dept: (state) => state.user.dept, - district: (state) => state.user.district, + // district: (state) => state.user.district, // mydict: (state) => state.user.mydict, }), }, @@ -573,6 +574,8 @@ export default { async open(item,dept) { this.dialogVisible = true; // this.dept = dept + let data = await this.$api.yingji.tree(); + this.district = data.data this.commentData(this.district,dept); this.bPlanEnterprise(); this.filtrate()