瀏覽代碼

更新PCWEB菜单

zhou.xiaoning 4 年之前
父節點
當前提交
e90f013d4f
共有 2 個文件被更改,包括 349 次插入33 次删除
  1. 307 0
      config/menus/pc_menu_企业风管.json
  2. 42 33
      config/pc_menu.json

+ 307 - 0
config/menus/pc_menu_企业风管.json

@@ -0,0 +1,307 @@
+[
+    {
+        "code": "market",
+        "title": "市场",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "futures",
+                "title": "期货",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": [
+                    {
+                        "code": "dominant_contract",
+                        "title": "主力",
+                        "sort": 1,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    },
+                    {
+                        "code": "night_plate",
+                        "title": "夜盘",
+                        "sort": 2,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    },
+                    {
+                        "code": "main_contract",
+                        "title": "主连",
+                        "sort": 3,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    },
+                    {
+                        "code": "position",
+                        "title": "持仓",
+                        "sort": 21,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": [
+                            {
+                                "code": "open",
+                                "title": "开仓",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": false,
+                                "children": []
+                            },
+                            {
+                                "code": "close",
+                                "title": "平仓",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": false,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "orderdetail",
+                        "title": "委托",
+                        "sort": 22,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    },
+                    {
+                        "code": "tradedetail",
+                        "title": "成交",
+                        "sort": 23,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    },
+                    {
+                        "code": "closedetail",
+                        "title": "平仓",
+                        "sort": 24,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": false,
+                        "children": []
+                    }
+                ]
+            }
+        ]
+    },
+    {
+        "code": "info",
+        "title": "信息",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "custom_info",
+                "title": "客户资料",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "goods_info",
+                "title": "商品信息",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "spot_contract",
+                "title": "现货合同",
+                "sort": 3,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "warehouse_info",
+                "title": "仓库信息",
+                "sort": 4,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            }
+        ]
+    },
+    {
+        "code": "business",
+        "title": "业务",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "purchase",
+                "title": "采购",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "sell",
+                "title": "销售",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "exposure",
+                "title": "敞口",
+                "sort": 3,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "plan",
+                "title": "计划",
+                "sort": 4,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            }
+        ]
+    },
+    {
+        "code": "manage",
+        "title": "管理",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "business_review",
+                "title": "业务审核",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "finance_review",
+                "title": "财务审核",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "inventory_review",
+                "title": "库存审核",
+                "sort": 3,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            }
+        ]
+    },
+    {
+        "code": "search",
+        "title": "查询",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "inventory",
+                "title": "库存查询",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "outaccount_status",
+                "title": "账户状态",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            }
+        ]
+    },
+    {
+        "code": "report",
+        "title": "报表",
+        "sort": 6,
+        "type": 1,
+        "rulekey": "",
+        "isshow": false,
+        "children": [
+            {
+                "code": "finance_report",
+                "title": "财务报表",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "exposure_report",
+                "title": "敞口报表",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "spot_report",
+                "title": "现货报表",
+                "sort": 3,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "inventory_report",
+                "title": "库存报表",
+                "sort": 4,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
+                "children": []
+            }
+        ]
+    }
+]

+ 42 - 33
config/pc_menu.json

@@ -5,7 +5,7 @@
         "sort": 1,
         "sort": 1,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "futures",
                 "code": "futures",
@@ -13,7 +13,7 @@
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": [
                 "children": [
                     {
                     {
                         "code": "dominant_contract",
                         "code": "dominant_contract",
@@ -21,7 +21,7 @@
                         "sort": 1,
                         "sort": 1,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     },
                     },
                     {
                     {
@@ -30,7 +30,7 @@
                         "sort": 2,
                         "sort": 2,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     },
                     },
                     {
                     {
@@ -39,7 +39,7 @@
                         "sort": 3,
                         "sort": 3,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     },
                     },
                     {
                     {
@@ -48,7 +48,7 @@
                         "sort": 21,
                         "sort": 21,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": [
                         "children": [
                             {
                             {
                                 "code": "open",
                                 "code": "open",
@@ -56,7 +56,7 @@
                                 "sort": 1,
                                 "sort": 1,
                                 "type": 2,
                                 "type": 2,
                                 "rulekey": "",
                                 "rulekey": "",
-                                "isshow": true,
+                                "isshow": false,
                                 "children": []
                                 "children": []
                             },
                             },
                             {
                             {
@@ -65,7 +65,7 @@
                                 "sort": 2,
                                 "sort": 2,
                                 "type": 2,
                                 "type": 2,
                                 "rulekey": "",
                                 "rulekey": "",
-                                "isshow": true,
+                                "isshow": false,
                                 "children": []
                                 "children": []
                             }
                             }
                         ]
                         ]
@@ -76,7 +76,7 @@
                         "sort": 22,
                         "sort": 22,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     },
                     },
                     {
                     {
@@ -85,7 +85,7 @@
                         "sort": 23,
                         "sort": 23,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     },
                     },
                     {
                     {
@@ -94,7 +94,7 @@
                         "sort": 24,
                         "sort": 24,
                         "type": 1,
                         "type": 1,
                         "rulekey": "",
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                         "children": []
                     }
                     }
                 ]
                 ]
@@ -107,7 +107,7 @@
         "sort": 2,
         "sort": 2,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "custom_info",
                 "code": "custom_info",
@@ -115,7 +115,7 @@
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -124,7 +124,7 @@
                 "sort": 2,
                 "sort": 2,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -133,7 +133,7 @@
                 "sort": 3,
                 "sort": 3,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -142,7 +142,7 @@
                 "sort": 4,
                 "sort": 4,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             }
             }
         ]
         ]
@@ -153,7 +153,7 @@
         "sort": 3,
         "sort": 3,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "purchase",
                 "code": "purchase",
@@ -161,7 +161,7 @@
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -170,7 +170,7 @@
                 "sort": 2,
                 "sort": 2,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -179,7 +179,7 @@
                 "sort": 3,
                 "sort": 3,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -188,7 +188,7 @@
                 "sort": 4,
                 "sort": 4,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             }
             }
         ]
         ]
@@ -199,7 +199,7 @@
         "sort": 4,
         "sort": 4,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "business_review",
                 "code": "business_review",
@@ -207,7 +207,7 @@
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -216,7 +216,7 @@
                 "sort": 2,
                 "sort": 2,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -225,7 +225,7 @@
                 "sort": 3,
                 "sort": 3,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             }
             }
         ]
         ]
@@ -236,15 +236,24 @@
         "sort": 5,
         "sort": 5,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "inventory",
                 "code": "inventory",
-                "title": "库存管理",
+                "title": "库存查询",
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
+                "children": []
+            },
+            {
+                "code": "outaccount_status",
+                "title": "账户状态",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": false,
                 "children": []
                 "children": []
             }
             }
         ]
         ]
@@ -255,7 +264,7 @@
         "sort": 6,
         "sort": 6,
         "type": 1,
         "type": 1,
         "rulekey": "",
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
         "children": [
             {
             {
                 "code": "finance_report",
                 "code": "finance_report",
@@ -263,7 +272,7 @@
                 "sort": 1,
                 "sort": 1,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -272,7 +281,7 @@
                 "sort": 2,
                 "sort": 2,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -281,7 +290,7 @@
                 "sort": 3,
                 "sort": 3,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             },
             },
             {
             {
@@ -290,7 +299,7 @@
                 "sort": 4,
                 "sort": 4,
                 "type": 1,
                 "type": 1,
                 "rulekey": "",
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": []
                 "children": []
             }
             }
         ]
         ]