From 9f6d4b9e26628b5d83b0c1aff20df9ef0b459a73 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Wed, 29 Jun 2022 11:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=AC=E5=9C=B0api?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E4=BF=AE=E6=94=B9=E6=97=A5=E6=8A=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 4 +--- pages/reportExcel/dayReport.vue | 8 +++++++- utils/domain.js | 8 ++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 7ef6c2d..b4fcc21 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -279,7 +279,7 @@ totalTimeShow: false, statDateStart: '', statDateEnd: '', - needShow: ['客户管理', '接待记录', '销讲数据', '设备管理', '值班顾问', '违禁记录'], // 权限配置需要展示出来的功能入口 + needShow: ['客户管理', '接待记录', '销讲数据', '设备管理', '值班顾问', '顾问排名', '违禁记录'], // 权限配置需要展示出来的功能入口 }; }, @@ -850,8 +850,6 @@ path = '../../static/images/prohibited.png' break } - - console.log(path) return path } } diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue index f6e12fc..3db0938 100644 --- a/pages/reportExcel/dayReport.vue +++ b/pages/reportExcel/dayReport.vue @@ -443,8 +443,14 @@ // 分割数组排名前三,倒三 getTopThree() { if (this.weekObj.XJTopList && this.weekObj.XJTopList.length > 0) { - this.carryOutLast = this.weekObj.XJTopList.slice(0, 3) + this.carryOutLast = this.weekObj.XJTopList.slice(0, 3).reverse() + this.carryOutLast.map((item, index) => { + if (item.value == 100) { + this.carryOutLast.splice(index, 1) + } + }) this.carryOutTop = this.weekObj.XJTopList.reverse().slice(0, 3) + console.log(this.weekObj.XJTopList) } if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) { this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3) diff --git a/utils/domain.js b/utils/domain.js index 656f1a7..abe75ea 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -1,10 +1,10 @@ // http.js使用域名 -const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 -// const baseUrl = 'http://192.168.31.211:8080/api';// 泽明 -// const baseUrl = 'http://localhost:8080/autoSR/api'; // 本地 +// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 +// const baseUrl = 'http://192.168.31.148:8080/api';// 泽明 +// const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.86:9090/api'; // 盛浩 -// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 +const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式