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 @@
+
+
+
+
+
+
+
+
setSelectedKeys(e.target.value ? [e.target.value] : [])"
+ @pressEnter="() => handleSearch(selectedKeys, confirm, column)"
+ style="width: 188px; margin-bottom: 8px; display: block;"
+ />
+ handleSearch(selectedKeys, confirm, column)"
+ icon="search"
+ size="small"
+ style="width: 90px; margin-right: 8px"
+ >搜索
+ handleReset(clearFilters, column)"
+ size="small"
+ style="width: 90px"
+ >重置
+
+
+
+
+
+
+ {{ fragment }}
+ {{ fragment }}
+
+
+ {{ text }}
+
+
+ {{ text }}
+
+
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+