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
+ }
+
+ });
+
+ },
},
};