Files
dvcp_v2_webapp/project/xumu/AppInsuranceApply/AppInsuranceApply.vue
aixianling a7c3b22f87 feat(xumu): 新增投保申请功能
- 添加投保申请列表和新增页面
- 实现养殖场、承保公司、保险产品等选择功能
- 添加投保对象选择功能,支持耳标号选择
- 实现投保申请数据的查询、新增、编辑和删除
-优化表格组件,增加隐藏操作列的功能
- 更新耳标号选择组件,支持自定义请求地址
2024-12-30 18:01:13 +08:00

36 lines
662 B
Vue

<script>
import add from "./add.vue";
import list from "./list.vue";
export default {
name: "AppInsuranceApply",
label: "投保申请",
props: {
instance: Function,
dict: Object,
permissions: Function
},
computed: {
currentPage() {
let {hash} = this.$route
return hash == "#add" ? add : list
}
},
created() {
this.dict.load("auditStatus", "insureType", "insureStatus", "category", "variety")
},
}
</script>
<template>
<section class="AppInsuranceApply">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppInsuranceApply {
height: 100%;
}
</style>