From 9a3d24ac8176bc232f69c2dbd804913bf2a0d049 Mon Sep 17 00:00:00 2001 From: kdyq007 Date: Wed, 20 Nov 2019 19:02:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=20=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/config/router.config.js | 7 + .../cmdb/acl/module/resourceTypeForm.vue | 218 +++++++++++++ ui/src/views/cmdb/acl/resource_types.vue | 307 ++++++++++++++++++ 3 files changed, 532 insertions(+) create mode 100644 ui/src/views/cmdb/acl/module/resourceTypeForm.vue create mode 100644 ui/src/views/cmdb/acl/resource_types.vue diff --git a/ui/src/config/router.config.js b/ui/src/config/router.config.js index be7ab04..b41bf9b 100644 --- a/ui/src/config/router.config.js +++ b/ui/src/config/router.config.js @@ -93,6 +93,13 @@ const cmdbRouter = [ hideChildrenInMenu: true, component: () => import('@/views/cmdb/acl/resources'), meta: { title: '资源管理', keepAlive: true } + }, + { + path: '/acl/resource_types', + name: 'acl_resource_types', + hideChildrenInMenu: true, + component: () => import('@/views/cmdb/acl/resource_types'), + meta: { title: '资源类型', keepAlive: true } } ] } diff --git a/ui/src/views/cmdb/acl/module/resourceTypeForm.vue b/ui/src/views/cmdb/acl/module/resourceTypeForm.vue new file mode 100644 index 0000000..1199f99 --- /dev/null +++ b/ui/src/views/cmdb/acl/module/resourceTypeForm.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/ui/src/views/cmdb/acl/resource_types.vue b/ui/src/views/cmdb/acl/resource_types.vue new file mode 100644 index 0000000..62591d4 --- /dev/null +++ b/ui/src/views/cmdb/acl/resource_types.vue @@ -0,0 +1,307 @@ + + + + +