feat(x): 新增贷款审核和页面

- 实现贷款申请功能

- 添加贷款审核相关的组件、审批和查看功能
-umu集成养殖场、贷款银行和产品选择
- 支持耳标号扫描和选择
- 添加贷款合同号和资料上传功能- 实现审核状态和结果的展示
This commit is contained in:
aixianling
2025-01-03 16:35:38 +08:00
parent f108a61293
commit 3eef1eeb3c
4 changed files with 375 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
<script>
import add from "./add.vue";
import list from "./list.vue";
export default {
name: "AppLoanAudit",
label: "贷款审核",
props: {
instance: Function,
dict: Object,
permissions: Function
},
computed: {
currentPage() {
let {hash} = this.$route
return ["#audit", "#add"].includes(hash) ? add : list
}
},
created() {
this.dict.load("auditStatus", "loanProduct", "loanStatus", "category", "variety")
},
}
</script>
<template>
<section class="AppLoanAudit">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppLoanAudit {
height: 100%;
}
</style>