mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 22:36:23 +00:00
@@ -5,7 +5,8 @@
|
|||||||
:width="iWidth"
|
:width="iWidth"
|
||||||
class="dialog"
|
class="dialog"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
append-to-body
|
:append-to-body="false"
|
||||||
|
:modal-append-to-body="false"
|
||||||
v-on="$listeners"
|
v-on="$listeners"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
|
@@ -92,11 +92,11 @@ export default {
|
|||||||
return this.selectedRows.length > 0
|
return this.selectedRows.length > 0
|
||||||
},
|
},
|
||||||
tableQuery() {
|
tableQuery() {
|
||||||
const listTableRef = this.$parent.$parent.$parent.$parent
|
const listTableRef = this.$parent?.$parent?.$parent?.$parent
|
||||||
if (!listTableRef) {
|
if (!listTableRef) {
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
const query = listTableRef.dataTable.getQuery()
|
const query = listTableRef?.dataTable?.getQuery() || {}
|
||||||
delete query['limit']
|
delete query['limit']
|
||||||
delete query['offset']
|
delete query['offset']
|
||||||
delete query['date_from']
|
delete query['date_from']
|
||||||
@@ -199,8 +199,11 @@ export default {
|
|||||||
this.mfaDialogShow = false
|
this.mfaDialogShow = false
|
||||||
},
|
},
|
||||||
handleExportCancel() {
|
handleExportCancel() {
|
||||||
this.exportDialogShow = false
|
const vm = this
|
||||||
this.mfaDialogShow = false
|
setTimeout(() => {
|
||||||
|
vm.exportDialogShow = false
|
||||||
|
vm.mfaDialogShow = false
|
||||||
|
}, 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
</PageHeading>
|
</PageHeading>
|
||||||
<PageContent>
|
<PageContent>
|
||||||
<el-alert v-if="helpMessage" type="success">
|
<el-alert v-if="helpMessage" type="success">
|
||||||
<span class="announcement-main">{{ helpMessage }}</span>
|
<span class="announcement-main" v-html="helpMessage" />
|
||||||
</el-alert>
|
</el-alert>
|
||||||
<slot />
|
<slot />
|
||||||
</PageContent>
|
</PageContent>
|
||||||
|
@@ -92,14 +92,14 @@ export default {
|
|||||||
hasTree: true,
|
hasTree: true,
|
||||||
columns: [
|
columns: [
|
||||||
'hostname', 'ip', 'public_ip', 'admin_user_display',
|
'hostname', 'ip', 'public_ip', 'admin_user_display',
|
||||||
'protocols', 'category', 'type', 'platform', 'sn', 'is_active',
|
'protocols', 'platform', 'sn', 'is_active',
|
||||||
'connectivity', 'labels_display',
|
'connectivity', 'labels_display',
|
||||||
'created_by', 'date_created', 'comment', 'org_name', 'actions'
|
'created_by', 'date_created', 'comment', 'org_name', 'actions'
|
||||||
],
|
],
|
||||||
columnsShow: {
|
columnsShow: {
|
||||||
min: ['hostname', 'ip', 'actions'],
|
min: ['hostname', 'ip', 'actions'],
|
||||||
default: [
|
default: [
|
||||||
'hostname', 'ip', 'platform', 'category', 'type',
|
'hostname', 'ip', 'platform',
|
||||||
'connectivity', 'actions'
|
'connectivity', 'actions'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user