diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue index c801d9bdc..f23d592ec 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue @@ -73,34 +73,38 @@ export default { zheze_none: true, searchLabelList: [ { - id: 11, - name: this.$t('config.terminallog.loginHost'), + id: 15, + name: this.$t('config.terminallog.SessionID'), type: 'input', - label: 'host', + label: 'uuid', disabled: false - }, { - id: 12, - name: this.$t('config.terminallog.loginUser'), - type: 'input', - label: 'loginUser', - disabled: false - }, { - id: 13, - name: this.$t('ping.sourceIp'), - type: 'input', - label: 'remoteAddr', - disabled: false - }, { + }, + { id: 14, name: this.$t('config.terminallog.sourceUser'), type: 'input', label: 'username', disabled: false - }, { - id: 15, - name: this.$t('config.terminallog.uuid'), + }, + { + id: 13, + name: this.$t('ping.sourceIp'), type: 'input', - label: 'uuid', + label: 'remoteAddr', + disabled: false + }, + { + id: 12, + name: this.$t('config.terminallog.loginUser'), + type: 'input', + label: 'loginUser', + disabled: false + }, + { + id: 11, + name: this.$t('config.terminallog.loginHost'), + type: 'input', + label: 'host', disabled: false }, { id: 16, diff --git a/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue b/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue index d90fa1dfe..46b8ebf55 100644 --- a/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue +++ b/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue @@ -153,8 +153,9 @@ export default { prop: 'uuid', minWidth: 200, show: true - }, { - label: this.$t('config.operationlog.username'), + }, + { + label: this.$t('config.terminallog.sourceUser'), prop: 'username', minWidth: 200, show: true @@ -166,6 +167,18 @@ export default { show: true, sortable: 'custom' }, + { + label: this.$t('config.terminallog.loginUser'), + prop: 'loginUser', + minWidth: 200, + show: true + }, + { + label: this.$t('config.terminallog.loginHost'), + prop: 'host', + minWidth: 200, + show: true + }, { label: this.$t('config.terminallog.remote'), prop: 'remote', diff --git a/nezha-fronted/src/components/page/config/terminalLog.vue b/nezha-fronted/src/components/page/config/terminalLog.vue index 6063afb8d..9e0b4e27a 100644 --- a/nezha-fronted/src/components/page/config/terminalLog.vue +++ b/nezha-fronted/src/components/page/config/terminalLog.vue @@ -119,34 +119,38 @@ export default { searchMsg: { // 给搜索框子组件传递的信息 searchLabelList: [ { - id: 11, - name: this.$t('config.terminallog.loginHost'), + id: 15, + name: this.$t('config.terminallog.SessionID'), type: 'input', - label: 'host', + label: 'uuid', disabled: false - }, { - id: 12, - name: this.$t('config.terminallog.loginUser'), - type: 'input', - label: 'loginUser', - disabled: false - }, { - id: 13, - name: this.$t('ping.sourceIp'), - type: 'input', - label: 'remoteAddr', - disabled: false - }, { + }, + { id: 14, name: this.$t('config.terminallog.sourceUser'), type: 'input', label: 'username', disabled: false - }, { - id: 15, - name: this.$t('config.terminallog.uuid'), + }, + { + id: 13, + name: this.$t('ping.sourceIp'), type: 'input', - label: 'uuid', + label: 'remoteAddr', + disabled: false + }, + { + id: 12, + name: this.$t('config.terminallog.loginUser'), + type: 'input', + label: 'loginUser', + disabled: false + }, + { + id: 11, + name: this.$t('config.terminallog.loginHost'), + type: 'input', + label: 'host', disabled: false }, { id: 16,