feat: 修改asset select

This commit is contained in:
ibuler
2020-06-09 19:56:44 +08:00
parent 4b4bb455d6
commit b8966748d6
2 changed files with 6 additions and 5 deletions

View File

@@ -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,

View File

@@ -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: {