diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js
index 25f2d13ee..a3cb0065a 100644
--- a/nezha-fronted/src/components/common/language/cn.js
+++ b/nezha-fronted/src/components/common/language/cn.js
@@ -669,6 +669,8 @@ const cn = {
replay: "回放",
source: "源IP",
log: "日志",
+ killErrorTip: "踢出失败",
+ monitor: "监控",
cmd: {
cmd: "命令",
history: "历史命令",
diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js
index 426bdd66e..c5d1b0ea5 100644
--- a/nezha-fronted/src/components/common/language/en.js
+++ b/nezha-fronted/src/components/common/language/en.js
@@ -706,6 +706,8 @@ const en = {
remote: "Remote",
log: "Log",
source: "Source IP",
+ killErrorTip: "Killing failed",
+ monitor: "monitoring",
cmd: {
cmd: "Command",
history: "History command",
diff --git a/nezha-fronted/src/components/page/config/terminallog.vue b/nezha-fronted/src/components/page/config/terminallog.vue
index 944919fd6..38c16c6d5 100644
--- a/nezha-fronted/src/components/page/config/terminallog.vue
+++ b/nezha-fronted/src/components/page/config/terminallog.vue
@@ -51,6 +51,9 @@
{{getStatusText(scope.row.status)}}
+
+ {{scope.row.uuid.substring(0, 8).toUpperCase()}}
+
{{getRemoteText(scope.row)}}
@@ -58,9 +61,16 @@
{{getDuration(scope.row)}}
-
-
-
+
+
+
+
+
+
+
+
+
+
{{scope.row[item.prop]}}
@@ -292,6 +302,19 @@
this.bottomBox.targetTab = 'cmd';
this.bottomBox.terminalLog = JSON.parse(JSON.stringify(record));
this.bottomBox.showSubList = true;
+ },
+ shutdown(record) {
+ this.$put("/terminal/kill", {uuid: record.uuid}).then(res => {
+ if (res.code === 200) {
+ this.$message.success(this.$t("config.terminallog.success"));
+ this.getTableData();
+ } else {
+ this.$message.error(this.$t("config.terminallog.killErrorTip"));
+ }
+ });
+ },
+ monitor(record) {
+
},
// 全屏
fullScreen() {