From a41cb802543eebc2bb8574aa98c901773621e60c Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 21 十二月 2023 16:07:34 +0800 Subject: [PATCH] # --- 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