From e3b2af07c88aa6098b5035c5e672a42228876fe0 Mon Sep 17 00:00:00 2001 From: yaolei Date: Fri, 10 May 2024 20:59:57 +0800 Subject: [PATCH] [Bug]Encounter 404 errors while visiting Setting module pages (#3702) --- .../src/main/assembly/script/data/mysql-data.sql | 6 +++--- .../src/main/assembly/script/data/pgsql-data.sql | 6 +++--- .../src/views/setting/{yarnqueue => yarnQueue}/View.vue | 0 .../setting/{yarnqueue => yarnQueue}/YarnQueueDrawer.vue | 0 .../views/setting/{yarnqueue => yarnQueue}/index.data.ts | 0 .../setting/{yarnqueue => yarnQueue}/useYarnQueueRender.tsx | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename streampark-console/streampark-console-webapp/src/views/setting/{yarnqueue => yarnQueue}/View.vue (100%) rename streampark-console/streampark-console-webapp/src/views/setting/{yarnqueue => yarnQueue}/YarnQueueDrawer.vue (100%) rename streampark-console/streampark-console-webapp/src/views/setting/{yarnqueue => yarnQueue}/index.data.ts (100%) rename streampark-console/streampark-console-webapp/src/views/setting/{yarnqueue => yarnQueue}/useYarnQueueRender.tsx (100%) diff --git a/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql b/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql index 8b232c9ed4..545eba7086 100644 --- a/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql +++ b/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql @@ -104,10 +104,10 @@ insert into `t_menu` values (130301, 130300, 'resource add', NULL, NULL, 'resour insert into `t_menu` values (130302, 130300, 'resource update', NULL, NULL, 'resource:update', NULL, '1', 1, NULL, now(), now()); insert into `t_menu` values (130303, 130300, 'resource delete', NULL, NULL, 'resource:delete', NULL, '1', 1, NULL, now(), now()); -insert into `t_menu` values (140100, 140000, 'setting.system', '/setting/System', 'setting/System/View', null, null, '0', 1, 1, now(), now()); -insert into `t_menu` values (140200, 140000, 'setting.alarm', '/setting/Alarm', 'setting/Alarm/View', null, null, '0', 1, 2, now(), now()); +insert into `t_menu` values (140100, 140000, 'setting.system', '/setting/system', 'setting/system/View', null, null, '0', 1, 1, now(), now()); +insert into `t_menu` values (140200, 140000, 'setting.alarm', '/setting/alarm', 'setting/alarm/View', null, null, '0', 1, 2, now(), now()); insert into `t_menu` values (140300, 140000, 'setting.externalLink', '/setting/extlink', 'setting/extlink/View', 'menu:view', null, '0', 1, 5, now(), now()); -insert into `t_menu` values (140400, 140000, 'setting.yarnQueue', '/setting/YarnQueue', 'setting/YarnQueue/View', 'menu:view', null, '0', 1, 6, now(), now()); +insert into `t_menu` values (140400, 140000, 'setting.yarnQueue', '/setting/yarnQueue', 'setting/yarnQueue/View', 'menu:view', null, '0', 1, 6, now(), now()); insert into `t_menu` values (140101, 140100, 'setting view', null, null, 'setting:view', null, '1', 1, null, now(), now()); insert into `t_menu` values (140102, 140100, 'setting update', null, null, 'setting:update', null, '1', 1, null, now(), now()); diff --git a/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql b/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql index ee914d3af9..686865b1d0 100644 --- a/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql +++ b/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql @@ -59,12 +59,12 @@ insert into "public"."t_menu" values (120100, 120000, 'menu.project', '/flink/pr insert into "public"."t_menu" values (120200, 120000, 'menu.application', '/flink/app', 'flink/app/View', null, 'mobile', '0', '1', 2, now(), now()); insert into "public"."t_menu" values (120300, 120000, 'menu.variable', '/flink/variable', 'flink/variable/View', null, 'code', '0', '1', 3, now(), now()); insert into "public"."t_menu" values (120400, 120000, 'menu.resource', '/flink/resource', 'flink/resource/View', null, 'apartment', '0', '1', 3, now(), now()); -insert into "public"."t_menu" values (130100, 130000, 'setting.system', '/setting/system', 'setting/System/index', null, 'database', '0', '1', 1, now(), now()); -insert into "public"."t_menu" values (130200, 130000, 'setting.alarm', '/setting/alarm', 'setting/Alarm/index', null, 'alert', '0', '1', 2, now(), now()); +insert into "public"."t_menu" values (130100, 130000, 'setting.system', '/setting/system', 'setting/system/View', null, 'database', '0', '1', 1, now(), now()); +insert into "public"."t_menu" values (130200, 130000, 'setting.alarm', '/setting/alarm', 'setting/alarm/View', null, 'alert', '0', '1', 2, now(), now()); insert into "public"."t_menu" values (130300, 130000, 'setting.flinkHome', '/setting/flinkHome', 'setting/FlinkHome/index', null, 'desktop', '0', '1', 3, now(), now()); insert into "public"."t_menu" values (130400, 130000, 'setting.flinkCluster', '/setting/flinkCluster', 'setting/FlinkCluster/index', 'menu:view', 'cluster', '0', '1', 4, now(), now()); insert into "public"."t_menu" values (130500, 130000, 'setting.externalLink', '/setting/externalLink', 'setting/ExternalLink/index', 'menu:view', 'link', '0', '1', 5, now(), now()); -insert into "public"."t_menu" values (130600, 130000, 'setting.yarnQueue', '/setting/yarnQueue', 'setting/YarnQueue/index', 'menu:view', 'bars', '0', '1', 6, now(), now()); +insert into "public"."t_menu" values (130600, 130000, 'setting.yarnQueue', '/setting/yarnQueue', 'setting/yarnQueue/View', 'menu:view', 'bars', '0', '1', 6, now(), now()); insert into "public"."t_menu" values (110101, 110100, 'add', null, null, 'user:add', null, '1', '1', null, now(), now()); insert into "public"."t_menu" values (110102, 110100, 'update', null, null, 'user:update', null, '1', '1', null, now(), now()); insert into "public"."t_menu" values (110103, 110100, 'delete', null, null, 'user:delete', null, '1', '1', null, now(), now()); diff --git a/streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/View.vue b/streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/View.vue similarity index 100% rename from streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/View.vue rename to streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/View.vue diff --git a/streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/YarnQueueDrawer.vue b/streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/YarnQueueDrawer.vue similarity index 100% rename from streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/YarnQueueDrawer.vue rename to streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/YarnQueueDrawer.vue diff --git a/streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/index.data.ts b/streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/index.data.ts similarity index 100% rename from streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/index.data.ts rename to streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/index.data.ts diff --git a/streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/useYarnQueueRender.tsx b/streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/useYarnQueueRender.tsx similarity index 100% rename from streampark-console/streampark-console-webapp/src/views/setting/yarnqueue/useYarnQueueRender.tsx rename to streampark-console/streampark-console-webapp/src/views/setting/yarnQueue/useYarnQueueRender.tsx