Merge pull request '1' (#197) from pc-master into portal

Reviewed-on: #197
portal
xiaomeng 2024-11-28 13:49:11 +00:00
commit 717182763e
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);
} }
} }
}); });