From b6d7650b1beacf904e0b2ce41d6786c27241423c Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Thu, 12 Aug 2021 10:31:38 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E3=80=81=E4=BE=9B=E5=BA=94?=
=?UTF-8?q?=E5=95=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hb_client/package.json | 2 +-
hb_client/src/views/monitor/service.vue | 34 +++++++++++++++++++++----
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/hb_client/package.json b/hb_client/package.json
index 6e839a8..99b40fa 100644
--- a/hb_client/package.json
+++ b/hb_client/package.json
@@ -18,7 +18,7 @@
"dependencies": {
"@riophae/vue-treeselect": "^0.4.0",
"axios": "0.18.1",
- "element-ui": "2.13.0",
+ "element-ui": "^2.15.5",
"file-saver": "^2.0.2",
"js-cookie": "2.2.0",
"normalize.css": "7.0.0",
diff --git a/hb_client/src/views/monitor/service.vue b/hb_client/src/views/monitor/service.vue
index 14f9030..3089d85 100644
--- a/hb_client/src/views/monitor/service.vue
+++ b/hb_client/src/views/monitor/service.vue
@@ -151,11 +151,24 @@
>
-
+ fixed="right"
+ label="操作"
+ width="100">
+
+ 查看详情
+
+
-
+
+
+ {{logdec}}
+
+
+
@@ -175,6 +188,8 @@ export default {
cpuData:[],
diskData:[],
memoryData:[],
+ dialogVisible: false,
+ logdec:"",
};
},
computed: {},
@@ -202,7 +217,16 @@ export default {
});
},
-
+ handleClick(row){
+ this.dialogVisible = true;
+ getLog(row.name).then((response) => {
+ if (response.data) {
+ this.logdec=response.data
+ }
+
+ });
+
+ },
},
};