fix:operation log列表调整

This commit is contained in:
wangwenrui
2020-04-21 10:16:28 +08:00
parent c55ba39b55
commit 52219ec6b4
3 changed files with 17 additions and 8 deletions

View File

@@ -767,7 +767,7 @@ const cn = {
promExpr: "请输入表达式",
dialogTitle: "图表",
hideSameLabels: "隐藏重复标签",
stateInfo_230009: "prometheus服务可以获取",
stateInfo_230009: "无法获取prometheus服务",
stateInfo_230010: "prometheus服务可用",
stateInfo_230011: "prometheus服务不可用 "
},

View File

@@ -590,13 +590,14 @@ const en = {
username: 'User',
operation: 'Operation',
type: 'Type',
createDate: 'Date',
createDate: 'Time',
ip: "IP",
userId: "UserId",
operaId: "OperaId",
time: "Time",
operaId: "Resources",
time: "Duration",
params: "Params",
state: "State"
state: "State",
response:"Response"
},
mib:{
mib:'SNMP MIB',
@@ -772,7 +773,7 @@ const en = {
promExpr: 'Please input expression',
dialogTitle:'View', //endpoint 弹出dialog 标题,
hideSameLabels:'Hide same labels',
stateInfo_230009:'promserver available',
stateInfo_230009:'promserver unavailable',
stateInfo_230010:'promserver can be used',
stateInfo_230011:'promserver can not be used',

View File

@@ -67,6 +67,9 @@
{{scope.row[item.prop] == 'zh' ? '中文' : ''}}
{{scope.row[item.prop] == 'ru' ? 'русский' : ''}}
</span>
<span v-if="item.prop == 'time'">
{{scope.row[item.prop]}} ms
</span>
<span v-else>{{scope.row[item.prop]}}</span>
</template>
</el-table-column>
@@ -180,7 +183,12 @@
label: this.$t('config.operationlog.params'),
prop: 'params',
show: false,
}
},
{
label: this.$t('config.operationlog.response'),
prop: 'response',
show: false,
},
],
tablelable: [],
dropCol: [],