From 74de3ec0b33ca82ad157e5a0030d54f46e719bbd Mon Sep 17 00:00:00 2001 From: EvanSung Date: Thu, 10 Aug 2023 19:23:41 +0800 Subject: [PATCH] refactor(fe): reduce the width of resource mgt table --- cmdb-ui/src/modules/acl/views/resources.vue | 45 +-------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/cmdb-ui/src/modules/acl/views/resources.vue b/cmdb-ui/src/modules/acl/views/resources.vue index 818ca14..f0bf29d 100644 --- a/cmdb-ui/src/modules/acl/views/resources.vue +++ b/cmdb-ui/src/modules/acl/views/resources.vue @@ -70,7 +70,7 @@ show-overflow > - + @@ -186,49 +186,6 @@ export default { pageSize: 50, }, tableData: [], - tableColumns: [ - { - type: 'checkbox', - fixed: 'left', - }, - { - title: '资源名', - field: 'name', - minWidth: '150px', - showOverflow: 'tooltip', - fixed: 'left', - slots: { - header: 'name_header', - }, - }, - { - title: '创建者', - minWidth: '100px', - field: 'user', - }, - { - title: '创建时间', - minWidth: '220px', - field: 'created_at', - align: 'center', - }, - { - title: '最后修改时间', - minWidth: '220px', - field: 'updated_at', - align: 'center', - }, - { - title: '操作', - field: 'action', - width: '200px', - fixed: 'right', - align: 'center', - slots: { - default: 'action_default', - }, - }, - ], btnName: '新增资源', isGroup: false, allResourceTypes: [],