|
@@ -18,6 +18,7 @@
|
|
|
@change="dateTypeChange"
|
|
@change="dateTypeChange"
|
|
|
clearable
|
|
clearable
|
|
|
placeholder=" "
|
|
placeholder=" "
|
|
|
|
|
+ :popper-append-to-body="false"
|
|
|
>
|
|
>
|
|
|
<el-option label="全部区域" :value="''" />
|
|
<el-option label="全部区域" :value="''" />
|
|
|
<el-option
|
|
<el-option
|
|
@@ -1391,11 +1392,17 @@
|
|
|
statisticsCycle: this.statisticsCycle
|
|
statisticsCycle: this.statisticsCycle
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
this.warningStats = [
|
|
this.warningStats = [
|
|
|
- { label: '用电预警(件)', value: res.warningStat?.electricityWarningCount },
|
|
|
|
|
- { label: '用水预警(件)', value: res.warningStat?.waterWarningCount },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '用电预警(件)',
|
|
|
|
|
+ value: res.warningStat?.electricityWarningCount
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '用水预警(件)',
|
|
|
|
|
+ value: res.warningStat?.waterWarningCount
|
|
|
|
|
+ },
|
|
|
{ label: '用气预警(件)', value: res.warningStat?.gasWarningCount }
|
|
{ label: '用气预警(件)', value: res.warningStat?.gasWarningCount }
|
|
|
];
|
|
];
|
|
|
- console.log(res,'this.warningStats')
|
|
|
|
|
|
|
+ console.log(res, 'this.warningStats');
|
|
|
let dataArr = [];
|
|
let dataArr = [];
|
|
|
let dataKey = [
|
|
let dataKey = [
|
|
|
'warningLevel',
|
|
'warningLevel',
|