| @@ -154,6 +154,7 @@ | |||
| <view class="uchaserbox"> | |||
| <qiun-data-charts | |||
| type="radar" | |||
| :opts="opts" | |||
| :chartData="chartData" | |||
| :canvas2d="true" | |||
| canvasId="wangxiaohuaerlingeryilingwuyib88" | |||
| @@ -275,6 +276,15 @@ | |||
| "data": [90,110,165,195,187,172] | |||
| } | |||
| ] | |||
| }, | |||
| opts: { | |||
| fontSize: 10, | |||
| extra: { | |||
| radar: { | |||
| max: '' | |||
| } | |||
| } | |||
| } | |||
| }; | |||
| @@ -403,6 +413,7 @@ | |||
| categories:[], | |||
| series:[] | |||
| } | |||
| let max = 0; | |||
| res.result.map((item,index)=>{ | |||
| let obj={ | |||
| name:item[0].houseName, | |||
| @@ -413,10 +424,12 @@ | |||
| allobj.categories.push(item1.name) | |||
| } | |||
| obj.data.push(item1.avgExecutionRate) | |||
| if (max < item.avgExecutionRate) max = item.avgExecutionRate; | |||
| }) | |||
| allobj.series.push(obj) | |||
| }) | |||
| // console.log(allobj) | |||
| this.opts.extra.radar.max = max + 25 | |||
| this.chartData=allobj | |||
| this.$forceUpdate() | |||
| }) | |||
| @@ -130,6 +130,7 @@ | |||
| :canvas2d="true" | |||
| canvasId="wangxiaohuaerlingeryilinwuycsdx" | |||
| background="none" | |||
| :opts="opts" | |||
| /> | |||
| </view> | |||
| </view> | |||
| @@ -170,6 +171,14 @@ | |||
| value:'', | |||
| label:'平均' | |||
| }, | |||
| opts: { | |||
| fontSize: 10, | |||
| extra: { | |||
| radar: { | |||
| max: '' | |||
| } | |||
| } | |||
| }, | |||
| lastStartDate:'', | |||
| lastEndDate :'', | |||
| selindex:[0], | |||
| @@ -466,6 +475,7 @@ | |||
| // console.log(res) | |||
| let first=res.first | |||
| let second=res.second | |||
| let max = first[0].avgExecutionRate | |||
| this.chartData.categories=[] | |||
| if(!this.timepickpickisshow){ | |||
| this.chartData.series=[ | |||
| @@ -475,6 +485,7 @@ | |||
| } | |||
| ] | |||
| first.map(item=>{ | |||
| if (max < item.avgExecutionRate) max = item.avgExecutionRate; | |||
| this.chartData.categories.push(item.name) | |||
| this.chartData.series[0].data.push(item.avgExecutionRate) | |||
| }) | |||
| @@ -496,7 +507,13 @@ | |||
| second.map(item=>{ | |||
| this.chartData.series[1].data.push(item.avgExecutionRate) | |||
| }) | |||
| let all = [...first, ...second] | |||
| all.map(item => { | |||
| if (max < item.avgExecutionRate) max = item.avgExecutionRate; | |||
| }) | |||
| } | |||
| this.opts.extra.radar.max = max + 25 | |||
| }) | |||
| }, | |||
| @@ -18,7 +18,7 @@ | |||
| <view class="headboxbott"> | |||
| <view class="headovfu"> | |||
| <u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex" | |||
| @change="tapspagek()" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" | |||
| @change="tapspagek" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist" | |||
| :is-scroll="true"> | |||
| </u-tabs-swiper> | |||
| </view> | |||
| @@ -1004,6 +1004,7 @@ | |||
| this.roleindex = index; | |||
| this.newluyinList = []; | |||
| this.fenjiaoseunfo() | |||
| this.$forceUpdate() | |||
| }, | |||
| //分角色标记刷新 | |||
| fenjiaoseunfo() { | |||
| @@ -1042,6 +1043,10 @@ | |||
| this.roleindexbiaoji = data.data.data.speaker - 1; | |||
| this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1; | |||
| } | |||
| if (this.roleindex > this.tablist.length - 1) { | |||
| this.roleindex = this.tablist.length - 1 | |||
| this.fenjiaoseunfo() | |||
| } | |||
| this.speaker = data.data.data.speaker; | |||
| @@ -1626,6 +1631,7 @@ | |||
| }, | |||
| success: (data) => { | |||
| this.tablist = []; | |||
| this.roleindexbiaoji = 0; | |||
| let jsonInfo = JSON.parse(data.data.data.audioContent); | |||
| for (var i = 0; i <= data.data.data.speakerNum; i++) { | |||
| @@ -1640,7 +1646,6 @@ | |||
| } | |||
| } | |||
| if (data.data.data.speaker == null) { | |||
| this.roleindexbiaoji = 0; | |||
| this.dshfkjsdkksodofydwfkhwdfkjh = 0; | |||
| } else { | |||
| this.tablist[data.data.data.speaker].name = this.tablist[data.data.data.speaker] | |||
| @@ -1,9 +1,9 @@ | |||
| // http.js使用域名 | |||
| 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'; // 数智正式 | |||
| @@ -12,11 +12,11 @@ const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
| * 小程序配置文件 | |||
| */ | |||
| // 此处主机域名修改成腾讯云解决方案分配的域名 | |||
| const host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
| // const host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
| // const host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | |||
| // const host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
| // const host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
| // const host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
| const host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
| // const host = 'https://hfju.com/api'; // 数智正式 | |||