fix:operation log列表调整
This commit is contained in:
@@ -767,7 +767,7 @@ const cn = {
|
||||
promExpr: "请输入表达式",
|
||||
dialogTitle: "图表",
|
||||
hideSameLabels: "隐藏重复标签",
|
||||
stateInfo_230009: "prometheus服务可以获取",
|
||||
stateInfo_230009: "无法获取prometheus服务",
|
||||
stateInfo_230010: "prometheus服务可用",
|
||||
stateInfo_230011: "prometheus服务不可用 "
|
||||
},
|
||||
|
||||
@@ -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,9 +773,9 @@ 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 beused ',
|
||||
stateInfo_230011:'promserver can not be used',
|
||||
|
||||
},
|
||||
metrics: {
|
||||
|
||||
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user