BUG 27917
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user