pull/197/head
home孙 2024-11-28 21:48:36 +08:00
parent 9eeac29762
commit ab5bac8dee
1 changed files with 10 additions and 1 deletions

View File

@ -968,7 +968,7 @@ export default {
this.get_environmentData(2023120613270120); this.get_environmentData(2023120613270120);
this.get_readControl_getState(2023120613270120); this.get_readControl_getState(2023120613270120);
this.getWeatherData(2023120613270120); this.getWeatherData(2023120613270120);
} else if (limitUserId == 8||limitUserId == 9) { } else if (limitUserId == 8) {
// Id // Id
const list = [] const list = []
this.$store.state.equipmentList.forEach((el, index) => { this.$store.state.equipmentList.forEach((el, index) => {
@ -984,6 +984,15 @@ export default {
this.get_environmentData(list[0].deviceId); this.get_environmentData(list[0].deviceId);
this.get_readControl_getState(list[0].deviceId); this.get_readControl_getState(list[0].deviceId);
this.getWeatherData(list[0].deviceId); this.getWeatherData(list[0].deviceId);
} else if (limitUserId == 9) {
// charts
this.get_weather_echart_data(2024070113400048);
this.get_thisWeekTemperature_echart_data(2024070113400048);
this.get_environmentData(2024070113400048);
this.get_readControl_getState(2024070113400048);
//
this.getWeatherData(2023120613270131);
} }
} }
}); });