BUG 27917

This commit is contained in:
aixianling
2022-03-01 18:26:22 +08:00
parent 3feed4ee0f
commit 22d951a7b2

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&&isFinanceUser" type="primary" @click="dialog=true">审核</el-button> <el-button v-if="isAuthing&&isFinanceAdmin" type="primary" @click="dialog=true">审核</el-button>
</template> </template>
</ai-title> </ai-title>
<template #content> <template #content>
@@ -102,8 +102,8 @@ export default {
permissions: Function permissions: Function
}, },
computed: { computed: {
isFinanceUser() { isFinanceAdmin() {
return !!this.user.financeUser?.id return !!this.user.financeUser?.userRole == 1
}, },
isAuthing() { isAuthing() {
return this.detail.status == "0" return this.detail.status == "0"