mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 09:43:32 +00:00
feat: 修改asset select
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
@confirm="handleConfirm"
|
@confirm="handleConfirm"
|
||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
>
|
>
|
||||||
<GenericTreeListPage
|
<TreeTable
|
||||||
ref="ListPage"
|
ref="ListPage"
|
||||||
:tree-setting="treeSetting"
|
:tree-setting="treeSetting"
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
@@ -22,13 +22,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import GenericTreeListPage from '@/layout/components/GenericTreeListPage'
|
import TreeTable from '@/components/TreeTable'
|
||||||
import { DetailFormatter } from '@/components/ListTable/formatters'
|
import { DetailFormatter } from '@/components/ListTable/formatters'
|
||||||
import { Select2, Dialog } from '@/components'
|
import { Select2, Dialog } from '@/components'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
componentName: 'AssetSelect',
|
componentName: 'AssetSelect',
|
||||||
components: { GenericTreeListPage, Select2, Dialog },
|
components: { TreeTable, Select2, Dialog },
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: Array,
|
type: Array,
|
||||||
|
@@ -91,7 +91,8 @@ export default {
|
|||||||
formatter: DetailFormatter,
|
formatter: DetailFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
route: 'AssetDetail'
|
route: 'AssetDetail'
|
||||||
}
|
},
|
||||||
|
showOverflowTooltip: true
|
||||||
},
|
},
|
||||||
ip: {
|
ip: {
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
@@ -114,7 +115,7 @@ export default {
|
|||||||
},
|
},
|
||||||
hasTips: true
|
hasTips: true
|
||||||
},
|
},
|
||||||
width: '80px',
|
width: '90px',
|
||||||
align: 'center'
|
align: 'center'
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
|
Reference in New Issue
Block a user