|
@@ -310,7 +310,7 @@ const getStats = async () => {
|
|
// 获取部门统计数据
|
|
// 获取部门统计数据
|
|
IotStatApi.getDeptStatistics(queryParams).then((res) => {
|
|
IotStatApi.getDeptStatistics(queryParams).then((res) => {
|
|
deptDataList.value = res.deptCountList || [];
|
|
deptDataList.value = res.deptCountList || [];
|
|
- status.value = res.totalList;
|
|
|
|
|
|
+ status.value = res.totalList || [];
|
|
initChart()
|
|
initChart()
|
|
initCharts()
|
|
initCharts()
|
|
})
|
|
})
|