|
|
@@ -219,6 +219,7 @@ |
|
|
|
<view class="uchaserbox"> |
|
|
|
<qiun-data-charts |
|
|
|
type="radar" |
|
|
|
:opts="opts" |
|
|
|
:chartData="chartData1" |
|
|
|
:canvas2d="true" |
|
|
|
canvasId="wangxiaohuaerlingeryilingwuyib88" |
|
|
@@ -442,6 +443,15 @@ |
|
|
|
"data": [90,110,165,195,187,172] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
|
opts: { |
|
|
|
fontSize: 10, |
|
|
|
extra: { |
|
|
|
radar: { |
|
|
|
max: '' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
@@ -942,6 +952,7 @@ |
|
|
|
categories:[], |
|
|
|
series:[] |
|
|
|
} |
|
|
|
let max = 0; |
|
|
|
// 当选择全部时 |
|
|
|
if(!this.staff1.value&&!this.staff2.value){ |
|
|
|
// let first=res.first |
|
|
@@ -955,6 +966,7 @@ |
|
|
|
allobj.categories.push(item1.name) |
|
|
|
} |
|
|
|
obj.data.push(item1.avgExecutionRate) |
|
|
|
if (max < item1.avgExecutionRate) max = item1.avgExecutionRate; |
|
|
|
}) |
|
|
|
allobj.series.push(obj) |
|
|
|
}) |
|
|
@@ -971,6 +983,7 @@ |
|
|
|
allobj.categories.push(item1.name) |
|
|
|
} |
|
|
|
obj.data.push(item1.avgExecutionRate) |
|
|
|
if (max < item1.avgExecutionRate) max = item1.avgExecutionRate; |
|
|
|
}) |
|
|
|
allobj.series.push(obj) |
|
|
|
}) |
|
|
@@ -1001,10 +1014,12 @@ |
|
|
|
allobj.categories.push(item1.name) |
|
|
|
} |
|
|
|
obj.data.push(item1.avgExecutionRate) |
|
|
|
if (max < item1.avgExecutionRate) max = item1.avgExecutionRate; |
|
|
|
}) |
|
|
|
allobj.series.push(obj) |
|
|
|
}) |
|
|
|
} |
|
|
|
this.opts.extra.radar.max = max +25 |
|
|
|
// console.log(allobj) |
|
|
|
this.chartData1=allobj |
|
|
|
this.$forceUpdate() |
|
|
|