BUG 27840

This commit is contained in:
aixianling
2022-03-01 14:10:57 +08:00
parent 4ac2f5a134
commit 9d1e81b492

View File

@@ -3,7 +3,7 @@
<ai-detail> <ai-detail>
<ai-title slot="title" title="贷款审核详情" isShowBottomBorder isShowBack @onBackClick="$router.push({query:{}})"> <ai-title slot="title" title="贷款审核详情" isShowBottomBorder isShowBack @onBackClick="$router.push({query:{}})">
<template #rightBtn> <template #rightBtn>
<el-button v-if="isAuthing" type="primary" @click="dialog=true">审核</el-button> <el-button v-if="isAuthing&&isFinanceUser" type="primary" @click="dialog=true">审核</el-button>
</template> </template>
</ai-title> </ai-title>
<template #content> <template #content>
@@ -102,6 +102,9 @@ export default {
permissions: Function permissions: Function
}, },
computed: { computed: {
isFinanceUser() {
return !!this.user.financeUser?.id
},
isAuthing() { isAuthing() {
return this.detail.status == "0" return this.detail.status == "0"
} }