diff --git a/manifest.json b/manifest.json index 374cacc..d5d21c5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "AI销讲助手", + "name" : "数智工牌", "appid" : "__UNI__7A1611D", "description" : "AI销讲助手", "versionName" : "1.1.0", @@ -72,7 +72,7 @@ }, "quickapp" : {}, "mp-weixin" : { - "appid" : "wx83fec12ec03d9349", + "appid" : "wxe044603515ff2cb5", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/center/Piabodata/Groupcontrast.vue b/pages/center/Piabodata/Groupcontrast.vue index 5a4f57b..62e709d 100644 --- a/pages/center/Piabodata/Groupcontrast.vue +++ b/pages/center/Piabodata/Groupcontrast.vue @@ -16,7 +16,7 @@ - + - + - @@ -247,7 +246,6 @@ totalTimeShow: false, // 日期选择器 lastStartDate: '', // 开始时间 lastEndDate: '', // 结束时间 - // 项目选择器 staffShow: false, // 展示项目选择器 staffList: [], // 可选项目列表 @@ -360,6 +358,18 @@ series: [] }, // 销讲能力 + opts: { + type: "radar", + width: 300, + fontSize: 10, + extra: { + radar: { + max: 100 + } + } + }, + emptyCharData: false, + }; }, @@ -450,7 +460,6 @@ obj.name = item.houseName obj.zxl = item.data arr.push(obj) - }) arr = this.dealData(arr) this['newlisttabinfo' + index] = arr @@ -477,7 +486,8 @@ categories: [], series: [] } - if (res.result.length != 0) { + if (res.result.length > 0) { + console.log(res, 'asdjkasl') res.result.map((item, index) => { let obj = { name: item.length > 0 ? item[0].houseName : '', @@ -492,11 +502,12 @@ allobj.series.push(obj) }) this.chartData = allobj - this.$forceUpdate() this.emptyCharData = true; } else { this.emptyCharData = false; } + console.log(this.emptyCharData) + this.$forceUpdate() }).catch(e => { this.LOADING = false }) @@ -553,6 +564,7 @@ // 左侧菜单选中 chooseLside(data, index) { this.lsideListIndex = index + console.log(index) this.getdata() }, }, @@ -571,13 +583,12 @@ .container { padding: 16rpx 0; width: 100%; - height: calc(100% - 92rpx); + height: calc(100% - 92rpx - var(--window-top)); display: grid; - grid-template-columns: 160rpx 1fr; + grid-template-columns: 160rpx calc(100vw - 160rpx); .lside { width: 100%; - height: 100%; background: #F6F7FB; .lside-scrollbox { @@ -612,11 +623,9 @@ .rside { width: 100%; - height: 100%; .rside-scrollbox { width: 100%; - min-height: 100%; background: #fff; display: flex; flex-direction: column; @@ -677,6 +686,16 @@ .uchaserbox { width: 100%; height: 470rpx; + display: flex; + flex-direction: column; + + #wangxiaohuaerlingeryilingwuyib88 { + flex-grow: 1; + } + + .qiudatacharts { + flex-grow: 1; + } } diff --git a/pages/center/Piabodata/Theteamcompared.vue b/pages/center/Piabodata/Theteamcompared.vue index 21930ff..7dc3b95 100644 --- a/pages/center/Piabodata/Theteamcompared.vue +++ b/pages/center/Piabodata/Theteamcompared.vue @@ -876,7 +876,7 @@ arr.push(obj) }) } - arr = this.dealData(arr) + arr = this.dealData(arr.sort((a, b) => {return b.zxl - a.zxl})) this['newlisttabinfo' + index] = arr } else { // 当两个都选择的时候