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

View File

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