提交
This commit is contained in:
1 parent
f269a994f4
commit
93cd506a90
71 files changed
+8297
-2207
No files matched your search
+17
-74
@@ -6,76 +6,19 @@ from app.core.response import success_response
|
||||
|
||||
router = APIRouter(prefix="/web/menu", tags=["菜单管理"])
|
||||
|
||||
# 与 web-admin/src/router/modules/sqxp.ts 一致:Demo、系统管理、基础信息管理 等
|
||||
# 与 web-admin/src/router/modules/sqxp.ts 一致:工作台、系统管理、基础信息管理 等
|
||||
STATIC_MENU_TREE = [
|
||||
{
|
||||
"id": "10000000000000000000000000000002",
|
||||
"name": "Demo",
|
||||
"path": "/demo",
|
||||
"component": "/index/index",
|
||||
"id": "10000000000000000000000000000001_child",
|
||||
"name": "Console",
|
||||
"path": "/console",
|
||||
"component": "/dashboard/console/index",
|
||||
"meta": {
|
||||
"title": "Demo",
|
||||
"icon": "ri:layout-grid-line",
|
||||
"keepAlive": False,
|
||||
"roles": ["admin"],
|
||||
"title": "工作台",
|
||||
"keepAlive": True,
|
||||
"fixedTab": True,
|
||||
"menuCode": "dashboard",
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": "10000000000000000000000000000001_child",
|
||||
"name": "Console",
|
||||
"path": "console",
|
||||
"component": "/dashboard/console/index",
|
||||
"meta": {
|
||||
"title": "工作台",
|
||||
"icon": "ri:home-smile-2-line",
|
||||
"keepAlive": True,
|
||||
"fixedTab": True,
|
||||
"menuCode": "dashboard",
|
||||
},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000005",
|
||||
"name": "Unit",
|
||||
"path": "unit",
|
||||
"component": "/system/unit/index",
|
||||
"meta": {"title": "商品单位", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000021",
|
||||
"name": "OrderList",
|
||||
"path": "order",
|
||||
"component": "/system/order/index",
|
||||
"meta": {"title": "订单列表", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000006",
|
||||
"name": "Product",
|
||||
"path": "product",
|
||||
"component": "/system/product/index",
|
||||
"meta": {"title": "商品管理", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000004",
|
||||
"name": "Category",
|
||||
"path": "category",
|
||||
"component": "/system/category/index",
|
||||
"meta": {"title": "商品分类", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000007",
|
||||
"name": "User",
|
||||
"path": "user",
|
||||
"component": "/system/user/index",
|
||||
"meta": {"title": "用户管理", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "10000000000000000000000000000008",
|
||||
"name": "UserDetail",
|
||||
"path": "user/detail",
|
||||
"component": "/system/user/detail",
|
||||
"meta": {"title": "用户详情", "isHide": True, "keepAlive": True},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"id": "100",
|
||||
@@ -234,7 +177,14 @@ STATIC_MENU_TREE = [
|
||||
"name": "CellStorageProtocol",
|
||||
"path": "protocol",
|
||||
"component": "/cell-storage/protocol/index",
|
||||
"meta": {"title": "采集协议单", "keepAlive": True},
|
||||
"meta": {"title": "采集协议单录入", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "50000000000000000000000000000003",
|
||||
"name": "CellStorageProtocolAudit",
|
||||
"path": "protocol-audit",
|
||||
"component": "/cell-storage/protocol-audit/index",
|
||||
"meta": {"title": "采集协议单管理", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "50000000000000000000000000000007",
|
||||
@@ -243,13 +193,6 @@ STATIC_MENU_TREE = [
|
||||
"component": "/cell-storage/payment-info/index",
|
||||
"meta": {"title": "缴费信息", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "50000000000000000000000000000003",
|
||||
"name": "CellStorageProtocolAudit",
|
||||
"path": "protocol-audit",
|
||||
"component": "/cell-storage/protocol-audit/index",
|
||||
"meta": {"title": "采集协议单审核", "keepAlive": True},
|
||||
},
|
||||
{
|
||||
"id": "50000000000000000000000000000004",
|
||||
"name": "CellStoragePaymentConfirm",
|
||||
|
||||
Reference in new issue
Block a user