fix : 修改 terminalLogTable 页面
This commit is contained in:
@@ -82,6 +82,8 @@ export default {
|
||||
methods: {
|
||||
async getTableData () {
|
||||
this.$set(this.searchLabel, 'uuid', this.obj.uuid)
|
||||
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
|
||||
this.$set(this.searchLabel, 'pageSize', -1)
|
||||
this.tools.loading = true
|
||||
this.$get(this.url, this.searchLabel).then(response => {
|
||||
this.tools.loading = false
|
||||
|
||||
@@ -67,12 +67,12 @@
|
||||
</template>
|
||||
<template v-else-if="item.prop === 'cmdNum'">
|
||||
<div style="cursor: pointer" @click="showBottomBox('cmdTab', scope.row)">
|
||||
{{scope.row[item.prop] ? scope.row[item.prop] : '-'}}
|
||||
{{scope.row[item.prop] ? scope.row[item.prop] : 0}}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="item.prop === 'sftpNum'">
|
||||
<div style="cursor: pointer" @click="showBottomBox('sftpTab', scope.row)">
|
||||
{{scope.row[item.prop] ? scope.row[item.prop] : '-'}}
|
||||
{{scope.row[item.prop] ? scope.row[item.prop] : 0}}
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="item.prop === 'authType'">
|
||||
@@ -197,15 +197,13 @@ export default {
|
||||
label: this.$t('config.terminallog.cmd.cmd'),
|
||||
prop: 'cmdNum',
|
||||
show: false,
|
||||
width: 120,
|
||||
sortable: 'custom'
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
label: this.$t('terminal.sftp'),
|
||||
prop: 'sftpNum',
|
||||
show: false,
|
||||
width: 100,
|
||||
sortable: 'custom'
|
||||
width: 80
|
||||
},
|
||||
{
|
||||
label: this.$t('overall.state'), // killusername鼠标悬停形式
|
||||
|
||||
Reference in New Issue
Block a user