From 0df80b87fb61b1b881e44941b7a98265487a37ef Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 14 Nov 2022 16:45:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=85=9A=E7=BB=84=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pingchang/AppPartyAuth/partyAuthApply.vue | 2 +- src/project/pingchang/AppPartyAuth/selectPartyOrg.vue | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue index 1a15b47..8a2154f 100644 --- a/src/project/pingchang/AppPartyAuth/partyAuthApply.vue +++ b/src/project/pingchang/AppPartyAuth/partyAuthApply.vue @@ -42,7 +42,7 @@

党组织

- +
diff --git a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue index 5612e99..295865e 100644 --- a/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue +++ b/src/project/pingchang/AppPartyAuth/selectPartyOrg.vue @@ -42,9 +42,13 @@ parentId: '', } }, - onLoad() { + onLoad(o) { this.getPartyOrg() - this.SelectParty = uni.getStorageSync("lastSelectedParty") || {} + if (o.id) { + this.SelectParty.id = o.id + } else { + this.SelectParty = uni.getStorageSync("lastSelectedParty") || {} + } }, methods: { getPartyOrg() {