编辑
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user