Explorar el Código

增加PCWEB菜单获取新接口

zhou.xiaoning hace 4 años
padre
commit
ba4257ff4d
Se han modificado 7 ficheros con 2664 adiciones y 2112 borrados
  1. 7 7
      config/config.xml
  2. 1918 2012
      config/pcweb_menu/pcweb_menu_ermcp.json
  3. 173 1
      controllers/common/menu.go
  4. 129 1
      docs/docs.go
  5. 129 1
      docs/swagger.json
  6. 306 90
      docs/swagger.yaml
  7. 2 0
      routers/router.go

+ 7 - 7
config/config.xml

@@ -13,11 +13,11 @@
     <DbAddress value="192.168.31.88"/>
     <DbName value="orcl"/>
     <DbPort value="1521"/>
-    <DbUser value="mtp2_test104"/>
+    <DbUser value="mtp2_test137"/>
     <DbPwd value="muchinfo"/>
   </DbSetting>
   <RedisSetting>
-    <Address value="192.168.31.175"/>
+    <Address value="192.168.31.137"/>
     <Port value="5007"/>
     <Timeout value="3"/>
     <ConnNum value="1"/>
@@ -25,11 +25,11 @@
     <Pwd value=""/>
   </RedisSetting>
   <MqSetting>
-    <Url value="amqp://guest:guest@192.168.31.175:5020/test"/>
+    <Url value="amqp://guest:guest@192.168.31.137:5020/test"/>
     <Exchange value="entry"/>
   </MqSetting>
   <MongoDBSetting>
-    <HostName value="192.168.31.175"/>
+    <HostName value="192.168.31.137"/>
     <Port value="5025"/>
     <DBName value="HistoryQuote"/>
     <Username value="quote_test01"/>
@@ -38,8 +38,8 @@
   <MySQLSetting>
     <Host value="192.168.30.72"/>
     <Port value="3306"/>
-    <DBName value="historyquote_test176"/>
-    <Username value="quote_test176"/>
+    <DBName value="historyquote_test137"/>
+    <Username value="quote_test137"/>
     <Password value="123456"/>
   </MySQLSetting>
-</Configuration>
+</Configuration>

+ 1918 - 2012
config/pcweb_menu/pcweb_menu_ermcp.json

