feat(xumu): 新增投保审批功能

- 添加投保审批相关的页面和组件
- 实现投保审批的新增、编辑和审核功能- 集成投保审批的列表展示和搜索功能
-优化投保审批表单的验证和提交逻辑
This commit is contained in:
aixianling
2024-12-31 15:18:45 +08:00
parent e283d6a650
commit b6dcddac6f
4 changed files with 382 additions and 22 deletions

View 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>