feat(xumu): 新增投保审批功能
- 添加投保审批相关的页面和组件 - 实现投保审批的新增、编辑和审核功能- 集成投保审批的列表展示和搜索功能 -优化投保审批表单的验证和提交逻辑
This commit is contained in:
35
project/xumu/AppInsuranceAudit/AppInsuranceAudit.vue
Normal file
35
project/xumu/AppInsuranceAudit/AppInsuranceAudit.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script>
|
||||
import add from "./add.vue";
|
||||
import list from "./list.vue";
|
||||
|
||||
export default {
|
||||
name: "AppInsuranceAudit",
|
||||
label: "投保审批",
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
currentPage() {
|
||||
let {hash} = this.$route
|
||||
return ["#add", "#audit"].includes(hash) ? add : list
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("auditStatus", "insureType", "insureStatus", "category", "variety")
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="AppInsuranceAudit">
|
||||
<component :is="currentPage" v-bind="$props"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.AppInsuranceAudit {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user