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: "请输入表达式", promExpr: "请输入表达式",
dialogTitle: "图表", dialogTitle: "图表",
hideSameLabels: "隐藏重复标签", hideSameLabels: "隐藏重复标签",
stateInfo_230009: "prometheus服务可以获取", stateInfo_230009: "无法获取prometheus服务",
stateInfo_230010: "prometheus服务可用", stateInfo_230010: "prometheus服务可用",
stateInfo_230011: "prometheus服务不可用 " stateInfo_230011: "prometheus服务不可用 "
}, },

View File

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

View File

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