From debdf2a559304b59cca67b505d532bc2469d23d2 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 6 Dec 2024 16:36:59 +0800 Subject: [PATCH] fix --- src/pages/counter/list/index.vue | 13 +- src/pages/lobbyManager/list/index.vue | 1629 +++++++++-------- .../apply/creditApplication/index.vue | 12 +- .../manage/list/personalLoans/detail.vue | 1 + 4 files changed, 830 insertions(+), 825 deletions(-) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index cc989eb..dd1a39e 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -698,10 +698,6 @@ export default { }, computed: { ...mapState('system', ['isCredit', 'creditImportIndex', 'creditImportIds']), - // 是否是信贷部 - isCredit: function () { - return this.$store.state.system.isCredit; - }, // 印章盒的印章id与名字对应,其他地方有用,易于操作 isSeal () { const stampMap2 = { @@ -1568,9 +1564,12 @@ export default { closeData () { this.checkList = []; }, - showManage () {// 展示系统管理 - this.manageVisible = true; - this.$router.push(sessionStorage.getItem(this.isCredit ? 'creditPath' : 'computerPath') || (this.isCredit ? '/counter/list/manage/personalLoans' : '/counter/list/manage/consumerClient')) + showManage (toDefault) {// 展示系统管理 + const path = sessionStorage.getItem(this.isCredit ? 'creditPath' : 'computerPath') + if (path || toDefault) { + this.manageVisible = true; + this.$router.push(path || (this.isCredit ? '/counter/list/manage/personalLoans' : '/counter/list/manage/consumerClient')) + } }, popSure () {/* 弹框-确定 */ // 拦截 由于下面太多没拦截的,所以在这拦截舒服 diff --git a/src/pages/lobbyManager/list/index.vue b/src/pages/lobbyManager/list/index.vue index e69a894..f7c61a7 100644 --- a/src/pages/lobbyManager/list/index.vue +++ b/src/pages/lobbyManager/list/index.vue @@ -1,31 +1,33 @@ \ No newline at end of file diff --git a/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue b/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue index d8e270e..cb6b1dc 100644 --- a/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue +++ b/src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue @@ -408,13 +408,13 @@ export default { const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768' const rule = [] form.cooperationPeriod && rule.push({ answerId: 875, emptyOne: 149, emptyTwo: form.cooperationPeriod, operationIds: preId + ',875', type: 3 }) - form.matureRepayment && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 269, operationIds: preId + ',798', type: 1 }) - form.otherRepayments && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 270, operationIds: preId + ',798', type: 1 }) + form.matureRepayment && rule.push({ answerId: 907, emptyOne: '', emptyTwo: '', operationIds: preId + ',798,907', type: '' }) + form.otherRepayments && rule.push({ answerId: 894, emptyOne: 153, emptyTwo: form.otherRepayments, operationIds: preId + ',798,894', type: 3 }) - form.paymentForMaterials && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 271, operationIds: preId + ',833', type: 1 }) - form.payLaborCosts && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 272, operationIds: preId + ',833', type: 1 }) - form.payExpenses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 273, operationIds: preId + ',833', type: 1 }) - form.otherUses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 274, operationIds: preId + ',833', type: 1 }) + form.paymentForMaterials && rule.push({ answerId: 908, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,908', type: '' }) + form.payLaborCosts && rule.push({ answerId: 909, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,909', type: '' }) + form.payExpenses && rule.push({ answerId: 910, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,910', type: '' }) + form.otherUses && rule.push({ answerId: 895, emptyOne: 153, emptyTwo: form.otherUses, operationIds: preId + ',833,895', type: 3 }) form.specialInstructions && rule.push({ answerId: 802, emptyOne: 125, emptyTwo: form.specialInstructions, operationIds: preId + ',802', type: 3 }) diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue index 0117d46..e327321 100644 --- a/src/pages/manage/list/personalLoans/detail.vue +++ b/src/pages/manage/list/personalLoans/detail.vue @@ -445,6 +445,7 @@ export default { }, mounted () { this.getDetail() + sessionStorage.removeItem('creditPath') }, methods: { ...mapMutations({