From 849ee99c3f33a4ca14b92e577c210e321f0360d2 Mon Sep 17 00:00:00 2001 From: lishenfeng Date: Mon, 11 Nov 2024 13:33:29 +0800 Subject: [PATCH] =?UTF-8?q?styles():=20=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/aqjc/index.vue | 767 +++++++++--------- pages/homeIndex/index.vue | 33 +- pages/mypage/compents/wtcl/index.vue | 4 +- pages/mypage/compents/xcrw/index.vue | 4 +- pages/skInfo/waterDatail/jcOptions.js | 13 +- pages/wtcl/index.vue | 4 +- pages/xcrw/index.vue | 4 +- .../js_sdk/u-charts/config-echarts.js | 3 + 8 files changed, 449 insertions(+), 383 deletions(-) diff --git a/pages/aqjc/index.vue b/pages/aqjc/index.vue index 9bfef32..03d309f 100644 --- a/pages/aqjc/index.vue +++ b/pages/aqjc/index.vue @@ -1,399 +1,444 @@ \ No newline at end of file diff --git a/pages/homeIndex/index.vue b/pages/homeIndex/index.vue index 2a5d111..10ce9ac 100644 --- a/pages/homeIndex/index.vue +++ b/pages/homeIndex/index.vue @@ -40,10 +40,9 @@ - + - @@ -56,7 +55,7 @@ import moment from 'moment' const stm = moment().startOf('year').format("YYYY-MM-DD HH:mm:ss"); const etm = moment().format("YYYY-MM-DD HH:mm:ss"); - const warnStm = moment().subtract(1,"days").format("YYYY-MM-DD HH:mm:ss") + const warnStm = moment().subtract(1, "days").format("YYYY-MM-DD HH:mm:ss") const warnetm = moment().format("YYYY-MM-DD HH:mm:ss") import SkInfo from '../skInfo/index.vue' import YlzList from '../ylzList/index.vue' @@ -134,7 +133,7 @@ } }, methods: { - + getYlzList() { uni.$http.post('/gunshiApp/xyt/stPptnRReal/list').then(res => { if (res.data.code == 200) { @@ -207,8 +206,8 @@ "pageNumber": 1 }, "dateTimeRangeSo": { - start:stm, - end:etm + start: stm, + end: etm }, "isHandle": 0, "inspectUserId": uni.getStorageSync('value').userId @@ -226,12 +225,17 @@ async getYjData() { const params = { start: warnStm, - end:warnetm + end: warnetm } try { const res = await uni.$http.post("/gunshiApp/xyt/stQxWarnR/home/warn", params) - const {flowWarn,pressWarn,qxWarn,shiftWarn} = res.data.data - const arr = [...flowWarn,...pressWarn,...qxWarn,...shiftWarn] + const { + flowWarn, + pressWarn, + qxWarn, + shiftWarn + } = res.data.data + const arr = [...flowWarn, ...pressWarn, ...qxWarn, ...shiftWarn] if (arr.length > 0) { this.warnStatus = true } @@ -259,6 +263,7 @@