From 92ccd9e0f8dbfcb8b36b19cdc27d444f865426a1 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 14 Dec 2023 16:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E6=89=80=E6=9C=89=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api/index.js | 24 ++ src/views/homePage/components/tableMain.vue | 149 ++++++++++- src/views/homePage/index.vue | 268 +++++++++++++++++--- src/views/report/index.vue | 82 +++++- vue.config.js | 2 +- 5 files changed, 483 insertions(+), 42 deletions(-) diff --git a/src/utils/api/index.js b/src/utils/api/index.js index f9489a4..84f477c 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -28,6 +28,30 @@ export function getqueryTermsApi(data) { }, }); } +//获取规约 + +export function getqueryProtocolApi(data) { + return request({ + url: "api/queryProtocol.php", + method: "get", + params: data, + headers: { + "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", + }, + }); +} +//获取活动列表 + +export function getqueryActivityApi(data) { + return request({ + url: "api/queryActivity.php", + method: "get", + params: data, + headers: { + "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", + }, + }); +} //运维,快心跳 export function getdoActionApi(data) { return request({ diff --git a/src/views/homePage/components/tableMain.vue b/src/views/homePage/components/tableMain.vue index 325fddd..4ccc36e 100644 --- a/src/views/homePage/components/tableMain.vue +++ b/src/views/homePage/components/tableMain.vue @@ -25,6 +25,12 @@ multipleSelection.length }} + 运维:{{ ywNumber }} + 快心跳:{{ kxtNumber }} 在线:{{ onlineNum }} @@ -89,7 +95,15 @@ 离线 - + + - + +