Quellcode durchsuchen

新增PCWEB菜单配置

zhou.xiaoning vor 4 Jahren
Ursprung
Commit
5044ec17a1

+ 2302 - 0
config/pcweb_menu/pcweb_menu_ermcp.json

@@ -0,0 +1,2302 @@
+[
+  {
+    "code": "info",
+    "title": "基础设置",
+    "sort": 2,
+    "type": 1,
+    "rulekey": "",
+    "remark": "原来的“信息”",
+    "isshow": true,
+    "children": [
+      {
+        "code": "account_info",
+        "title": "账户管理",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_accountmanage",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": 
+        [
+          {
+            "code": "new001",
+            "title": "管理账户",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new002",
+            "title": "现货账户",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new003",
+            "title": "期货账户",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "custom_info",
+        "title": "客户资料",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_customer",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "custom_info_unsubmit",
+            "title": "未提交",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_customer_unsubmit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "custom_info_btn_delete",
+                "title": "删除",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_customer_delete",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "custom_info_btn_modify",
+                "title": "修改",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_customer_update",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "custom_info_checkpending",
+            "title": "待审核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_customer_unaduit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "custom_info_btn_cancel",
+                "title": "撤销",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_customer_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "custom_info_btn_check",
+                "title": "审核",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_customer_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "custom_info_normal",
+            "title": "正常",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_customer_normal",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "custom_info_btn_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_customer_add",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "custom_info_btn_disable",
+                "title": "停用",
+                "sort": 3,
+                "type": 2,
+                "rulekey": "client_customer_disable",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "custom_info_disabled",
+            "title": "停用",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_customer_stop",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "custom_info_btn_recover",
+                "title": "恢复",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_customer_restore",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "goods_info",
+        "title": "商品信息",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "client_deliverygoods",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "goods_info_spot",
+            "title": "现货品种",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_deliverygoods_spot",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "goods_info_spot_normal",
+                "title": "正常",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                  {
+                    "code": "goods_info_spot_normal_add",
+                    "title": "新增",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_deliverygoods_add",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "goods_info_spot_normal_modify",
+                    "title": "修改",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_deliverygoods_spot_modify",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "goods_info_spot_normal_disable",
+                    "title": "停用",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_deliverygoods_spot_disable",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              },
+              {
+                "code": "goods_info_spot_disable",
+                "title": "停用",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                ]
+              }
+            ]
+          },
+          {
+            "code": "goods_info_hedge",
+            "title": "套保品种",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_deliverygoods_hedge",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "goods_info_hedge_normal",
+                "title": "正常",
+                "sort": 1,
+                "type": 1,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                  {
+                    "code": "goods_info_hedge_normal_modify",
+                    "title": "修改",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_deliverygoods_hedge_modify",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              },
+              {
+                "code": "goods_info_hedge_disable",
+                "title": "停用",
+                "sort": 2,
+                "type": 1,
+                "rulekey": "client_deliverygoods_hedge_disable",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                ]
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "warehouse_info",
+        "title": "仓库信息",
+        "sort": 6,
+        "type": 1,
+        "rulekey": "client_warehouse",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "warehouse_info_normal",
+            "title": "正常",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_warehouse_normal",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "warehouse_info_btn_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_warehouse_add",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "warehouse_info_btn_modify",
+                "title": "修改",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_warehouse_update",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "warehouse_info_btn_disable",
+                "title": "停用",
+                "sort": 3,
+                "type": 2,
+                "rulekey": "client_warehouse_stop",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "warehouse_info_disabled",
+            "title": "停用",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_warehouse_stop",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "warehouse_info_btn_recover",
+                "title": "恢复",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_warehouse_restore",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "new004",
+        "title": "复核管理设置",
+        "sort": 7,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "new005",
+            "title": "客户资料复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new006",
+            "title": "商品信息复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new007",
+            "title": "套保参数复核",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+          ,
+          {
+            "code": "new008",
+            "title": "现货复核",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "business",
+    "title": "现货管理",
+    "sort": 3,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "remark": "原来的“业务”",
+    "children": [
+      {
+        "code": "purchase",
+        "title": "采购订单",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "client_po",
+        "isshow": true,
+        "url": "",
+        "remark": "从原来的“采购”",
+        "children": [
+          {
+            "code": "purchase_pending",
+            "title": "待点价订单",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_po_unpoint",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“待点价”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "purchase_pending_someprice",
+                    "title": "点价登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_po_point_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "purchase_performance",
+            "title": "待交收订单",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_po_settle",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“履约交收”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "purchase_pending_settlement",
+                    "title": "交收登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_po_settle_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "purchase_pending_funds",
+                    "title": "款项登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_po_fund_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "purchase_pending_invoice",
+                    "title": "发票登记",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_po_invoice_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "purchase_pending_storage",
+                    "title": "入库登记",
+                    "sort": 4,
+                    "type": 2,
+                    "rulekey": "client_po_instock_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "new010",
+            "title": "新增订单",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“现货合同-未提交”,中的采购部分",
+            "children": []
+          },
+          {
+            "code": "purchase_all",
+            "title": "已完成订单",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "client_po_all",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“全部”,但只显示已完成的订单",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "sell",
+        "title": "销售订单",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "client_so",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“销售”",
+        "children": [
+          {
+            "code": "sell_pending",
+            "title": "待点价订单",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_so_unpoint",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“待点价”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "sell_pending_someprice",
+                    "title": "点价登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_so_point_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "sell_performance",
+            "title": "待交收订单",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_so_settle",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“履约交收”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "sell_pending_settlement",
+                    "title": "交收登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_so_settle_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "sell_pending_funds",
+                    "title": "款项登记",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_so_fund_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "sell_pending_invoice",
+                    "title": "发票登记",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_so_invoice_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "sell_pending_storage",
+                    "title": "出库登记",
+                    "sort": 4,
+                    "type": 2,
+                    "rulekey": "client_so_outstock_register",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "new011",
+            "title": "新增订单",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“现货合同-未提交”,中的销售部分",
+            "children": []
+          },
+          {
+            "code": "sell_all",
+            "title": "已完成订单",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "client_so_all",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“全部”,但只显示已完成部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "plan",
+        "title": "采购计划",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_hedgeplan",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“计划”中的采购部分",
+        "children": [
+          {
+            "code": "plan_uncommitted",
+            "title": "未提交",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_hedgeplan_unsubmit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "plan_btn_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_hedgeplan_add",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                  {
+                    "code": "plan_uncommitted_modify",
+                    "title": "修改",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_update",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "plan_uncommitted_delete",
+                    "title": "删除",
+                    "sort": 4,
+                    "type": 2,
+                    "rulekey": "",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "plan_audit",
+            "title": "待审核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_hedgeplan_unaduit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "plan_audit_audit",
+                    "title": "审核",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "plan_audit_cancel",
+                    "title": "撤销",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_cancel",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "plan_running",
+            "title": "执行中",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "client_hedgeplan_inprogress",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "plan",
+        "title": "销售计划",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_hedgeplan",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“计划”中的销售部分",
+        "children": [
+          {
+            "code": "plan_uncommitted",
+            "title": "未提交",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_hedgeplan_unsubmit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "plan_btn_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_hedgeplan_add",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                  {
+                    "code": "plan_uncommitted_modify",
+                    "title": "修改",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_update",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "plan_uncommitted_delete",
+                    "title": "删除",
+                    "sort": 4,
+                    "type": 2,
+                    "rulekey": "",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "plan_audit",
+            "title": "待审核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_hedgeplan_unaduit",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "plan_audit_audit",
+                    "title": "审核",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "plan_audit_cancel",
+                    "title": "撤销",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_cancel",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "plan_running",
+            "title": "执行中",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "client_hedgeplan_inprogress",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "new029",
+    "title": "风险管理",
+    "sort": 4,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "url": "",
+    "remark": "",
+    "children": [
+      {
+        "code": "exposure",
+        "title": "敞口管理",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "client_exposure",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“敞口”",
+        "children": [
+          {
+            "code": "exposure_realtime",
+            "title": "实时敞口",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_exposure_real",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "exposure_realtime_spot_details",
+                "title": "现货明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "exposure_realtime_futures_details",
+                "title": "期货明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "exposure_spot",
+            "title": "现货头寸",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_exposure_spot",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "exposure_spot_details",
+                "title": "现货明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "exposure_futures",
+            "title": "期货头寸",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "client_exposure_future",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "exposure_futures_details",
+                "title": "期货明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "exposure_history",
+            "title": "历史敞口",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "client_exposure_his",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new020",
+        "title": "套保交易明细",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new021",
+        "title": "期货账户风险率",
+        "sort": 6,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "new022",
+            "title": "风险率管理",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new023",
+            "title": "额度管理",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new024",
+            "title": "额度复核",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new025",
+        "title": "期货子账户额度",
+        "sort": 7,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "new026",
+            "title": "额度调整登记",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new027",
+        "title": "套保参数",
+        "sort": 8,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "new028",
+            "title": "套保参数设置",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new029",
+            "title": "套保参数复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "new030",
+    "title": "期现关联",
+    "sort": 5,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "url": "",
+    "remark": "",
+    "children": [
+      {
+        "code": "new031",
+        "title": "期货成交单核对",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new032",
+        "title": "期现单据关联",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new033",
+        "title": "现货参考价",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      }
+    ]
+  },
+  {
+    "code": "new040",
+    "title": "复核管理",
+    "sort": 6,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "url": "",
+    "remark": "这是把原来的审核功能都放这里了",
+    "children": [
+      {
+        "code": "new041",
+        "title": "订单复核",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "spot_contract_checkpending",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_spotcontract_unaduit",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“现货合同-待审核”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "spot_contract_btn_check",
+                    "title": "审核",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_spotcontract_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "spot_contract_btn_cancel",
+                    "title": "撤销",
+                    "sort": 2,
+                    "type": 2,
+                    "rulekey": "client_spotcontract_cancel",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "spot_contract_performance",
+            "title": "已复核",
+            "sort": 3,
+            "type": 1,
+            "rulekey": "client_spotcontract_agreement",
+            "isshow": true,
+            "url": "",
+            "remark": "原来的“现货合同-履约中”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "spot_contract_btn_finish",
+                    "title": "正常完结",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_spotcontract_finish",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "new042",
+        "title": "点价复核",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "business_review_someprice",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_business_point",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“业务审核-点价”中未审核部分",
+            "children": [
+              {
+                "code": "business_review_someprice_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_business_point_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "business_review_someprice_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_business_point_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new043",
+            "title": "已复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“业务审核-点价”中已审核部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new044",
+        "title": "交收复核",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "business_review_settlement",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_business_settle",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“业务审核-交收”中的待审核部分",
+            "children": [
+              {
+                "code": "business_review_settlement_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_business_settle_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "business_review_settlement_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_business_settle_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new045",
+            "title": "已复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“业务审核-交收”中已审核部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new046",
+        "title": "计划复核",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "plan_audit",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_hedgeplan_unaduit",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“计划-待审核”",
+            "children": [
+              {
+                "code": "none_btn",
+                "title": "按钮",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "空按钮(只为了保证树状结构)",
+                "children": [
+                  {
+                    "code": "plan_audit_audit",
+                    "title": "审核",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "plan_audit_cancel",
+                    "title": "撤销",
+                    "sort": 3,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_cancel",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "plan_running",
+            "title": "已复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_hedgeplan_inprogress",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“计划-执行中”",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new051",
+        "title": "发票复核",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "finance_review_invoice",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_finance_invoice",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“财务审核-发票”中的未审核部分",
+            "children": [
+              {
+                "code": "finance_review_invoice_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_finance_invoice_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "finance_review_invoice_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_finance_invoice_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new052",
+            "title": "已复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“财务审核-发票”中的已审核部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new053",
+        "title": "款项复核",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "finance_review_funds",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_finance_fund",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“财务审核-款项”中的待审核部分",
+            "children": [
+              {
+                "code": "finance_review_funds_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_finance_fund_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "finance_review_funds_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_finance_fund_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new054",
+            "title": "已复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“财务审核-款项”中的已审核部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new061",
+        "title": "入库复核",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "inventory_review_checkin",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_stock_in",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“库存审核-入库”中未审核部分",
+            "children": [
+              {
+                "code": "inventory_review_checkin_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_stock_in_aduit",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "inventory_review_checkin_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "client_stock_aduit_cancel",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new062",
+            "title": "已复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“库存审核-入库”中已审核部分",
+            "children": []
+          }
+        ]
+      },
+      {
+        "code": "new063",
+        "title": "出库复核",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "inventory_review_checkout",
+            "title": "待复核",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_stock_out",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“库存审核-出库”未审核部分",
+            "children": [
+              {
+                "code": "inventory_review_checkout_audit",
+                "title": "审核",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_stock_out_aduit",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "inventory_review_checkout_cancel",
+                "title": "撤销",
+                "sort": 2,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "new064",
+            "title": "已复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "原来“库存审核-出库”中已审核部分",
+            "children": []
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "new060",
+    "title": "仓库管理",
+    "sort": 8,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "url": "",
+    "remark": "",
+    "children": [
+      {
+        "code": "inventory_current",
+        "title": "当前库存",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "client_stock_manage_current",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“库存查询-当前库存”",
+        "children": [
+          {
+            "code": "inventory_current_add",
+            "title": "新增",
+            "sort": 1,
+            "type": 2,
+            "rulekey": "client_hedgeplan_check",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "inventory_current_detail_storehouse",
+                "title": "仓库明细",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_hedgeplan_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "inventory_current_detail_storesave",
+                "title": "库存明细",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_hedgeplan_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "inventory_applyrecord",
+        "title": "申请记录",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_stock_manage_applylog",
+        "isshow": true,
+        "url": "",
+        "remark": "原来的“库存查询-申请记录”",
+        "children": []
+      },
+      {
+        "code": "new065",
+        "title": "内部库存调整",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "new066",
+            "title": "申请登记",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          },
+          {
+            "code": "new067",
+            "title": "登记复核",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "report",
+    "title": "统计报表",
+    "sort": 6,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "remark": "原来的“报表”",
+    "children": [
+      {
+        "code": "spot_report",
+        "title": "现货报表",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "client_report_spot",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "spot_report_spot",
+            "title": "现货报表",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "spot_report_spot_detail",
+                "title": "现货明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "exposure_report",
+        "title": "敞口报表",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "client_report_exposure",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "exposure_report_exposure",
+            "title": "敞口报表",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "exposure_report_exposure_contract_changes",
+                "title": "现货合同变动量明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "exposure_report_exposure_hedging_plan",
+                "title": "套保计划变动量明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "exposure_report_exposure_futures_changes",
+                "title": "期货变动量明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "exposure_report_exposure_parameter_adjustment_changes",
+                "title": "参数调整变动量明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "future_report",
+        "title": "期货报表",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "client_report_futures",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "future_report_future",
+            "title": "期货报表",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "future_report_future_detail",
+                "title": "账户明细",
+                "sort": 4,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "finance_report",
+        "title": "财务报表",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "client_report_finance",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "finance_report_finance",
+            "title": "财务报表",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "finance_report_finance_category_breakdown",
+                "title": "品类明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "finance_report_finance_brand_details",
+                "title": "品牌明细",
+                "sort": 1,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "inventory_report",
+        "title": "库存报表",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "client_report_stock",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "inventory_report_inventory_category",
+            "title": "库存报表(品类)",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "client_report_wrstandstock",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "inventory_report_inventory_category_brand_detail",
+                "title": "品牌明细",
+                "sort": 4,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              },
+              {
+                "code": "inventory_report_inventory_category_warehouse_detail",
+                "title": "仓库明细",
+                "sort": 4,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          },
+          {
+            "code": "inventory_report_warehouse",
+            "title": "库存报表(仓库)",
+            "sort": 4,
+            "type": 1,
+            "rulekey": "client_report_warehousestock",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "inventory_report_warehouse_inventory_detail",
+                "title": "库存明细",
+                "sort": 4,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      },
+      {
+        "code": "new070",
+        "title": "仓库报表",
+        "sort": 6,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "sum_pl_report",
+        "title": "汇总损益报表",
+        "sort": 7,
+        "type": 1,
+        "rulekey": "client_report_sumprofit",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "sum_pl_report_sum_pl",
+            "title": "汇总损益报表",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "sum_pl_report_profit_and_loss_details",
+                "title": "损益明细",
+                "sort": 4,
+                "type": 3,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": []
+              }
+            ]
+          }
+        ]
+      }
+    ]
+  },
+  {
+    "code": "search",
+    "title": "查询管理",
+    "sort": 7,
+    "type": 1,
+    "rulekey": "",
+    "isshow": true,
+    "remark": "原来的“查询”",
+    "children": [
+      {
+        "code": "new080",
+        "title": "订单查询",
+        "sort": 1,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new081",
+        "title": "计划查询",
+        "sort": 2,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new082",
+        "title": "期货成交单查询",
+        "sort": 3,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "new083",
+        "title": "出入库查询",
+        "sort": 4,
+        "type": 1,
+        "rulekey": "",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": []
+      },
+      {
+        "code": "inventory",
+        "title": "库存查询",
+        "sort": 5,
+        "type": 1,
+        "rulekey": "client_stock_manage",
+        "isshow": true,
+        "url": "",
+        "remark": "",
+        "children": [
+          {
+            "code": "inventory_current",
+            "title": "当前库存",
+            "sort": 1,
+            "type": 1,
+            "rulekey": "client_stock_manage_current",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": [
+              {
+                "code": "inventory_current_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "client_hedgeplan_check",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                  {
+                    "code": "inventory_current_detail_storehouse",
+                    "title": "仓库明细",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  },
+                  {
+                    "code": "inventory_current_detail_storesave",
+                    "title": "库存明细",
+                    "sort": 1,
+                    "type": 2,
+                    "rulekey": "client_hedgeplan_check",
+                    "isshow": true,
+                    "url": "",
+                    "remark": "",
+                    "children": []
+                  }
+                ]
+              }
+            ]
+          },
+          {
+            "code": "inventory_applyrecord",
+            "title": "申请记录",
+            "sort": 2,
+            "type": 1,
+            "rulekey": "client_stock_manage_applylog",
+            "isshow": true,
+            "url": "",
+            "remark": "",
+            "children": []
+          }
+        ]
+      }
+    ]
+  }
+]

+ 124 - 0
config/pcweb_menu/pcweb_menu_pingan.json

@@ -0,0 +1,124 @@
+[
+	{
+		"code": "hedging",
+		"title": "套期保值",
+		"sort": 1,
+		"type": 1,
+		"rulekey": "",
+		"remark": "",
+		"isshow": true,
+		"children": [
+			{
+				"code": "entry_of_spot_information",
+				"title": "现货信息录入",
+				"sort": 1,
+				"type": 1,
+				"rulekey": "",
+				"remark": "",
+				"isshow": true,
+				"children": []
+			},
+			{
+				"code": "spot_price_management",
+				"title": "现货点价管理",
+				"sort": 2,
+				"type": 1,
+				"rulekey": "",
+				"remark": "",
+				"isshow": true,
+				"children": [
+					{
+						"code": "spot_price_management_normal",
+						"title": "正常",
+						"sort": 1,
+						"type": 1,
+						"rulekey": "",
+						"remark": "",
+						"isshow": true,
+						"children": [
+							{
+                "code": "spot_price_management_normal_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+									{
+										"code": "spot_price_management_normal_modify",
+										"title": "修改",
+										"sort": 1,
+										"type": 2,
+										"rulekey": "",
+										"isshow": true,
+										"url": "",
+										"remark": "",
+										"children": []
+									},
+									{
+										"code": "spot_price_management_normal_disable",
+										"title": "停用",
+										"sort": 2,
+										"type": 2,
+										"rulekey": "",
+										"isshow": true,
+										"url": "",
+										"remark": "",
+										"children": []
+									}
+								]
+							}
+						]
+					},
+					{
+						"code": "spot_price_management_disable",
+						"title": "停用",
+						"sort": 2,
+						"type": 1,
+						"rulekey": "",
+						"remark": "",
+						"isshow": true,
+						"children": [
+							{
+                "code": "spot_price_management_disable_add",
+                "title": "新增",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+									{
+										"code": "spot_price_management_disable_modify",
+										"title": "恢复",
+										"sort": 1,
+										"type": 2,
+										"rulekey": "",
+										"isshow": true,
+										"url": "",
+										"remark": "",
+										"children": []
+									},
+									{
+										"code": "spot_price_management_disable_disable",
+										"title": "删除",
+										"sort": 2,
+										"type": 2,
+										"rulekey": "",
+										"isshow": true,
+										"url": "",
+										"remark": "",
+										"children": []
+									}
+								]
+							}
+						]
+					}
+				]
+			}
+		]
+	}
+]

+ 14 - 3
controllers/common/menu.go

@@ -28,8 +28,9 @@ type ClientMenu struct {
 
 // GetClientMenusReq 获取PC交易端菜单请求参数
 type GetClientMenusReq struct {
-	LoginID    int `form:"loginID"`
-	ClientType int `form:"clientType"`
+	LoginID    int    `form:"loginID" binding:"required"`
+	ClientType int    `form:"clientType"`
+	Name       string `from:"name"`
 }
 
 // GetClientMenus 获取交易端菜单
@@ -37,7 +38,8 @@ type GetClientMenusReq struct {
 // @Produce json
 // @Security ApiKeyAuth
 // @Param loginID query int true "登录账号"
-// @Param clientType query int false "终端类型,0:PC 1:Mobile"
+// @Param clientType query int false "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据"
+// @Param name query string false "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台"
 // @Success 200 {array} ClientMenu
 // @Failure 500 {object} app.Response
 // @Router /Common/GetClientMenus [get]
@@ -60,7 +62,16 @@ func GetClientMenus(c *gin.Context) {
 		jsonFile = "mobile_menu.json"
 	}
 
+	// 获取分支名称
+	if len(req.Name) > 0 {
+		if req.ClientType == 0 {
+			// 目前只支持PCWEB
+			jsonFile = fmt.Sprintf("pcweb_menu/pcweb_menu_%s.json", req.Name)
+		}
+	}
+
 	// 读取json文件
+	// 21-08-15 增加OEM菜单文件支持功能
 	filePtr, err := os.Open(fmt.Sprintf("config/%s", jsonFile))
 	if err != nil {
 		// 读取文件失败