diff --git a/src/router/console/assets.js b/src/router/console/assets.js index 7c63b288a..d5e8f3120 100644 --- a/src/router/console/assets.js +++ b/src/router/console/assets.js @@ -54,7 +54,7 @@ export default [ { path: '', name: 'HostList', - component: () => import('@/views/assets/Asset/AssetList.vue'), + component: () => import('@/views/assets/Host/HostList.vue'), meta: { title: i18n.t('route.HostList') } }, { diff --git a/src/views/assets/Host/HostList.vue b/src/views/assets/Host/HostList.vue new file mode 100644 index 000000000..f0e5a4193 --- /dev/null +++ b/src/views/assets/Host/HostList.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/views/assets/Platform/PlatformList.vue b/src/views/assets/Platform/PlatformList.vue index 3d1bdb538..eac9dffad 100644 --- a/src/views/assets/Platform/PlatformList.vue +++ b/src/views/assets/Platform/PlatformList.vue @@ -14,9 +14,13 @@ export default { tableConfig: { url: '/api/v1/assets/platforms/', columns: [ - 'name', 'base', + 'name', 'category', 'type', 'comment', 'actions' ], + columnsShow: { + min: ['name', 'actions'], + default: ['name', 'category', 'type', 'actions'] + }, columnsMeta: { base: { width: '140px'