From 97cec1ca4764354df78c3236cf21ee5418b62dbd Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期五, 28 三月 2025 09:47:12 +0800 Subject: [PATCH] 12 --- Monitor-APP/pages/home/home.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 77095e0..8d4873b 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -253,6 +253,7 @@ <view>鍟嗗搧缂栫爜锛歿{item.matnr}}</view> <view>鍟嗗搧鍚嶇О锛歿{item.maknx}}</view> <view>瑙勬牸锛歿{item.specs}}</view> + <view>鍥惧彿锛歿{item.model}}</view> <view>鏁伴噺锛歿{item.count}} / {{item.total ? item.total : '--'}}</view> @@ -463,10 +464,10 @@ this.getDate2() setTimeout(() => { - // this.getServerData() - // this.initlineChart() - // this.initPieChart() - // this.getOther() + this.getServerData() + this.initlineChart() + this.initPieChart() + this.getOther() setTimeout(() => { this.getServerData() this.initlineChart() @@ -477,9 +478,9 @@ this.initlineChart() this.initPieChart() this.getOther() - }, 3000) - }, 1000) - }, 1000) + }, 500) + }, 500) + }, 500) }, onLoad() { setInterval(() => { @@ -497,7 +498,7 @@ this.initlineChart() this.initPieChart() this.getOther() - }, 3600000) + }, 1800000) }, methods: { timeOuts() { -- Gitblit v1.9.1