From 586cd3c6a660e2b3abf7e1660ff5df3bd137fc9c Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Wed, 13 Oct 2021 11:05:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/afterLoan/afterInsurance.vue | 7 ------- src/components/page/afterLoan/collection.vue | 6 ++++-- src/components/page/afterLoan/complete.vue | 8 +++++++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/page/afterLoan/afterInsurance.vue b/src/components/page/afterLoan/afterInsurance.vue index 028d318..00c8c5f 100644 --- a/src/components/page/afterLoan/afterInsurance.vue +++ b/src/components/page/afterLoan/afterInsurance.vue @@ -974,13 +974,6 @@ export default { } }, async created(){ - let a = [1,2,3,4],b = [1,2,3,4,5,6] - let c = a.concat(b).filter((cur, i, arr) => { - return arr.indexOf(cur) === arr.lastIndexOf(cur); - }); - // console.log(c,'比不同',a,b) - - // console.log(this.loanbackStatus,'this.loanbackStatus') this.liquidateList() if(this.bankSelect.length===0){// 请求银行数据 diff --git a/src/components/page/afterLoan/collection.vue b/src/components/page/afterLoan/collection.vue index 15dd4eb..fba720b 100644 --- a/src/components/page/afterLoan/collection.vue +++ b/src/components/page/afterLoan/collection.vue @@ -486,8 +486,8 @@ @@ -679,6 +679,8 @@ } }, created(){ + console.log(this.$router.currentRoute.meta.btn,'$router.currentRoute.meta.btn') + this.logStatus = this.$store.state.loan.logStatus // console.log(this.logStatus,'this.logStatus') if(this.logStatus == 1){ diff --git a/src/components/page/afterLoan/complete.vue b/src/components/page/afterLoan/complete.vue index 824f089..20fe80f 100644 --- a/src/components/page/afterLoan/complete.vue +++ b/src/components/page/afterLoan/complete.vue @@ -807,6 +807,7 @@ export default { } } if(val==='依据小组排名'){ + console.log(this.liquidWatch,'liquidWatch,小组') let groupMap = new Map()// 进行组的总金额排名对象 let sortGroups = []// 排序组的顺序 // console.log('开始执行依据小组排名',groups,'groups') @@ -902,9 +903,14 @@ export default { // lastData.push(val) // } }) - + lastData.forEach((e,i)=>{ + e.companyRanks = i+1 + e.editStr = '编辑' + e.edit = false + }) // console.log(lastData,'处理完的最后的组排名,分人')/ this.statisticsData = JSON.parse(JSON.stringify(lastData)) + console.log(this.statisticsData,'是否有操作的值')