@@ -1,2142 +1,2048 @@
 [
   {
-    "code": "info",
-    "title": "基础设置",
-    "sort": 1,
-    "type": 1,
-    "rulekey": "",
-    "isshow": true,
-    "children": [
-      {
-        "code": "custom_info",
-        "title": "客户资料",
-        "sort": 1,
-        "type": 1,
-        "rulekey": "client_customer",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+      "title": "基础设置",
+      "code": "info",
+      "path": "/info",
+      "component": "Layout",
+      "sort": 1,
+      "requireauth": false,
+      "isshow": true,
+      "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": 2,
-        "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": [
+              "title": "客户资料",
+              "code": "custom",
+              "path": "custom",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "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": []
+                      "title": "待审核",
+                      "code": "custom_checkpending",
+                      "path": "custom_checkpending",
+                      "component": "views/information/custom/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "custom_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "审核",
+                              "code": "custom_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "goods_info_spot_normal_modify",
-                    "title": "修改",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_deliverygoods_spot_modify",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "正常",
+                      "code": "custom_normal",
+                      "path": "custom_normal",
+                      "component": "views/information/custom/list/normal-use/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "custom_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "custom_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "停用",
+                              "code": "custom_disable",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "goods_info_spot_normal_disable",
-                    "title": "停用",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_deliverygoods_spot_disable",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "停用",
+                      "code": "custom_disabled",
+                      "path": "custom_disabled",
+                      "component": "views/information/custom/list/stop-use/index.vue",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "custom_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "恢复",
+                              "code": "custom_restore",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              },
-              {
-                "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": [
+              "title": "商品设置",
+              "code": "goods",
+              "path": "goods",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "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": []
+                      "title": "现货品种",
+                      "code": "goods_spot",
+                      "path": "goods_spot",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增品牌",
+                              "code": "goods_spot_brand_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "品牌信息"
+                          },
+                          {
+                              "label": "修改",
+                              "code": "goods_spot_brand_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "品牌信息"
+                          },
+                          {
+                              "label": "停用",
+                              "code": "goods_spot_brand_disable",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "品牌信息"
+                          },
+                          {
+                              "label": "恢复",
+                              "code": "goods_spot_brand_recover",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "品牌信息"
+                          },
+                          {
+                              "label": "新增商品",
+                              "code": "goods_spot_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "商品信息"
+                          },
+                          {
+                              "label": "修改",
+                              "code": "goods_spot_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "商品信息"
+                          },
+                          {
+                              "label": "修改税率",
+                              "code": "goods_spot_modify_ratio",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "商品信息"
+                          }
+                      ]
+                  },
+                  {
+                      "title": "套保品种",
+                      "code": "goods_hedge",
+                      "path": "goods_hedge",
+                      "component": "",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "修改",
+                              "code": "goods_hedge_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              },
-              {
-                "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": 4,
-        "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": "account_info",
-        "title": "账户管理",
-        "sort": 4,
-        "type": 1,
-        "rulekey": "client_accountmanage",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
-          {
-            "code": "account_info_business",
-            "title": "业务账户",
-            "sort": 1,
-            "type": 1,
-            "rulekey": "client_accountmanage_business",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": [
-              {
-                "code": "account_info_business_btn_add",
-                "title": "新增",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "client_accountmanage_business_add",
-                "isshow": true,
-                "remartk": "新增账户 - 业务员/跟单员",
-                "url": "",
-                "remark": "",
-                "children": [
-                  {
-                    "code": "account_info_business_btn_modify",
-                    "title": "修改",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_business_update",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
-                  },
+              "title": "仓库信息",
+              "code": "warehouse",
+              "path": "warehouse",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "account_info_business_btn_reset",
-                    "title": "重置密码",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_business_resetpwd",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "正常",
+                      "code": "warehouse_normal",
+                      "path": "warehouse_normal",
+                      "component": "views/information/warehouse-info/list/normal-use/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "warehouse_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "warehouse_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "停用",
+                              "code": "warehouse_disable",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "account_info_business_btn_locked",
-                    "title": "锁定",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_business_lock",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
-                  },
-                  {
-                    "code": "account_info_business_btn_unlocked",
-                    "title": "解锁",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_business_unlock",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
-                  },
-                  {
-                    "code": "account_info_business_btn_cancel",
-                    "title": "注销",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_business_close",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "停用",
+                      "code": "warehouse_disabled",
+                      "path": "warehouse_disabled",
+                      "component": "views/information/warehouse-info/list/stop-use/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "warehouse_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "恢复",
+                              "code": "warehouse_recover",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "account_info_trade",
-            "title": "交易账户",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "client_accountmanage_trade",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": [
-              {
-                "code": "account_info_trade_btn_add",
-                "title": "新增",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "",
-                "isshow": true,
-                "remartk": "新增账户 - 新增交易用户",
-                "url": "",
-                "remark": "",
-                "children": [
+              "title": "主体设置",
+              "code": "company",
+              "path": "company",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "account_info_trade_child_btn_add",
-                    "title": "新增",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_trade_add",
-                    "isshow": true,
-                    "remartk": "新增账户 - 新增交易员",
-                    "url": "",
-                    "remark": "",
-                    "children": [
-                      {
-                        "code": "account_info_trade_btn_child_modify",
-                        "title": "修改",
-                        "sort": 1,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_trade_update",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_trade_btn_child_reset",
-                        "title": "重置密码",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_trade_resetpwd",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_trade_btn_child_locked",
-                        "title": "锁定",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_trade_lock",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_trade_btn_child_unlocked",
-                        "title": "解锁",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_trade_unlock",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_trade_btn_child_logout",
-                        "title": "注销",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_trade_close",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      }
-                    ]
+                      "title": "正常",
+                      "code": "company_normal",
+                      "path": "company_normal",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "company_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "company_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "停用",
+                              "code": "company_disable",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "account_info_trade_btn_modify",
-                    "title": "修改",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "",
-                    "isshow": true,
-                    "remartk": "修改账户 - 修改交易用户",
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "停用",
+                      "code": "company_disabled",
+                      "path": "company_disabled",
+                      "component": "",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "恢复",
+                              "code": "company_recover",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "account_info_manager",
-            "title": "管理账户",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "client_accountmanage_manage",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": [
-              {
-                "code": "account_info_manager_btn_add",
-                "title": "新增权限模板",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "",
-                "isshow": true,
-                "remartk": "管理账户 - 新增权限模板",
-                "url": "",
-                "remark": "",
-                "children": [
+              "title": "账户管理",
+              "code": "account",
+              "path": "account",
+              "component": "Main",
+              "sort": 4,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "现货账户",
+                      "code": "account_spot",
+                      "path": "account_spot",
+                      "component": "views/information/account_info/list/account_info_business/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "account_spot_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "account_spot_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "重置密码",
+                              "code": "account_spot_resetpwd",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "锁定",
+                              "code": "account_spot_locked",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "注销",
+                              "code": "account_spot_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "交易账户",
+                      "code": "account_trade",
+                      "path": "account_trade",
+                      "component": "views/information/account_info/list/account_info_trade/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "account_trade_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "account_trade_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "account_trade_child_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "重置密码",
+                              "code": "account_trade_child_reset",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "锁定",
+                              "code": "account_trade_child_locked",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "注销",
+                              "code": "account_trade_child_logout",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "管理账户",
+                      "code": "account_manager",
+                      "path": "account_manager",
+                      "component": "views/information/account_info/list/account_info_manager/index.vue",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "account_manager_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": "管理账户 - 新增管理员"
+                          },
+                          {
+                              "label": "权限设置",
+                              "code": "account_manager_setting",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "解锁",
+                              "code": "account_manager_unlocked",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
                   {
-                    "code": "account_info_manager_btn_child_add",
-                    "title": "新增",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "",
-                    "isshow": true,
-                    "remartk": "管理账户 - 新增管理员",
-                    "url": "",
-                    "remark": "",
-                    "children": [
-                      {
-                        "code": "account_info_manager_btn_modify",
-                        "title": "修改",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_update",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_manager_btn_reset",
-                        "title": "重置密码",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_resetpwd",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_manager_btn_locked",
-                        "title": "锁定",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_lock",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_manager_btn_unlocked",
-                        "title": "解锁",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_unlock",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_manager_btn_logout",
-                        "title": "注销",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_close",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      }
-                    ]
+                      "title": "期货账户",
+                      "code": "account_futures",
+                      "path": "account_futures",
+                      "component": "views/information/account_info/list/account_info_futures/index.vue",
+                      "sort": 4,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "账户设置",
+                              "code": "account_futures_setting",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "新增",
+                              "code": "account_futures_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "account_futures_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "新增",
+                              "code": "account_futures_child_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "修改",
+                              "code": "account_futures_child_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "授信",
+                              "code": "account_futures_child_credit",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "注销",
+                              "code": "account_futures_child_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              },
-              {
-                "code": "account_info_manager_btn_setting",
-                "title": "权限设置",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "",
-                "isshow": true,
-                "url": "",
-                "remark": "",
-                "children": []
-              }
-            ]
+              ]
           },
           {
-            "code": "account_info_futures",
-            "title": "期货账户",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "client_accountmanage_ta",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": [
-              {
-                "code": "account_info_futures_btn_add",
-                "title": "新增",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "client_accountmanage_ta_mainadd",
-                "isshow": true,
-                "remartk": "期货账户 - 新增期货账户",
-                "url": "",
-                "remark": "",
-                "children": [
-                  {
-                    "code": "account_info_futures_btn_child_add",
-                    "title": "新增",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_ta_subadd",
-                    "isshow": true,
-                    "remartk": "期货账户 - 新增期货子账户",
-                    "url": "",
-                    "remark": "",
-                    "children": [
-                      {
-                        "code": "account_info_futures_btn_child_credit",
-                        "title": "授信",
-                        "sort": 1,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_ta_subcredit",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_futures_btn_child_modify",
-                        "title": "修改",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_ta_subupdate",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      },
-                      {
-                        "code": "account_info_futures_btn_child_cancel",
-                        "title": "注销",
-                        "sort": 2,
-                        "type": 2,
-                        "rulekey": "client_accountmanage_ta_subclose",
-                        "isshow": true,
-                        "url": "",
-                        "remark": "",
-                        "children": []
-                      }
-                    ]
-                  },
+              "title": "审核设置",
+              "code": "audit",
+              "path": "audit",
+              "component": "Main",
+              "sort": 4,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "account_info_futures_btn_modify",
-                    "title": "修改",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_accountmanage_ta_mainupdate",
-                    "isshow": true,
-                    "remartk": "期货账户 - 修改期货子账户",
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "审核设置",
+                      "code": "audit_setting",
+                      "path": "audit_setting",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
+              ]
           }
-        ]
-      }
-    ]
+      ]
   },
   {
-    "code": "business",
-    "title": "现货套保",
-    "sort": 2,
-    "type": 1,
-    "rulekey": "",
-    "isshow": true,
-    "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": []
-                  }
-                ]
-              }
-            ]
-          },
+      "title": "现货套保",
+      "code": "business",
+      "path": "/business",
+      "component": "Layout",
+      "sort": 2,
+      "requireauth": false,
+      "isshow": true,
+      "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": [
+              "title": "采购合同",
+              "code": "purchase",
+              "path": "purchase",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "purchase_pending_settlement",
-                    "title": "交收登记",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_po_settle_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "特点价合同",
+                      "code": "purchase_pending",
+                      "path": "purchase_pending",
+                      "component": "views/business/purchase/list/pending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "点价登记",
+                              "code": "purchase_pending_someprice",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "purchase_pending_funds",
-                    "title": "款项登记",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_po_fund_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "待交收合同",
+                      "code": "purchase_performance",
+                      "path": "purchase_performance",
+                      "component": "views/business/purchase/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "交收登记",
+                              "code": "purchase_performance_settlement",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "款项登记",
+                              "code": "purchase_performance_funds",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "发票登记",
+                              "code": "purchase_performance_invoice",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "入库登记",
+                              "code": "purchase_performance_storage",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "完结合同",
+                              "code": "purchase_performance_ending",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "purchase_pending_invoice",
-                    "title": "发票登记",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_po_invoice_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "新增合同",
+                      "code": "purchase_contract",
+                      "path": "purchase_contract",
+                      "component": "views/business/purchase/list/contract/index.vue",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "purchase_contract_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤回",
+                              "code": "purchase_contract_delete",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "重新提交",
+                              "code": "purchase_contract_resubmit",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "purchase_pending_storage",
-                    "title": "入库登记",
-                    "sort": 4,
-                    "type": 2,
-                    "rulekey": "client_po_instock_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "已完成合同",
+                      "code": "purchase_finish",
+                      "path": "purchase_finish",
+                      "component": "views/business/purchase/list/all/index.vue",
+                      "sort": 4,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "spot_contract_unsubmitted",
-            "title": "新增订单",
-            "sort": 3,
-            "type": 1,
-            "rulekey": "client_spotcontract_unsubmit",
-            "isshow": true,
-            "url": "",
-            "remark": "新增采购订单",
-            "children": [
-              {
-                "code": "spot_contract_btn_add",
-                "title": "新增",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "client_spotcontract_add",
-                "isshow": true,
-                "url": "",
-                "remark": "",
-                "children": [
+              "title": "销售合同",
+              "code": "sell",
+              "path": "sell",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "特点价合同",
+                      "code": "sell_pending",
+                      "path": "sell_pending",
+                      "component": "views/business/sell/list/pending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "点价登记",
+                              "code": "sell_pending_someprice",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "待交收合同",
+                      "code": "sell_performance",
+                      "path": "sell_performance",
+                      "component": "views/business/sell/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "交收登记",
+                              "code": "sell_performance_settlement",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "款项登记",
+                              "code": "sell_performance_funds",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "发票登记",
+                              "code": "sell_performance_invoice",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "入库登记",
+                              "code": "sell_performance_storage",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "完结合同",
+                              "code": "sell_performance_ending",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
                   {
-                    "code": "spot_contract_btn_modify",
-                    "title": "重新提交",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_spotcontract_recommit",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "新增合同",
+                      "code": "sell_contract",
+                      "path": "sell_contract",
+                      "component": "views/business/sell/list/contract/index.vue",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "sell_contract_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤回",
+                              "code": "sell_contract_delete",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "重新提交",
+                              "code": "sell_contract_resubmit",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "spot_contract_btn_delete",
-                    "title": "删除",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "已完成合同",
+                      "code": "sell_finish",
+                      "path": "sell_finish",
+                      "component": "views/business/sell/list/all/index.vue",
+                      "sort": 4,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "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": [
+              "title": "购销计划",
+              "code": "plan",
+              "path": "plan",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "sell_pending_someprice",
-                    "title": "点价登记",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_so_point_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "执行中计划",
+                      "code": "plan_running",
+                      "path": "plan_running",
+                      "component": "views/business/plan/list/running/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  },
+                  {
+                      "title": "新增计划",
+                      "code": "plan_uncommitted",
+                      "path": "plan_uncommitted",
+                      "component": "views/business/plan/list/uncommitted/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "新增",
+                              "code": "plan_uncommitted_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "重新提交",
+                              "code": "plan_uncommitted_resubmit",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "plan_uncommitted_delete",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "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": []
-                  },
+              "title": "现货查询",
+              "code": "search",
+              "path": "search",
+              "component": "Main",
+              "sort": 4,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "sell_pending_funds",
-                    "title": "款项登记",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_so_fund_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "采购合同",
+                      "code": "search_purchase",
+                      "path": "search_purchase",
+                      "component": "views/business/search/list/purchase/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   },
                   {
-                    "code": "sell_pending_invoice",
-                    "title": "发票登记",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_so_invoice_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "销售合同",
+                      "code": "search_sell",
+                      "path": "search_sell",
+                      "component": "views/business/search/list/sell/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   },
                   {
-                    "code": "sell_pending_storage",
-                    "title": "出库登记",
-                    "sort": 4,
-                    "type": 2,
-                    "rulekey": "client_so_outstock_register",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "购销计划",
+                      "code": "search_plan",
+                      "path": "search_plan",
+                      "component": "views/business/search/list/plan/index.vue",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "spot_contract_unsubmitted",
-            "title": "新增订单",
-            "sort": 3,
-            "type": 1,
-            "rulekey": "client_spotcontract_unsubmit",
-            "isshow": true,
-            "url": "",
-            "remark": "新增销售订单",
-            "children": [
-              {
-                "code": "spot_contract_btn_add",
-                "title": "新增",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "client_spotcontract_add",
-                "isshow": true,
-                "url": "",
-                "remark": "",
-                "children": [
+              "title": "期现关联",
+              "code": "futures_spot",
+              "path": "futures_spot",
+              "component": "Main",
+              "sort": 5,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "spot_contract_btn_modify",
-                    "title": "重新提交",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_spotcontract_recommit",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "外部成交单关联",
+                      "code": "futures_spot_finish",
+                      "path": "futures_spot_finish",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "关联",
+                              "code": "futures_spot_finish_bind",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "解除关联",
+                              "code": "futures_spot_finish_unbind",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "spot_contract_btn_delete",
-                    "title": "删除",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "期现单据关联",
+                      "code": "futures_spot_order",
+                      "path": "futures_spot_order",
+                      "component": "",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "补单关联",
+                              "code": "futures_spot_order_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "关联",
+                              "code": "futures_spot_order_bind",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "关联记录",
+                      "code": "futures_spot_record",
+                      "path": "futures_spot_record",
+                      "component": "",
+                      "sort": 3,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "解除关联",
+                              "code": "futures_spot_record_unbind",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "sell_all",
-            "title": "已完成订单",
-            "sort": 3,
-            "type": 1,
-            "rulekey": "client_so_all",
-            "isshow": true,
-            "url": "",
-            "remark": "原“全部”,但只显示已完成的销售订单",
-            "children": []
+              "title": "现货参考价",
+              "code": "spotmarket",
+              "path": "spotmarket",
+              "component": "Main",
+              "sort": 6,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "现货参考价",
+                      "code": "spotmarket_price",
+                      "path": "spotmarket_price",
+                      "component": "views/business/spotmarket/list/price/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "修改",
+                              "code": "spotmarket_price_modify",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
           }
-        ]
-      },
-      {
-        "code": "plan",
-        "title": "购销计划",
-        "sort": 3,
-        "type": 1,
-        "rulekey": "client_hedgeplan",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+      ]
+  },
+  {
+      "title": "风险管理",
+      "code": "riskmanage",
+      "path": "/riskmanage",
+      "component": "Layout",
+      "sort": 3,
+      "requireauth": false,
+      "isshow": true,
+      "children": [
           {
-            "code": "plan_running",
-            "title": "执行中",
-            "sort": 1,
-            "type": 1,
-            "rulekey": "client_hedgeplan_inprogress",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
+              "title": "实时敞口",
+              "code": "exposure_realtime",
+              "path": "exposure_realtime",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "实时敞口",
+                      "code": "exposure_realtime_index",
+                      "path": "exposure_realtime_index",
+                      "component": "views/business/exposure/list/realTime/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "下单",
+                              "code": "exposure_realtime_index_add",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "现货明细",
+                              "code": "exposure_realtime_spot_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "期货明细",
+                              "code": "exposure_realtime_futures_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "参数变动明细",
+                              "code": "exposure_realtime_params_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
           },
           {
-            "code": "plan_uncommitted",
-            "title": "新增计划",
-            "sort": 2,
-            "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": [
+              "title": "头寸查询",
+              "code": "position",
+              "path": "position",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "plan_uncommitted_modify",
-                    "title": "修改",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_hedgeplan_update",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "现货商品头寸",
+                      "code": "position_spot",
+                      "path": "position_spot",
+                      "component": "views/business/exposure/list/spot/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "现货变动明细",
+                              "code": "position_spot_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "plan_uncommitted_delete",
-                    "title": "删除",
-                    "sort": 4,
-                    "type": 2,
-                    "rulekey": "",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "期货持仓头寸",
+                      "code": "position_futures",
+                      "path": "position_futures",
+                      "component": "views/business/exposure/list/futures/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "期货变动明细",
+                              "code": "position_futures_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "plan_completed",
-            "title": "已完成",
-            "sort": 3,
-            "type": 1,
-            "rulekey": "",
-            "isshow": true,
-            "url": "",
-            "remark": "原“执行中”已完成的计划数据",
-            "children": []
-          }
-        ]
-      },
-      {
-        "code": "slot_search",
-        "title": "现货查询",
-        "sort": 4,
-        "type": 1,
-        "rulekey": "",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
-          {
-            "code": "purchase_all",
-            "title": "采购订单",
-            "sort": 1,
-            "type": 1,
-            "rulekey": "client_po_all",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
-          },
-          {
-            "code": "sell_all",
-            "title": "销售订单",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "client_so_all",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
-          },
-          {
-            "code": "plan_running",
-            "title": "购销计划",
-            "sort": 3,
-            "type": 1,
-            "rulekey": "client_hedgeplan_inprogress",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
-          }
-        ]
-      },
-      {
-        "code": "platinum_spot_and_price",
-        "title": "现货市价",
-        "sort": 5,
-        "type": 1,
-        "rulekey": "client_spotmarketprice",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
-          {
-            "code": "platinum_spot_and_price_tab",
-            "title": "现货市价",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": [
-              {
-                "code": "platinum_spot_and_price_modify",
-                "title": "修改",
-                "sort": 1,
-                "type": 2,
-                "rulekey": "client_spotmarketprice_update",
-                "isshow": true,
-                "url": "",
-                "remark": "",
-                "children": []
-              }
-            ]
+              "title": "历史敞口",
+              "code": "exposure_history",
+              "path": "exposure_history",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "历史敞口",
+                      "code": "exposure_history_index",
+                      "path": "exposure_history_index",
+                      "component": "views/business/exposure/list/history/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           }
-        ]
-      }
-    ]
+      ]
   },
   {
-    "code": "v2_fxgl",
-    "title": "风险管理",
-    "sort": 3,
-    "type": 1,
-    "rulekey": "",
-    "isshow": true,
-    "children": [
-      {
-        "code": "v2_ssck",
-        "title": "实时敞口",
-        "sort": 1,
-        "type": 1,
-        "rulekey": "",
-        "isshow": true,
-        "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": []
-              }
-            ]
-          },
+      "title": "风管审核",
+      "code": "riskreview",
+      "path": "/riskreview",
+      "component": "Layout",
+      "sort": 4,
+      "requireauth": false,
+      "isshow": true,
+      "children": [
           {
-            "code": "exposure_history",
-            "title": "历史敞口",
-            "sort": 4,
-            "type": 1,
-            "rulekey": "client_exposure_his",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
-          }
-        ]
-      },
-      {
-        "code": "v2_tckx",
-        "title": "头寸查询",
-        "sort": 2,
-        "type": 1,
-        "rulekey": "",
-        "isshow": true,
-        "children": [
-          {
-            "code": "exposure_spot",
-            "title": "现货头寸",
-            "sort": 1,
-            "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": []
-              }
-            ]
+              "title": "套保比例审核",
+              "code": "hedge_ratio",
+              "path": "hedge_ratio",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "hedge_ratio_checkpending",
+                      "path": "hedge_ratio_checkpending",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "hedge_ratio_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "hedge_ratio_performance",
+                      "path": "hedge_ratio_performance",
+                      "component": "",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           },
           {
-            "code": "exposure_futures",
-            "title": "期货头寸",
-            "sort": 2,
-            "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": []
-              }
-            ]
+              "title": "现货参数审核",
+              "code": "spot_params",
+              "path": "spot_params",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "spot_params_checkpending",
+                      "path": "spot_params_checkpending",
+                      "component": "",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "spot_params_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "spot_params_performance",
+                      "path": "spot_params_performance",
+                      "component": "",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "管理端",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           }
-        ]
-      }
-    ]
+      ]
   },
   {
-    "code": "manage",
-    "title": "审核管理",
-    "sort": 4,
-    "type": 1,
-    "rulekey": "",
-    "isshow": true,
-    "children": [
-      {
-        "code": "v2_ddsh",
-        "title": "订单审核",
-        "sort": 1,
-        "type": 1,
-        "rulekey": "",
-        "isshow": true,
-        "children": [
+      "title": "现货审核",
+      "code": "spotreview",
+      "path": "/spotreview",
+      "component": "Layout",
+      "sort": 5,
+      "requireauth": false,
+      "isshow": true,
+      "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": [
+              "title": "合同审核",
+              "code": "contract",
+              "path": "contract",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "spot_contract_btn_check",
-                    "title": "审核",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_spotcontract_check",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "待审核",
+                      "code": "contract_checkpending",
+                      "path": "contract_checkpending",
+                      "component": "views/information/spot-contract/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "contract_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "contract_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "spot_contract_btn_cancel",
-                    "title": "撤销",
-                    "sort": 2,
-                    "type": 2,
-                    "rulekey": "client_spotcontract_cancel",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "已审核",
+                      "code": "contract_performance",
+                      "path": "contract_performance",
+                      "component": "views/information/spot-contract/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "spot_contract_performance",
-            "title": "已审核",
-            "sort": 2,
-            "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": [
+              "title": "点价审核",
+              "code": "someprice",
+              "path": "someprice",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "someprice_checkpending",
+                      "path": "someprice_checkpending",
+                      "component": "views/manage/someprice/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "someprice_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "someprice_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
                   {
-                    "code": "spot_contract_btn_finish",
-                    "title": "正常完结",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_spotcontract_finish",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "已审核",
+                      "code": "someprice_performance",
+                      "path": "someprice_performance",
+                      "component": "views/manage/someprice/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
-          }
-        ]
-      },
-      {
-        "code": "plan",
-        "title": "计划审核",
-        "sort": 2,
-        "type": 1,
-        "rulekey": "client_hedgeplan",
-        "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": [
+              "title": "交收审核",
+              "code": "settlement",
+              "path": "settlement",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "plan_audit_audit",
-                    "title": "审核",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_hedgeplan_check",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "待审核",
+                      "code": "settlement_checkpending",
+                      "path": "settlement_checkpending",
+                      "component": "views/manage/settlement/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "settlement_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "settlement_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   },
                   {
-                    "code": "plan_audit_cancel",
-                    "title": "撤销",
-                    "sort": 3,
-                    "type": 2,
-                    "rulekey": "client_hedgeplan_cancel",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "已审核",
+                      "code": "settlement_performance",
+                      "path": "settlement_performance",
+                      "component": "views/manage/settlement/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
                   }
-                ]
-              }
-            ]
-          }
-        ]
-      },
-      {
-        "code": "business_review",
-        "title": "现货审核",
-        "sort": 3,
-        "type": 1,
-        "rulekey": "client_business",
-        "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": "business_review_settlement",
-            "title": "交收",
-            "sort": 2,
-            "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": "finance_review",
-        "title": "财务审核",
-        "sort": 4,
-        "type": 1,
-        "rulekey": "client_finance",
-        "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": []
-              }
-            ]
+              "title": "计划审核",
+              "code": "plan",
+              "path": "plan",
+              "component": "Main",
+              "sort": 4,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "plan_checkpending",
+                      "path": "plan_checkpending",
+                      "component": "views/business/plan/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "plan_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "plan_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "plan_performance",
+                      "path": "plan_performance",
+                      "component": "views/business/plan/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           },
           {
-            "code": "finance_review_invoice",
-            "title": "发票",
-            "sort": 2,
-            "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": []
-              }
-            ]
+              "title": "出入库审核",
+              "code": "stock",
+              "path": "stock",
+              "component": "Main",
+              "sort": 5,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "stock_checkpending",
+                      "path": "stock_checkpending",
+                      "component": "views/manage/inventory-review/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "stock_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "stock_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "stock_performance",
+                      "path": "stock_performance",
+                      "component": "views/manage/inventory-review/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           }
-        ]
-      },
-      {
-        "code": "inventory_review",
-        "title": "仓库审核",
-        "sort": 5,
-        "type": 1,
-        "rulekey": "client_stock_aduit",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+      ]
+  },
+  {
+      "title": "财务审核",
+      "code": "financereview",
+      "path": "/financereview",
+      "component": "Layout",
+      "sort": 1,
+      "requireauth": false,
+      "isshow": true,
+      "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": []
-              }
-            ]
+              "title": "发票审核",
+              "code": "invoice",
+              "path": "invoice",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "invoice_checkpending",
+                      "path": "invoice_checkpending",
+                      "component": "views/manage/invoice/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "invoice_checkpending_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "invoice_checkpending_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "invoice_performance",
+                      "path": "invoice_performance",
+                      "component": "views/manage/invoice/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           },
           {
-            "code": "inventory_review_checkout",
-            "title": "出库",
-            "sort": 2,
-            "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": []
-              }
-            ]
+              "title": "款项审核",
+              "code": "funds",
+              "path": "funds",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "待审核",
+                      "code": "funds_checkpending",
+                      "path": "funds_checkpending",
+                      "component": "views/manage/funds/list/checkpending/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "审核",
+                              "code": "funds_checkpending_check",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "撤销",
+                              "code": "funds_checkpending_cancel",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  },
+                  {
+                      "title": "已审核",
+                      "code": "funds_performance",
+                      "path": "funds_performance",
+                      "component": "views/manage/funds/list/performance/index.vue",
+                      "sort": 2,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           }
-        ]
-      }
-    ]
+      ]
   },
   {
-    "code": "report",
-    "title": "统计报表",
-    "sort": 5,
-    "type": 1,
-    "rulekey": "",
-    "isshow": true,
-    "children": [
-      {
-        "code": "spot_report",
-        "title": "现货报表",
-        "sort": 3,
-        "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": "finance_report",
-        "title": "财务报表",
-        "sort": 1,
-        "type": 1,
-        "rulekey": "client_report_finance",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+      "title": "统计报表",
+      "code": "report",
+      "path": "/report",
+      "component": "Layout",
+      "sort": 1,
+      "requireauth": false,
+      "isshow": true,
+      "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": 4,
-        "type": 1,
-        "rulekey": "client_report_stock",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+              "title": "现货报表",
+              "code": "spot_report",
+              "path": "spot_report",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "现货报表",
+                      "code": "spot_report_spot",
+                      "path": "spot_report_spot",
+                      "component": "views/report/spot-report/list/spot_report/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "现货明细",
+                              "code": "spot_report_spot_detail",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
+          },
           {
-            "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": []
-              }
-            ]
+              "title": "敞口报表",
+              "code": "exposure_report",
+              "path": "exposure_report",
+              "component": "Main",
+              "sort": 2,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "敞口报表",
+                      "code": "exposure_report_exposure",
+                      "path": "exposure_report_exposure",
+                      "component": "views/report/exposure-report/list/exposure_report/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "现货合同变动量明细",
+                              "code": "exposure_report_exposure_contract_changes",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "套保计划变动量明细",
+                              "code": "exposure_report_exposure_hedging_plan",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "期货变动量明细",
+                              "code": "exposure_report_exposure_futures_changes",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "参数调整变动量明细",
+                              "code": "exposure_report_exposure_parameter_adjustment_changes",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
           },
           {
-            "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": "future_report",
-        "title": "期货报表",
-        "sort": 3,
-        "type": 1,
-        "rulekey": "client_report_futures",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+              "title": "期货报表",
+              "code": "future_report",
+              "path": "future_report",
+              "component": "Main",
+              "sort": 3,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "期货报表",
+                      "code": "future_report_future",
+                      "path": "future_report_future",
+                      "component": "views/report/future_report/list/future_report/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "账户明细",
+                              "code": "future_report_future_detail",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
+          },
           {
-            "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": "sum_pl_report",
-        "title": "汇总报表",
-        "sort": 3,
-        "type": 1,
-        "rulekey": "client_report_sumprofit",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+              "title": "财务报表",
+              "code": "finance_report",
+              "path": "finance_report",
+              "component": "Main",
+              "sort": 4,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "财务报表",
+                      "code": "finance_report_finance",
+                      "path": "finance_report_finance",
+                      "component": "views/report/finance-report/list/finance_report_finance/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "商品明细",
+                              "code": "finance_report_finance_category_breakdown",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "品牌明细",
+                              "code": "finance_report_finance_brand_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
+          },
           {
-            "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": "inventory",
-        "title": "库存报表",
-        "sort": 4,
-        "type": 1,
-        "rulekey": "client_stock_manage",
-        "isshow": true,
-        "url": "",
-        "remark": "",
-        "children": [
+              "title": "库存报表",
+              "code": "inventory_report",
+              "path": "inventory_report",
+              "component": "Main",
+              "sort": 5,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "库存报表",
+                      "code": "inventory_report_inventory_category",
+                      "path": "inventory_report_inventory_category",
+                      "component": "views/report/inventory-report/list/category/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "品牌明细",
+                              "code": "inventory_report_inventory_category_brand_detail",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          },
+                          {
+                              "label": "仓库明细",
+                              "code": "inventory_report_inventory_category_warehouse_detail",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
+          },
           {
-            "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": [
+              "title": "仓库报表",
+              "code": "warehouse_report",
+              "path": "warehouse_report",
+              "component": "Main",
+              "sort": 6,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "inventory_current_detail_storehouse",
-                    "title": "仓库明细",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_hedgeplan_check",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
-                  },
+                      "title": "仓库报表",
+                      "code": "warehouse_report_warehouse",
+                      "path": "warehouse_report_warehouse",
+                      "component": "views/report/inventory-report/list/warehouse/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "库存明细",
+                              "code": "warehouse_report_warehouse_detail",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
+                  }
+              ]
+          },
+          {
+              "title": "汇总报表",
+              "code": "sum_pl_report",
+              "path": "sum_pl_report",
+              "component": "Main",
+              "sort": 7,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
                   {
-                    "code": "inventory_current_detail_storesave",
-                    "title": "库存明细",
-                    "sort": 1,
-                    "type": 2,
-                    "rulekey": "client_hedgeplan_check",
-                    "isshow": true,
-                    "url": "",
-                    "remark": "",
-                    "children": []
+                      "title": "汇总报表",
+                      "code": "sum_pl_report_sum_pl",
+                      "path": "sum_pl_report_sum_pl",
+                      "component": "views/report/sum_pl_report/list/sum_pl_report/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": [
+                          {
+                              "label": "损益明细",
+                              "code": "sum_pl_report_profit_and_loss_details",
+                              "requireauth": true,
+                              "isshow": true,
+                              "remark": ""
+                          }
+                      ]
                   }
-                ]
-              }
-            ]
+              ]
           },
           {
-            "code": "inventory_applyrecord",
-            "title": "申请记录",
-            "sort": 2,
-            "type": 1,
-            "rulekey": "client_stock_manage_applylog",
-            "isshow": true,
-            "url": "",
-            "remark": "",
-            "children": []
+              "title": "定价报表",
+              "code": "price_report",
+              "path": "price_report",
+              "component": "Main",
+              "sort": 8,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "现货报表",
+                      "code": "price_report_spot",
+                      "path": "price_report_spot",
+                      "component": "views/report/price_report/list/price_report_spot/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
+          }
+      ]
+  },
+  {
+      "title": "库存管理",
+      "code": "inventory",
+      "path": "/inventory",
+      "component": "Layout",
+      "sort": 1,
+      "requireauth": false,
+      "isshow": true,
+      "children": [
+          {
+              "title": "库存管理",
+              "code": "inventory_manage",
+              "path": "inventory_manage",
+              "component": "Main",
+              "sort": 1,
+              "requireauth": true,
+              "isshow": true,
+              "url": "",
+              "remark": "",
+              "children": [
+                  {
+                      "title": "库存管理",
+                      "code": "inventory_management",
+                      "path": "inventory_management",
+                      "component": "views/manage/finance-review/list/funds/index.vue",
+                      "sort": 1,
+                      "requireauth": true,
+                      "isshow": true,
+                      "url": "",
+                      "remark": "",
+                      "auth": []
+                  }
+              ]
           }
-        ]
-      }
-    ]
+      ]
   }
 ]

