From 6ecad306268e78bc897553797aa86da78fbe7081 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 30 Jun 2022 10:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPartyScoreRules/components/automaticallyAddCent.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/project/sanjianxi/apps/AppPartyScoreRules/components/automaticallyAddCent.vue b/project/sanjianxi/apps/AppPartyScoreRules/components/automaticallyAddCent.vue index bf1c0312..25c7b9be 100644 --- a/project/sanjianxi/apps/AppPartyScoreRules/components/automaticallyAddCent.vue +++ b/project/sanjianxi/apps/AppPartyScoreRules/components/automaticallyAddCent.vue @@ -209,13 +209,12 @@ export default { }, toEdit(row) { this.form = this.$copy(row) - let {event, type} = this.form, - dict = 'partyIntegralRuleEvent' + event - this.$dict.load(dict).then(() => { + let {event, type} = this.form + this.$dict.load('partyIntegralDetailType').then(() => { this.form.eventType = [event, type] this.cacheOps = this.$dict.getDict('partyIntegralRuleEvent').map(e => { if (e.dictValue == event) { - e.children = this.dict.getDict(dict).map(d => ({...d, leaf: true})) + e.children = this.$dict.getDict('integralRuleEvent4').map(d => ({...d, leaf: true})) } return e })