|
@@ -20,13 +20,13 @@
|
|
|
</cu-custom>
|
|
|
|
|
|
<!-- 滚动通知 -->
|
|
|
- <notice />
|
|
|
+ <notice ref="notice" />
|
|
|
<!-- 工作台 -->
|
|
|
<workbench />
|
|
|
<!-- 数据看板 -->
|
|
|
- <spectaculars />
|
|
|
+ <spectaculars ref="spectaculars" />
|
|
|
<!-- 巡检计划 -->
|
|
|
- <patrolScheme />
|
|
|
+ <patrolScheme ref="patrolScheme" />
|
|
|
|
|
|
<workorder v-if="showWorkrder" :isHome="true" />
|
|
|
<view style="height: calc(16.533vw + env(safe-area-inset-bottom) / 2);" />
|
|
@@ -76,6 +76,11 @@ export default {
|
|
|
this.getWeather();
|
|
|
},
|
|
|
methods: {
|
|
|
+ renderData() {
|
|
|
+ this.$refs.notice.getList();
|
|
|
+ this.$refs.spectaculars.getDetail();
|
|
|
+ this.$refs.patrolScheme.getDetail();
|
|
|
+ },
|
|
|
getWeather() {
|
|
|
this.$Http.basic({
|
|
|
id: "20231012093701",
|
|
@@ -142,7 +147,7 @@ export default {
|
|
|
Dustom.CustomBar = Dustom.CustomBar + num;
|
|
|
this.headHeight = Dustom.getHeight()
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|