+ 173 - 1
controllers/common/menu.go

@@ -26,7 +26,31 @@ type ClientMenu struct {
 	Children []ClientMenu `json:"children"` // 子菜单列表
 }
 
-// GetClientMenusReq 获取PC交易端菜单请求参数
+// PCWebMenuAuth PC客户端页面(按钮)权限
+type PCWebMenuAuth struct {
+	Label       string `json:"label"`       // 标题
+	Code        string `json:"code"`        // ID,新版本中权限KEY也是这个字段
+	RequireAuth bool   `json:"requireauth"` // 是否需要权限判断
+	IsShow      bool   `json:"isshow"`      // 是否显示
+	Remark      string `json:"remark"`      // 备注
+}
+
+// PCWebMenu PC客户端菜单权限
+type PCWebMenu struct {
+	Title       string          // 标题
+	Code        string          // ID,新版本中权限KEY也是这个字段
+	Path        string          // 路由路径
+	Component   string          // 路由组件
+	Sort        int             // 排序
+	RequireAuth bool            // 是否需要权限判断
+	IsShow      bool            // 是否显示
+	URL         string          // URL
+	Remark      string          // 备注
+	Children    []PCWebMenu     // 子菜单列表
+	Auth        []PCWebMenuAuth // 页面权限列表
+}
+
+// GetClientMenusReq 获取交易端菜单请求参数
 type GetClientMenusReq struct {
 	LoginID    int    `form:"loginID" binding:"required"`
 	ClientType int    `form:"clientType"`
@@ -149,3 +173,151 @@ func createMenu(datas []interface{}, loginID int) []ClientMenu {
 
 	return clientMenus
 }
+
+// GetPCWebMenusReq 获取PCWeb交易端菜单请求参数
+type GetPCWebMenusReq struct {
+	LoginID int    `form:"loginID" binding:"required"`
+	Name    string `form:"name"`
+}
+
+// GetPCWebMenus 获取PCWeb交易端菜单
+// @Summary 获取PCWeb交易端菜单
+// @Produce json
+// @Security ApiKeyAuth
+// @Param loginID query int true "登录账号"
+// @Param name query string false "分支名称,ermcp:风管云平台,不传默认返回ermcp"
+// @Success 200 {array} PCWebMenu
+// @Failure 500 {object} app.Response
+// @Router /Common/GetPCWebMenus [get]
+// @Tags 通用服务
+func GetPCWebMenus(c *gin.Context) {
+	appG := app.Gin{C: c}
+
+	// 获取请求参数
+	var req GetPCWebMenusReq
+	if err := c.ShouldBind(&req); err != nil {
+		logger.GetLogger().Errorf("GetPCWebMenus parse query req: %v", err)
+		appG.Response(http.StatusBadRequest, e.INVALID_PARAMS, nil)
+		return
+	}
+
+	// 获取菜单数据
+	jsonFile := "pcweb_menu_ermcp.json"
+	// 获取分支名称
+	if len(req.Name) > 0 {
+		jsonFile = fmt.Sprintf("pcweb_menu/pcweb_menu_%s.json", req.Name)
+	}
+
+	// 读取json文件
+	filePtr, err := os.Open(fmt.Sprintf("config/%s", jsonFile))
+	if err != nil {
+		// 读取文件失败
+		logger.GetLogger().Errorf("GetPCWebMenus failed: %s", err.Error())
+		appG.Response(http.StatusBadRequest, e.ERROR_CFG_FILE_FAIL, nil)
+		return
+	}
+	defer filePtr.Close()
+
+	var datas []interface{}
+	// 创建Json编码器
+	decoder := json.NewDecoder(filePtr)
+	if err = decoder.Decode(&datas); err != nil {
+		// Json解码失败
+		logger.GetLogger().Errorf("GetPCWebMenus failed: %s", err.Error())
+		appG.Response(http.StatusBadRequest, e.ERROR_CFG_JSON_FAIL, nil)
+		return
+	}
+
+	rst := createPCWebMenu(datas, req.LoginID)
+
+	// 查询成功
+	logger.GetLogger().Debugln("GetPCWebMenus successed: %v", rst)
+	appG.Response(http.StatusOK, e.SUCCESS, rst)
+}
+
+// createPCWebMenu 创建菜单数据
+func createPCWebMenu(datas []interface{}, loginID int) []PCWebMenu {
+	clientMenus := make([]PCWebMenu, 0)
+	for _, v := range datas {
+		data := v.(map[string]interface{})
+		if data["isshow"].(bool) {
+			// 判断权限
+			requireAuth := data["requireauth"].(bool)
+			// FIXME: - 暂时代码
+			requireAuth = true
+			if requireAuth {
+				code := data["code"].(string) // PC WEB V6版本直接使用CODE来做权限KEY
+				// 判断是否有权限
+				funcMenuList, err := models.GetErmcpRoleFuncMenuLists(loginID, code)
+				if err != nil {
+					continue
+				}
+				if len(funcMenuList) == 0 {
+					continue
+				}
+			}
+
+			// 构建页面(按钮)权限
+			auths := make([]PCWebMenuAuth, 0)
+			if data["auth"] != nil {
+				list := data["auth"].([]interface{})
+				for _, a := range list {
+					am := a.(map[string]interface{})
+					if am["isshow"].(bool) {
+						// 判断权限
+						requireAuth := data["requireauth"].(bool)
+						// FIXME: - 暂时代码
+						requireAuth = true
+						if requireAuth {
+							code := data["code"].(string) // PC WEB V6版本直接使用CODE来做权限KEY
+							// 判断是否有权限
+							funcMenuList, err := models.GetErmcpRoleFuncMenuLists(loginID, code)
+							if err != nil {
+								continue
+							}
+							if len(funcMenuList) == 0 {
+								continue
+							}
+						}
+
+						auth := PCWebMenuAuth{
+							Label:       am["label"].(string),
+							Code:        am["code"].(string),
+							RequireAuth: requireAuth,
+							IsShow:      am["isshow"].(bool),
+						}
+						if am["remark"] != nil {
+							auth.Remark = am["remark"].(string)
+						}
+						auths = append(auths, auth)
+					}
+				}
+			}
+
+			item := PCWebMenu{
+				Title:       data["title"].(string),
+				Code:        data["code"].(string),
+				Path:        data["path"].(string),
+				Component:   data["component"].(string),
+				Sort:        int(data["sort"].(float64)),
+				RequireAuth: data["requireauth"].(bool),
+				IsShow:      data["isshow"].(bool),
+			}
+			if data["url"] != nil {
+				item.URL = data["url"].(string)
+			}
+			if data["remark"] != nil {
+				item.Remark = data["remark"].(string)
+			}
+			if data["children"] != nil {
+				item.Children = createPCWebMenu(data["children"].([]interface{}), loginID)
+			}
+			if len(auths) > 0 {
+				item.Auth = auths
+			}
+			clientMenus = append(clientMenus, item)
+		}
+	}
+
+	return clientMenus
+}

+ 129 - 1
docs/docs.go

@@ -481,6 +481,54 @@ var doc = `{
                 }
             }
         },
+        "/Common/GetPCWebMenus": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "通用服务"
+                ],
+                "summary": "获取PCWeb交易端菜单",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "登录账号",
+                        "name": "loginID",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
+                        "name": "name",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/common.PCWebMenu"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/Common/GetServerTime": {
             "get": {
                 "produces": [
@@ -4881,7 +4929,7 @@ var doc = `{
                         "ApiKeyAuth": []
                     }
                 ],
