feat(xumu): 新增出栏申请功能
- 添加 AppSellApply 组件作为出栏申请的主入口 - 实现出栏申请列表页面,包括筛选、导出等功能 - 实现出栏申请详情和编辑页面,包括基础信息、标的信息、解押材料等 - 集成耳标选择器组件,用于选择投保标的
This commit is contained in:
35
project/xumu/AppSellApply/AppSellApply.vue
Normal file
35
project/xumu/AppSellApply/AppSellApply.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script>
|
||||
import add from "./add.vue";
|
||||
import list from "./list.vue";
|
||||
|
||||
export default {
|
||||
name: "AppSellApply",
|
||||
label: "出栏申请",
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
currentPage() {
|
||||
let {hash} = this.$route
|
||||
return ["#edit", "#add"].includes(hash) ? add : list
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("auditStatus", "loanProduct", "loanStatus", "category", "variety")
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="AppSellApply">
|
||||
<component :is="currentPage" v-bind="$props"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.AppSellApply {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user