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