编辑
This commit is contained in:
@@ -209,13 +209,12 @@ export default {
|
|||||||
},
|
},
|
||||||
toEdit(row) {
|
toEdit(row) {
|
||||||
this.form = this.$copy(row)
|
this.form = this.$copy(row)
|
||||||
let {event, type} = this.form,
|
let {event, type} = this.form
|
||||||
dict = 'partyIntegralRuleEvent' + event
|
this.$dict.load('partyIntegralDetailType').then(() => {
|
||||||
this.$dict.load(dict).then(() => {
|
|
||||||
this.form.eventType = [event, type]
|
this.form.eventType = [event, type]
|
||||||
this.cacheOps = this.$dict.getDict('partyIntegralRuleEvent').map(e => {
|
this.cacheOps = this.$dict.getDict('partyIntegralRuleEvent').map(e => {
|
||||||
if (e.dictValue == event) {
|
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
|
return e
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user