@@ -2,11 +2,11 @@ | |||
* 小程序配置文件 | |||
*/ | |||
// 此处主机域名修改成腾讯云解决方案分配的域名 | |||
// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
// var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | |||
// var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
// var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
// var host = 'https://hfju.com/api'; // 数智正式 | |||
@@ -1,5 +1,5 @@ | |||
{ | |||
"name" : "AI营销助理", | |||
"name" : "去房质控管家", | |||
"appid" : "__UNI__6CC21FF", | |||
"description" : "AI营销助理", | |||
"versionName" : "1.1.0", | |||
@@ -91,7 +91,7 @@ | |||
}, | |||
"quickapp" : {}, | |||
"mp-weixin" : { | |||
"appid" : "wx5700a3ff66ea4e4c", | |||
"appid" : "wx8f883dca5ecc5510", | |||
"setting" : { | |||
"urlCheck" : false, | |||
"es6" : true, | |||
@@ -137,10 +137,11 @@ | |||
<view class="single"> | |||
<!-- <view class="danwei" style="margin-top: 10rpx;">销讲词执行率</view> --> | |||
<view class="uchaserbox" v-if="lineOptsect.series.length!=0"> | |||
<qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :chartData="lineOptsect" | |||
background="none" :ontouch="true" canvasId="wangxiaohuaerlingeryilingwuyibao" | |||
:canvas2d="true" /> | |||
<view class="uchaserbox" :class="{ uchaserboxs : newactiveTotal == 1 || newactiveTotal == 3 }" v-if="lineOptsect.series.length!=0"> | |||
<qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :chartData="lineOptsect" | |||
background="none" :ontouch="true" canvasId="wangxiaohuaerlingeryilingwuyibao" :opts="opts" | |||
:canvas2d="true" /> | |||
</view> | |||
<view v-else style="width: 100%;"> | |||
<view style="width: 100%;text-align: center;"> | |||
@@ -302,7 +303,8 @@ | |||
sheartime2: "", | |||
intervaltime: 0, | |||
tableDate: [], | |||
guwenFlag: false | |||
guwenFlag: false, | |||
opts: {}, // 配置项为空 | |||
}; | |||
}, | |||
@@ -647,6 +649,18 @@ | |||
this.linetype = "radar"; | |||
this.$u.post("/cusLvStatistics/accFirstLevelContrast", this.pamect).then(data => { | |||
// return | |||
let max = data.firstList[0].total | |||
for (let i = 0; i < data.firstList.length; i++) { | |||
if(max < data.firstList[i]) max = data.firstList[i]; | |||
} | |||
this.opts = { | |||
fontSize: 10, | |||
extra: { | |||
radar: { | |||
max: max + 25 | |||
} | |||
} | |||
} | |||
if (this.pamect.showStatus == 0) { | |||
that.lineOptsect = { | |||
categories: [], | |||
@@ -660,6 +674,7 @@ | |||
that.lineOptsect.categories.push(item.name) | |||
that.lineOptsect.series[0].data.push(data.firstList[sdf].total) | |||
}) | |||
console.log(this.lineOptsect, 'console.log(this.lineOptsect)') | |||
// that.lineOptsect.series[0].data = data.lastValue.map(item => item.fraction); | |||
} else { | |||
// 当有对比的时候 | |||
@@ -697,7 +712,10 @@ | |||
arr[1].push(data.thirdList[index].total) | |||
}) | |||
that.tableDate = arr | |||
console.log(this.lineOptsect, 'console.log(this.lineOptsect)') | |||
} | |||
}); | |||
}, | |||
// 顾问纬度选择顾问 | |||
@@ -751,6 +769,7 @@ | |||
if (data.length == 0) { | |||
return | |||
} else { | |||
let max = data[0].avgExecutionRate | |||
let list = data.map(item => { | |||
return item.name | |||
}); | |||
@@ -760,8 +779,17 @@ | |||
} else { | |||
item.avgExecutionRate = item.avgExecutionRate | |||
} | |||
if (max < item.avgExecutionRate) max = item.avgExecutionRate; | |||
return item.avgExecutionRate | |||
}); | |||
this.opts = { | |||
fontSize: 10, | |||
extra: { | |||
radar: { | |||
max: max + 25 | |||
} | |||
} | |||
} | |||
this.lineOptsect = { | |||
"categories": list, | |||
"series": [{ | |||
@@ -1151,6 +1179,15 @@ | |||
} | |||
} | |||
.uchaserbox { | |||
width: 100%; | |||
} | |||
.uchaserboxs { | |||
width: 100%; | |||
height: 70vh; | |||
} | |||
.activecllasscet2 { | |||
color: #2671E2; | |||
border-bottom: 2px solid #2671E2; | |||
@@ -24,6 +24,9 @@ | |||
<view class="headpade"> | |||
<view class="biaoji" @tap="tagtap()">标记</view> | |||
</view> | |||
<view class="headpade" style="border: none;"> | |||
<view class="biaoji" @tap="addRole">新增角色</view> | |||
</view> | |||
</view> | |||
</view> | |||
<scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower()" | |||
@@ -897,6 +900,14 @@ | |||
url: '/pages/learning/Keywordsearch?customerId='+this.customerId +"&status="+this.status +"&skpl="+"1" | |||
}) | |||
}, | |||
// 添加角色 | |||
addRole() { | |||
this.tablist.push({ | |||
name: String.fromCharCode(this.tablist.length + 64) | |||
}) | |||
}, | |||
//标记选择角色 | |||
biaojixuanze(index){ | |||
this.roleindexbiaoji=index; | |||
@@ -963,79 +974,16 @@ | |||
this.tablist=[]; | |||
let jsonInfo = JSON.parse(data.data.data.audioContent); | |||
for(var i=0;i<=data.data.data.speakerNum;i++){ | |||
if(i==0){ | |||
if(i === 0){ | |||
this.tablist.push({ | |||
name:'全部' | |||
}) | |||
}else if(i==1){ | |||
this.tablist.push({ | |||
name:'A' | |||
}) | |||
}else if(i==2){ | |||
this.tablist.push({ | |||
name:'B' | |||
}) | |||
}else if(i==3){ | |||
this.tablist.push({ | |||
name:'C' | |||
}) | |||
}else if(i==4){ | |||
this.tablist.push({ | |||
name:'D' | |||
}) | |||
}else if(i==5){ | |||
this.tablist.push({ | |||
name:'E' | |||
}) | |||
}else if(i==6){ | |||
this.tablist.push({ | |||
name:'F' | |||
}) | |||
}else if(i==7){ | |||
this.tablist.push({ | |||
name:'G' | |||
}) | |||
}else if(i==8){ | |||
} else { | |||
this.tablist.push({ | |||
name:'H' | |||
name: String.fromCharCode(i+64) | |||
}) | |||
}else if(i==9){ | |||
this.tablist.push({ | |||
name:'I' | |||
}) | |||
}else if(i==10){ | |||
this.tablist.push({ | |||
name:'J' | |||
}) | |||
}else if(i==11){ | |||
this.tablist.push({ | |||
name:'K' | |||
}) | |||
}else if(i==12){ | |||
this.tablist.push({ | |||
name:'L' | |||
}) | |||
}else if(i==13){ | |||
this.tablist.push({ | |||
name:'M' | |||
}) | |||
}else if(i==14){ | |||
this.tablist.push({ | |||
name:'N' | |||
}) | |||
}else if(i==15){ | |||
this.tablist.push({ | |||
name:'O' | |||
}) | |||
}else{ | |||
this.tablist.push({ | |||
name:'P' | |||
}) | |||
} | |||
} | |||
} | |||
} | |||
if(data.data.data.speaker==null){ | |||
this.roleindexbiaoji=0; | |||
@@ -1625,78 +1573,17 @@ | |||
this.tablist=[]; | |||
let jsonInfo = JSON.parse(data.data.data.audioContent); | |||
for(var i=0;i<=data.data.data.speakerNum;i++){ | |||
if(i==0){ | |||
if(i === 0){ | |||
this.tablist.push({ | |||
name:'全部' | |||
}) | |||
}else if(i==1){ | |||
this.tablist.push({ | |||
name:'A' | |||
}) | |||
}else if(i==2){ | |||
this.tablist.push({ | |||
name:'B' | |||
}) | |||
}else if(i==3){ | |||
this.tablist.push({ | |||
name:'C' | |||
}) | |||
}else if(i==4){ | |||
} else { | |||
this.tablist.push({ | |||
name:'D' | |||
name: String.fromCharCode(i+64) | |||
}) | |||
}else if(i==5){ | |||
this.tablist.push({ | |||
name:'E' | |||
}) | |||
}else if(i==6){ | |||
this.tablist.push({ | |||
name:'F' | |||
}) | |||
}else if(i==7){ | |||
this.tablist.push({ | |||
name:'G' | |||
}) | |||
}else if(i==8){ | |||
this.tablist.push({ | |||
name:'H' | |||
}) | |||
}else if(i==9){ | |||
this.tablist.push({ | |||
name:'I' | |||
}) | |||
}else if(i==10){ | |||
this.tablist.push({ | |||
name:'J' | |||
}) | |||
}else if(i==11){ | |||
this.tablist.push({ | |||
name:'K' | |||
}) | |||
}else if(i==12){ | |||
this.tablist.push({ | |||
name:'L' | |||
}) | |||
}else if(i==13){ | |||
this.tablist.push({ | |||
name:'M' | |||
}) | |||
}else if(i==14){ | |||
this.tablist.push({ | |||
name:'N' | |||
}) | |||
}else if(i==15){ | |||
this.tablist.push({ | |||
name:'O' | |||
}) | |||
}else{ | |||
this.tablist.push({ | |||
name:'P' | |||
}) | |||
} | |||
} | |||
} | |||
} | |||
if(data.data.data.speaker==null){ | |||
this.roleindexbiaoji=0; | |||
this.dshfkjsdkksodofydwfkhwdfkjh=0; | |||
@@ -1976,7 +1863,7 @@ | |||
align-items: center; | |||
border-left: 1px solid #D6D6D6; | |||
.biaoji{ | |||
width: 100rpx; | |||
min-width: 120rpx; | |||
height: 48rpx; | |||
background: #E6625B; | |||
border-radius: 24rpx; | |||
@@ -1,9 +1,9 @@ | |||
// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | |||
// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
// const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
// const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||
const install = (Vue, vm) => { | |||