diff --git a/src/views/stationOperation/components/MapPane.vue b/src/views/stationOperation/components/MapPane.vue
index fa4edc5..c07c513 100644
--- a/src/views/stationOperation/components/MapPane.vue
+++ b/src/views/stationOperation/components/MapPane.vue
@@ -233,7 +233,7 @@
-
+
@@ -419,7 +419,8 @@ export default {
markerList: [], // 要在地图上展示的marker列表
- showPane: true
+ showPane: true,
+ spinLoading: false
}
},
created() {
@@ -720,6 +721,7 @@ export default {
// 获取数据接收状态列表
async getDataRecieveStatusList() {
+ this.spinLoading = true
try {
this.isGettingStatusList = true
const { success, result, message } = await getAction(
@@ -728,6 +730,7 @@ export default {
userId: this.$store.getters.userInfo.id
}
)
+ this.spinLoading = false
if (success) {
const statusList = []
result.forEach(item => {
@@ -746,6 +749,7 @@ export default {
this.$message.error(message)
}
} catch (error) {
+ this.spinLoading = false
console.error(error)
} finally {
this.isGettingStatusList = false
diff --git a/src/views/stationOperation/components/RealTimeDataChart.vue b/src/views/stationOperation/components/RealTimeDataChart.vue
index 432814e..d971a7b 100644
--- a/src/views/stationOperation/components/RealTimeDataChart.vue
+++ b/src/views/stationOperation/components/RealTimeDataChart.vue
@@ -14,7 +14,9 @@
-
+
+
+
@@ -79,6 +81,9 @@ export default {
title: {
type: String
},
+ spinning: {
+ type: Boolean
+ },
list: {
type: Array,
default: () => []