- 添加 AppSellApply 组件作为出栏申请的主入口 - 实现出栏申请列表页面,包括筛选、导出等功能 - 实现出栏申请详情和编辑页面,包括基础信息、标的信息、解押材料等 - 集成耳标选择器组件,用于选择投保标的
36 lines
664 B
Vue
36 lines
664 B
Vue
<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>
|