feat(xumu): 新增保险产品类型字典
- 在 AppClaimApply 和 AppClaimAudit 组件中添加 productType 字典加载 - 在 add.vue 组件中使用 productType 字典获取保险产品类型标签
This commit is contained in:
@@ -12,19 +12,19 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
currentPage() {
|
||||
let {hash} = this.$route
|
||||
let { hash } = this.$route
|
||||
return ["#claim", "#add"].includes(hash) ? add : list
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("auditStatus", "insureType", "insureStatus", "category", "variety")
|
||||
this.dict.load("auditStatus", "insureType", "insureStatus", "category", "variety", "productType")
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="AppClaimApply">
|
||||
<component :is="currentPage" v-bind="$props"/>
|
||||
<component :is="currentPage" v-bind="$props" />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user