NEZ-3092 fix:调整 Web terminal log 字段值与列名 一致

This commit is contained in:
zhangyu
2023-08-18 18:18:42 +08:00
parent e5069a0b30
commit 3d601d7317
3 changed files with 63 additions and 42 deletions

View File

@@ -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,

View File

@@ -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',

View File

@@ -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,