diff --git a/config.js b/config.js index e94ab8d..6419d1c 100644 --- a/config.js +++ b/config.js @@ -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'; // 数智正式 diff --git a/manifest.json b/manifest.json index 14dd534..84fc630 100644 --- a/manifest.json +++ b/manifest.json @@ -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, diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index d23f468..a5c076d 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -137,10 +137,11 @@ - - + + + @@ -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; diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 93df088..4e84151 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -24,6 +24,9 @@ 标记 + + 新增角色 + {