fix: 评价类型字典

This commit is contained in:
wanglei
2024-06-28 09:25:56 +08:00
parent e2d5d29d0c
commit 0f1df0b87d

View File

@@ -118,7 +118,10 @@ export default {
return h('span', {
}, 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: 'score', label: '分数', align: 'center' },
],
@@ -128,7 +131,7 @@ export default {
},
created () {
this.$dict.load('evaluatorType').then(() => {
this.$dict.load('evaluatorType','evaluationType').then(() => {
this.getList()
})
},