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