fix(menu): 修复两级菜单结构和嵌套问题
1. 菜单类型默认值改为 TOP_LEFT(顶部一级+左侧二级) 2. 二级菜单 component 设为空字符串避免嵌套布局 3. 前端和后端菜单数据同步更新 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e6350d5e33
commit
7f7979679f
29 files changed
+720
-200
No files matched your search
+14
-14
@@ -30,7 +30,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "CEL00000000000000000000000000001",
|
||||
"name": "CellStorage",
|
||||
"path": "cell-storage",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "细胞存储",
|
||||
"icon": "ri:test-tube-line",
|
||||
@@ -80,7 +80,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "RSC00000000000000000000000000001",
|
||||
"name": "ResearchDonation",
|
||||
"path": "research-donation",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "科研捐赠",
|
||||
"icon": "ri:hand-heart-line",
|
||||
@@ -116,7 +116,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "PIL00000000000000000000000000001",
|
||||
"name": "PilotService",
|
||||
"path": "pilot-service",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "中试服务",
|
||||
"icon": "ri:flask-line",
|
||||
@@ -145,7 +145,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "BEX00000000000000000000000000001",
|
||||
"name": "BasicExperiment",
|
||||
"path": "basic-experiment",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "基础实验",
|
||||
"icon": "ri:flask-line",
|
||||
@@ -193,7 +193,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "MKT00000000000000000000000000001",
|
||||
"name": "MarketInfo",
|
||||
"path": "market-info",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "市场基础信息",
|
||||
"icon": "ri:price-tag-3-line",
|
||||
@@ -291,7 +291,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "CLI00000000000000000000000000001",
|
||||
"name": "ClinicalApplication",
|
||||
"path": "clinical-application",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "临床应用",
|
||||
"icon": "ri:heart-pulse-line",
|
||||
@@ -386,7 +386,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "PRM00000000000000000000000000001",
|
||||
"name": "ProductionManage",
|
||||
"path": "production",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "生产管理",
|
||||
"icon": "grid",
|
||||
@@ -433,7 +433,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "PRB00000000000000000000000000001",
|
||||
"name": "ProductionBase",
|
||||
"path": "production-base",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "生产基础信息",
|
||||
"icon": "ri:tools-line",
|
||||
@@ -503,7 +503,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "QCM00000000000000000000000000001",
|
||||
"name": "QualityManage",
|
||||
"path": "quality-manage",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "质检管理",
|
||||
"icon": "ri:shield-check-line",
|
||||
@@ -561,7 +561,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "QCB00000000000000000000000000001",
|
||||
"name": "QualityBase",
|
||||
"path": "quality-base",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "质检基础信息",
|
||||
"icon": "ri:clipboard-line",
|
||||
@@ -624,7 +624,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "SYSB000000000000000000000000000001",
|
||||
"name": "SystemBase",
|
||||
"path": "system-base",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "系统基础信息",
|
||||
"icon": "ri:archive-line",
|
||||
@@ -660,7 +660,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "OPS00000000000000000000000000001",
|
||||
"name": "Operations",
|
||||
"path": "operations",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "运营支撑",
|
||||
"icon": "operation",
|
||||
@@ -709,7 +709,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "SYSM000000000000000000000000000001",
|
||||
"name": "SystemManage",
|
||||
"path": "system",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "系统管理",
|
||||
"icon": "ri:settings-3-line",
|
||||
@@ -780,7 +780,7 @@ STATIC_MENU_TREE = [
|
||||
"id": "WKF00000000000000000000000000001",
|
||||
"name": "Workflow",
|
||||
"path": "workflow",
|
||||
"component": "/index/index",
|
||||
"component": "",
|
||||
"meta": {
|
||||
"title": "工作流管理",
|
||||
"icon": "workflow",
|
||||
|
||||
Reference in new issue
Block a user