diff --git a/project/xiushan/apps/finance/AppFinanceProduct/productDetail.vue b/project/xiushan/apps/finance/AppFinanceProduct/productDetail.vue index 9a0cafd9..06dee23e 100644 --- a/project/xiushan/apps/finance/AppFinanceProduct/productDetail.vue +++ b/project/xiushan/apps/finance/AppFinanceProduct/productDetail.vue @@ -84,7 +84,7 @@ export default { return this.detail.status == "0" }, isAdmin() { - return this.user.financeUser.type == 1 + return this.user.financeUser.userRole == 1 } }, data() { diff --git a/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue b/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue index f217c97d..c8c13844 100644 --- a/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue +++ b/project/xiushan/apps/financing/AppFinancingNeeds/needsDetail.vue @@ -50,7 +50,7 @@ export default { computed: { ...mapState(['user']), isFinanceUser() { - return this.user.financeUser?.type != null + return !!this.user.financeUser?.id } }, data() { diff --git a/project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue b/project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue index 06f3508d..b7b41ced 100644 --- a/project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue +++ b/project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue @@ -23,11 +23,8 @@ export default { return !!this.$route.query.id ? GrabDetail : GrabList } }, - data() { - return {} - }, created() { - this.dict.load("enterpriseName") + this.dict.load("financingDemandStatus", "productRepaymentTimeline", "financialFundPurpose") } } diff --git a/project/xiushan/apps/financing/AppGrabLog/grabDetail.vue b/project/xiushan/apps/financing/AppGrabLog/grabDetail.vue index be056713..972b1752 100644 --- a/project/xiushan/apps/financing/AppGrabLog/grabDetail.vue +++ b/project/xiushan/apps/financing/AppGrabLog/grabDetail.vue @@ -1,8 +1,8 @@