diff --git a/backend/src/main/resources/db/migration/V40__1.15.sql b/backend/src/main/resources/db/migration/V40__1.15.sql index e6b292b6ce..2fc7c827b5 100644 --- a/backend/src/main/resources/db/migration/V40__1.15.sql +++ b/backend/src/main/resources/db/migration/V40__1.15.sql @@ -8,3 +8,5 @@ CREATE TABLE `sys_external_token` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci; UPDATE `sys_menu` set `component` = 'system/datasource/DsForm' where `component` = 'system/datasource/form'; + +INSERT INTO `sys_menu` VALUES (800, 0, 0, 1, '数据集表单', 'dataset-form', 'dataset/form', 999, NULL, '/dataset-form', b'0', b'0', b'1', NULL, NULL, NULL, NULL, NULL); diff --git a/frontend/src/store/modules/permission.js b/frontend/src/store/modules/permission.js index b39b50c358..0b8a18edd3 100644 --- a/frontend/src/store/modules/permission.js +++ b/frontend/src/store/modules/permission.js @@ -29,7 +29,7 @@ const actions = { commit('SET_CURRENT_PATH', path) } } -export const fullScreenRouters = ['XpackThemeForm', 'system/datasource/DsForm'] +export const fullScreenRouters = ['XpackThemeForm', 'system/datasource/DsForm', 'dataset/form'] export const filterAsyncRouter = (routers) => { // 遍历后台传来的路由字符串,转换为组件对象 return routers.map(router => { if (!fullScreenRouters.includes(router.component) && router.type === 1 && router.pid === 0 && router.component && router.component !== 'Layout') { diff --git a/frontend/src/views/dataset/form.vue b/frontend/src/views/dataset/form.vue new file mode 100644 index 0000000000..ca322a2443 --- /dev/null +++ b/frontend/src/views/dataset/form.vue @@ -0,0 +1,17 @@ + + +