-                "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
+                "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
                 "produces": [
                     "application/json"
                 ],
@@ -13804,6 +13852,86 @@ var doc = `{
                 }
             }
         },
+        "common.PCWebMenu": {
+            "type": "object",
+            "properties": {
+                "auth": {
+                    "description": "页面权限列表",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/common.PCWebMenuAuth"
+                    }
+                },
+                "children": {
+                    "description": "子菜单列表",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/common.PCWebMenu"
+                    }
+                },
+                "code": {
+                    "description": "ID,新版本中权限KEY也是这个字段",
+                    "type": "string"
+                },
+                "component": {
+                    "description": "路由组件",
+                    "type": "string"
+                },
+                "isShow": {
+                    "description": "是否显示",
+                    "type": "boolean"
+                },
+                "path": {
+                    "description": "路由路径",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "备注",
+                    "type": "string"
+                },
+                "requireAuth": {
+                    "description": "是否需要权限判断",
+                    "type": "boolean"
+                },
+                "sort": {
+                    "description": "排序",
+                    "type": "integer"
+                },
+                "title": {
+                    "description": "标题",
+                    "type": "string"
+                },
+                "url": {
+                    "description": "URL",
+                    "type": "string"
+                }
+            }
+        },
+        "common.PCWebMenuAuth": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "description": "ID,新版本中权限KEY也是这个字段",
+                    "type": "string"
+                },
+                "isshow": {
+                    "description": "是否显示",
+                    "type": "boolean"
+                },
+                "label": {
+                    "description": "标题",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "备注",
+                    "type": "string"
+                },
+                "requireauth": {
+                    "description": "是否需要权限判断",
+                    "type": "boolean"
+                }
+            }
+        },
         "common.QueryImageConfigsRsp": {
             "type": "object",
             "required": [

+ 129 - 1
docs/swagger.json

@@ -465,6 +465,54 @@
                 }
             }
         },
+        "/Common/GetPCWebMenus": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "通用服务"
+                ],
+                "summary": "获取PCWeb交易端菜单",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "登录账号",
+                        "name": "loginID",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
+                        "name": "name",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/common.PCWebMenu"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/Common/GetServerTime": {
             "get": {
                 "produces": [
@@ -4865,7 +4913,7 @@
                         "ApiKeyAuth": []
                     }
                 ],
-                "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
+                "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
                 "produces": [
                     "application/json"
                 ],
@@ -13788,6 +13836,86 @@
                 }
             }
         },
+        "common.PCWebMenu": {
+            "type": "object",
+            "properties": {
+                "auth": {
+                    "description": "页面权限列表",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/common.PCWebMenuAuth"
+                    }
+                },
+                "children": {
+                    "description": "子菜单列表",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/common.PCWebMenu"
+                    }
+                },
+                "code": {
+                    "description": "ID,新版本中权限KEY也是这个字段",
+                    "type": "string"
+                },
+                "component": {
+                    "description": "路由组件",
+                    "type": "string"
+                },
+                "isShow": {
+                    "description": "是否显示",
+                    "type": "boolean"
+                },
+                "path": {
+                    "description": "路由路径",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "备注",
+                    "type": "string"
+                },
+                "requireAuth": {
+                    "description": "是否需要权限判断",
+                    "type": "boolean"
+                },
+                "sort": {
+                    "description": "排序",
+                    "type": "integer"
+                },
+                "title": {
+                    "description": "标题",
+                    "type": "string"
+                },
+                "url": {
+                    "description": "URL",
+                    "type": "string"
+                }
+            }
+        },
+        "common.PCWebMenuAuth": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "description": "ID,新版本中权限KEY也是这个字段",
+                    "type": "string"
+                },
+                "isshow": {
+                    "description": "是否显示",
+                    "type": "boolean"
+                },
+                "label": {
+                    "description": "标题",
+                    "type": "string"
+                },
+                "remark": {
+                    "description": "备注",
+                    "type": "string"
+                },
+                "requireauth": {
+                    "description": "是否需要权限判断",
+                    "type": "boolean"
+                }
+            }
+        },
         "common.QueryImageConfigsRsp": {
             "type": "object",
             "required": [

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 306 - 90
docs/swagger.yaml


+ 2 - 0
routers/router.go

@@ -129,6 +129,8 @@ func InitRouter() *gin.Engine {
 		commonR.Use(token.Auth()).POST("/NoticeReaded", common.NoticeReaded)
 		// 获取交易端菜单
 		commonR.Use(token.Auth()).GET("/GetClientMenus", common.GetClientMenus)
+		// 获取PCWeb交易端菜单(V6版本之后使用)
+		commonR.Use(token.Auth()).GET("/GetPCWebMenus", common.GetPCWebMenus)
 	}
 	// ************************ 通用市场 ************************
 	marketR := apiR.Group("Market")

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio