From cdd3bc0e35bc667fe5b9cebf7624eb254a4718fa Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Wed, 20 Jul 2022 11:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=8C=96=E6=8E=98=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 2 ++ pages/mine/details2.vue | 35 ++++++++++------------------------- utils/domain.js | 5 ++--- 3 files changed, 14 insertions(+), 28 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index c789ac2..48f744b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -262,6 +262,7 @@ prohibitedCustomer: '', tagCustomer: '', fraction: '', + wordFraction: '', receptionCount: '' }, Thisweekobj: { @@ -271,6 +272,7 @@ prohibitedCustomer: '', tagCustomer: '', fraction: '', + wordFraction: '', receptionCount: '' }, methodsisshow: false, diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 08a79b4..c69f8cb 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -241,9 +241,9 @@ - 销讲总执行率{{totalRate}}% + 销讲总执行率{{totalRate||0}}% 禁忌执行 - 需求挖掘率 + 需求挖掘率{{KeyWordsfraction||0}}% - + {{item.name.substring(0,8)}} @@ -267,7 +267,7 @@ - + {{subitem.name.substring(0,8)}} 已执行 @@ -310,7 +310,7 @@ - + {{item.name}} @@ -342,7 +342,7 @@ - + {{subitem.name}} 已执行 @@ -515,6 +515,7 @@ data() { return { + KeyWordsfraction: 0, KeyWordsfractionList: [], noClick: true, kehuyixiangcenterindex: 0, @@ -1119,7 +1120,6 @@ } else { tempRoleIndex = this.roleindex } - console.log() uni.request({ url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + "&bg=" + bgcd + "&speaker=" + tempRoleIndex + "&voFlag=" + voFlagValue + @@ -1575,7 +1575,6 @@ this.messagelisy = this.dialogList[i].message this.argtextindex1 = i; this.argtextindex2 = index; - }, //回到顶部 gotoTop() { @@ -1584,28 +1583,14 @@ this.scrollId = "top"; }) }, - //切换tab - changeTab(type) { - if (type == 0) { - this.tab = 0 - } else { - this.tab = 1; - this.getRatelist(); - } - }, - //评分上下显隐 - changeshow(item, type) { - item.show = !item.show; - }, - changeshow2(item, type) { - item.show = !item.show; - }, // 客户详情需求挖掘话术 getfindKeyWordsBycusId() { this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => { - console.log(res) + // console.log(res) if(res.length){ + this.KeyWordsfraction = 0 res.forEach(item=>{ + this.KeyWordsfraction += +item.fraction // 总执行率 item.show = false item.children.forEach(obj=>{ obj.show = false diff --git a/utils/domain.js b/utils/domain.js index 567f886..d7111f3 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -1,8 +1,7 @@ // http.js使用域名 -const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 -// const baseUrl = 'http://192.168.31.148:8080/api';// 泽明 +// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 -// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 +const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.90:8080/api'; // 盛浩 // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式