mirror of
https://github.com/jumpserver/lina.git
synced 2025-05-12 01:58:51 +00:00
Fixed: Secret Key
This commit is contained in:
parent
3198517b75
commit
9262ce56d1
src
layout/components/GenericListDrawerPage
views
@ -31,6 +31,11 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
reloadTable() {
|
||||
this.$refs.ListTable.reloadTable()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<TwoCol>
|
||||
<BaseList :columns-show="columnsShow" :url="url" />
|
||||
<BaseList :columns-show="columnsShow" :columns-meta="columnsMeta" :url="url" />
|
||||
</TwoCol>
|
||||
</template>
|
||||
|
||||
@ -29,9 +29,13 @@ export default {
|
||||
'id', 'user', 'asset', 'account',
|
||||
'date_start', 'duration'
|
||||
]
|
||||
},
|
||||
columnsMeta: {
|
||||
id: {
|
||||
width: '80px'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<GenericListPage
|
||||
ref="GenericListTable"
|
||||
ref="GenericListPage"
|
||||
:create-drawer="createDrawer"
|
||||
:header-actions="headerActions"
|
||||
:help-tip="helpMessage"
|
||||
:table-config="tableConfig"
|
||||
@ -23,6 +24,7 @@ export default {
|
||||
data() {
|
||||
const ajaxUrl = '/api/v1/authentication/access-keys/'
|
||||
return {
|
||||
createDrawer: () => import('@/views/profile/AccessKey/CreateUpdate'),
|
||||
mfaUrl: '',
|
||||
mfaDialogVisible: false,
|
||||
helpMessage: this.$t('ApiKeyList'),
|
||||
@ -117,11 +119,8 @@ export default {
|
||||
this.reloadTable()
|
||||
},
|
||||
reloadTable() {
|
||||
this.$refs.GenericListTable.reloadTable()
|
||||
this.$refs.GenericListPage.reloadTable()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user