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