fix: 评价类型字典
This commit is contained in:
@@ -118,7 +118,10 @@ export default {
|
|||||||
return h('span', {
|
return h('span', {
|
||||||
}, this.dict.getLabel('evaluatorType', row.evaluatorType))
|
}, this.dict.getLabel('evaluatorType', row.evaluatorType))
|
||||||
}},
|
}},
|
||||||
{ prop: 'assessType', label: '评价类型', align: 'center' },
|
{ prop: 'assessType', label: '评价类型', align: 'center',render: (h, {row}) => {
|
||||||
|
return h('span', {
|
||||||
|
}, this.dict.getLabel('evaluationType', row.assessType))
|
||||||
|
} },
|
||||||
{ prop: 'address', label: '门店地址', align: 'center' },
|
{ prop: 'address', label: '门店地址', align: 'center' },
|
||||||
{ prop: 'score', label: '分数', align: 'center' },
|
{ prop: 'score', label: '分数', align: 'center' },
|
||||||
],
|
],
|
||||||
@@ -128,7 +131,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.$dict.load('evaluatorType').then(() => {
|
this.$dict.load('evaluatorType','evaluationType').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user