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 })