mirror of
https://github.com/jumpserver/lina.git
synced 2025-04-27 11:10:51 +00:00
perf: ds add help message
This commit is contained in:
parent
5766833bd2
commit
e8fe386c1b
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<BaseList v-bind="tableConfig" />
|
||||
<BaseList v-bind="config" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -11,9 +11,10 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tableConfig: {
|
||||
config: {
|
||||
url: '/api/v1/assets/directories/',
|
||||
category: 'ds',
|
||||
url: '/api/v1/assets/directories/'
|
||||
helpMessage: this.$t('DirectoryServiceHelpMessage')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,12 +70,11 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
hasLeft: false,
|
||||
hasSearch: true,
|
||||
hasRefresh: true,
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
hasCreate: false,
|
||||
hasMoreActions: false
|
||||
hasImport: false
|
||||
},
|
||||
userRelationConfig: {
|
||||
icon: 'fa-user',
|
||||
@ -103,7 +102,8 @@ export default {
|
||||
onAddSuccess: (objects, that) => {
|
||||
this.$log.debug('Select value', that.select2.value)
|
||||
that.iHasObjects = [...that.iHasObjects, ...objects]
|
||||
this.$store.commit('common/reload')
|
||||
that.$refs.select2.clearSelected()
|
||||
this.$refs.ListTable.reloadTable()
|
||||
}
|
||||
},
|
||||
groupRelationConfig: {
|
||||
|
Loading…
Reference in New Issue
Block a user