From 52fa7c67f6534940dd81eb8e33376cb3684ac8ba Mon Sep 17 00:00:00 2001 From: "@0Melon0" <576788380@qq.com> Date: Wed, 17 Jul 2024 16:05:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8E=A5=E5=85=A5=E8=BF=90=E8=90=A5?= =?UTF-8?q?=E7=9B=91=E6=8E=A7=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/common.js | 5 ++ src/views/pageMonitor/bottomLeft/index.vue | 47 ++++++++++--- src/views/pageMonitor/bottomMiddle/index.vue | 48 +++++++++----- src/views/pageMonitor/bottomRight/index.vue | 69 ++++++++++++++++++-- src/views/scheduleList/index.vue | 2 +- src/views/waitList/index.vue | 2 +- 6 files changed, 139 insertions(+), 34 deletions(-) diff --git a/src/utils/common.js b/src/utils/common.js index d518c55..d428102 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -168,3 +168,8 @@ export const opStatusList = [ value: 50, }, ]; + +// 随机值 +export const fnR = () => { + return Math.floor(Math.random() * 51); +}; diff --git a/src/views/pageMonitor/bottomLeft/index.vue b/src/views/pageMonitor/bottomLeft/index.vue index 7e205d2..b74c7d1 100644 --- a/src/views/pageMonitor/bottomLeft/index.vue +++ b/src/views/pageMonitor/bottomLeft/index.vue @@ -1,13 +1,13 @@ @@ -15,7 +15,9 @@ diff --git a/src/views/pageMonitor/bottomMiddle/index.vue b/src/views/pageMonitor/bottomMiddle/index.vue index b541170..f734425 100644 --- a/src/views/pageMonitor/bottomMiddle/index.vue +++ b/src/views/pageMonitor/bottomMiddle/index.vue @@ -23,6 +23,12 @@ diff --git a/src/views/pageMonitor/bottomRight/index.vue b/src/views/pageMonitor/bottomRight/index.vue index ddab1b3..160e3a1 100644 --- a/src/views/pageMonitor/bottomRight/index.vue +++ b/src/views/pageMonitor/bottomRight/index.vue @@ -1,19 +1,24 @@ diff --git a/src/views/scheduleList/index.vue b/src/views/scheduleList/index.vue index 35d5dbf..5b68513 100644 --- a/src/views/scheduleList/index.vue +++ b/src/views/scheduleList/index.vue @@ -120,7 +120,7 @@ export default { textToColor, onGetPageData() { let today = dayjs().format('YYYY-MM-DD'); - today = '2024-06-06'; + // today = '2024-06-06'; const QueryFiledDic = {}; this.queryCondition.forEach(queryItem => { if (queryItem['queryType'] == 'dateTime') { diff --git a/src/views/waitList/index.vue b/src/views/waitList/index.vue index bc2f3a5..2235ffe 100644 --- a/src/views/waitList/index.vue +++ b/src/views/waitList/index.vue @@ -128,7 +128,7 @@ export default { textWaitToColor, onGetPageData() { let today = dayjs().format('YYYY-MM-DD'); - today = '2024-06-06'; + // today = '2024-06-06'; const QueryFiledDic = {}; this.queryCondition.forEach(queryItem => { if (queryItem['queryType'] == 'dateTime') {