操作日志界面调整

This commit is contained in:
sonake
2020-04-17 17:19:33 +08:00
parent 95ca2ed263
commit 688e08e263
4 changed files with 54 additions and 13 deletions

View File

@@ -587,8 +587,13 @@ const cn = {
username: "用户名",
operation: "操作",
type: "类型",
createDate: "创建时间",
ip: "IP"
createDate: "操作时间",
ip: "IP",
userId: "UserId",
operaId: "数据ID",
time: "耗时",
params: "请求参数",
state: "请求结果"
},
mib: {
mib: "SNMP MIB",

View File

@@ -590,8 +590,13 @@ const en = {
username: 'User',
operation: 'Operation',
type: 'Type',
createDate: 'CreateDate',
ip: "IP"
createDate: 'Date',
ip: "IP",
userId: "UserId",
operaId: "OperaId",
time: "Time",
params: "Params",
state: "State"
},
mib:{
mib:'SNMP MIB',

View File

@@ -58,6 +58,32 @@
label:i18n.t('asset.pingActive')
}
],
operation: [
{
value: 'add',
label: i18n.t('overall.add')
},
{
value: 'update',
label: i18n.t('overall.edit')
},
{
value: 'query',
label: i18n.t('overall.query')
},
{
value: 'import',
label: i18n.t('overall.importExcelLower')
},
{
value: 'export',
label: i18n.t('overall.exportExcelLower')
},
{
value: 'reset',
label: i18n.t('overall.reset')
}
],
alertMessageState: [
{
value: '1',

View File

@@ -150,24 +150,29 @@
show: true,
},
{
label: this.$t('config.operationlog.createDate'),
prop: 'createDate',
label: this.$t('config.operationlog.state'),
prop: 'state',
show: true,
},
{
label: this.$t('config.operationlog.userId'),
prop: 'userId',
show: false,
},
// {
// label: this.$t('config.operationlog.userId'),
// prop: 'userId',
// show: false,
// },
{
label: this.$t('config.operationlog.operaId'),
prop: 'operaId',
show: false,
},
{
label: this.$t('config.operationlog.createDate'),
prop: 'createDate',
show: true,
},
{
label: this.$t('config.operationlog.time'),
prop: 'time',
show: true,
show: false,
},
{
label: this.$t('config.operationlog.params'),
@@ -196,7 +201,7 @@
},{
id: 13,
name: this.$t('config.operationlog.operation'),
type: 'input',
type: 'selectString',
label: 'operation',
disabled: false
}