[
  {
    "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": [
          {
            "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": [
                  {
                    "code": "goods_info_spot_normal_add",
                    "title": "新增",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_deliverygoods_add",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "goods_info_spot_normal_modify",
                    "title": "修改",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_deliverygoods_spot_modify",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "goods_info_spot_normal_disable",
                    "title": "停用",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_deliverygoods_spot_disable",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              },
              {
                "code": "goods_info_spot_disable",
                "title": "停用",
                "sort": 2,
                "type": 1,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          },
          {
            "code": "goods_info_hedge",
            "title": "套保品种",
            "sort": 2,
            "type": 1,
            "rulekey": "client_deliverygoods_hedge",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "goods_info_hedge_normal",
                "title": "正常",
                "sort": 1,
                "type": 1,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": [
                  {
                    "code": "goods_info_hedge_normal_modify",
                    "title": "修改",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_deliverygoods_hedge_modify",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              },
              {
                "code": "goods_info_hedge_disable",
                "title": "停用",
                "sort": 2,
                "type": 1,
                "rulekey": "client_deliverygoods_hedge_disable",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          }
        ]
      },
      {
        "code": "warehouse_info",
        "title": "仓库信息",
        "sort": 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": []
                  },
                  {
                    "code": "account_info_business_btn_reset",
                    "title": "重置密码",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_accountmanage_business_resetpwd",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "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": []
                  }
                ]
              }
            ]
          },
          {
            "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": [
                  {
                    "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": []
                      }
                    ]
                  },
                  {
                    "code": "account_info_trade_btn_modify",
                    "title": "修改",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "",
                    "isshow": true,
                    "remartk": "修改账户 - 修改交易用户",
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "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": [
                  {
                    "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": []
                      }
                    ]
                  }
                ]
              },
              {
                "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": []
                      }
                    ]
                  },
                  {
                    "code": "account_info_futures_btn_modify",
                    "title": "修改",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_accountmanage_ta_mainupdate",
                    "isshow": true,
                    "remartk": "期货账户 - 修改期货子账户",
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "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": "client_po_unpoint_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "purchase_pending_someprice",
                    "title": "点价登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_po_point_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "purchase_performance",
            "title": "待交收订单",
            "sort": 2,
            "type": 1,
            "rulekey": "client_po_settle",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "client_po_settle_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "purchase_pending_settlement",
                    "title": "交收登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_po_settle_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "purchase_pending_funds",
                    "title": "款项登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_po_fund_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "purchase_pending_invoice",
                    "title": "发票登记",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_po_invoice_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "purchase_pending_storage",
                    "title": "入库登记",
                    "sort": 4,
                    "type": 2,
                    "rulekey": "client_po_instock_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "purchase_spot_contract_unsubmitted",
            "title": "新增订单",
            "sort": 3,
            "type": 1,
            "rulekey": "client_spotcontract_unsubmit",
            "isshow": true,
            "url": "",
            "remark": "新增采购订单",
            "children": [
              {
                "code": "purchase_spot_contract_btn_add",
                "title": "新增",
                "sort": 1,
                "type": 2,
                "rulekey": "client_spotcontract_add",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": [
                  {
                    "code": "purchase_spot_contract_btn_modify",
                    "title": "重新提交",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_spotcontract_recommit",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "purchase_spot_contract_btn_delete",
                    "title": "删除",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "purchase_all",
            "title": "已完成订单",
            "sort": 4,
            "type": 1,
            "rulekey": "client_po_all",
            "isshow": true,
            "url": "",
            "remark": "原“全部”，但只显示已完成的订单",
            "children": []
          }
        ]
      },
      {
        "code": "sell",
        "title": "销售订单",
        "sort": 2,
        "type": 1,
        "rulekey": "client_so",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "sell_pending",
            "title": "待点价订单",
            "sort": 1,
            "type": 1,
            "rulekey": "client_so_unpoint",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "client_so_unpoint_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "sell_pending_someprice",
                    "title": "点价登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_so_point_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "sell_performance",
            "title": "待交收订单",
            "sort": 2,
            "type": 1,
            "rulekey": "client_so_settle",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "client_so_settle_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "sell_pending_settlement",
                    "title": "交收登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_so_settle_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "sell_pending_funds",
                    "title": "款项登记",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_so_fund_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "sell_pending_invoice",
                    "title": "发票登记",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_so_invoice_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "sell_pending_storage",
                    "title": "出库登记",
                    "sort": 4,
                    "type": 2,
                    "rulekey": "client_so_outstock_register",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "sell_spot_contract_unsubmitted",
            "title": "新增订单",
            "sort": 3,
            "type": 1,
            "rulekey": "client_spotcontract_unsubmit",
            "isshow": true,
            "url": "",
            "remark": "新增销售订单",
            "children": [
              {
                "code": "sell_spot_contract_btn_add",
                "title": "新增",
                "sort": 1,
                "type": 2,
                "rulekey": "client_spotcontract_add",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": [
                  {
                    "code": "sell_spot_contract_btn_modify",
                    "title": "重新提交",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_spotcontract_recommit",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "sell_spot_contract_btn_delete",
                    "title": "删除",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "sell_all",
            "title": "已完成订单",
            "sort": 3,
            "type": 1,
            "rulekey": "client_so_all",
            "isshow": true,
            "url": "",
            "remark": "原“全部”，但只显示已完成的销售订单",
            "children": []
          }
        ]
      },
      {
        "code": "plan",
        "title": "购销计划",
        "sort": 3,
        "type": 1,
        "rulekey": "client_hedgeplan",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "plan_running",
            "title": "执行中",
            "sort": 1,
            "type": 1,
            "rulekey": "client_hedgeplan_inprogress",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": []
          },
          {
            "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": [
                  {
                    "code": "plan_uncommitted_modify",
                    "title": "修改",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_hedgeplan_update",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "plan_uncommitted_delete",
                    "title": "删除",
                    "sort": 4,
                    "type": 2,
                    "rulekey": "",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "plan_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": "slot_search_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": []
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "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": []
              }
            ]
          },
          {
            "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": []
              }
            ]
          },
          {
            "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": []
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "code": "manage",
    "title": "审核管理",
    "sort": 4,
    "type": 1,
    "rulekey": "",
    "isshow": true,
    "children": [
      {
        "code": "v2_ddsh",
        "title": "订单审核",
        "sort": 1,
        "type": 1,
        "rulekey": "",
        "isshow": true,
        "children": [
          {
            "code": "spot_contract_checkpending",
            "title": "待审核",
            "sort": 1,
            "type": 1,
            "rulekey": "client_spotcontract_unaduit",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "client_spotcontract_unaduit_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "spot_contract_btn_check",
                    "title": "审核",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_spotcontract_check",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "spot_contract_btn_cancel",
                    "title": "撤销",
                    "sort": 2,
                    "type": 2,
                    "rulekey": "client_spotcontract_cancel",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "spot_contract_performance",
            "title": "已审核",
            "sort": 2,
            "type": 1,
            "rulekey": "client_spotcontract_agreement",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "client_spotcontract_agreement_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "spot_contract_btn_finish",
                    "title": "正常完结",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_spotcontract_finish",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "code": "plan_audit",
        "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": "client_hedgeplan_unaduit_none_btn",
                "title": "按钮",
                "sort": 1,
                "type": 2,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "空按钮(只为了保证树状结构)",
                "children": [
                  {
                    "code": "plan_audit_audit",
                    "title": "审核",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_hedgeplan_check",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "plan_audit_cancel",
                    "title": "撤销",
                    "sort": 3,
                    "type": 2,
                    "rulekey": "client_hedgeplan_cancel",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "code": "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": []
              }
            ]
          },
          {
            "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": []
              }
            ]
          }
        ]
      },
      {
        "code": "inventory_review",
        "title": "仓库审核",
        "sort": 5,
        "type": 1,
        "rulekey": "client_stock_aduit",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "inventory_review_checkin",
            "title": "入库",
            "sort": 1,
            "type": 1,
            "rulekey": "client_stock_in",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "inventory_review_checkin_audit",
                "title": "审核",
                "sort": 1,
                "type": 2,
                "rulekey": "client_stock_in_aduit",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              },
              {
                "code": "inventory_review_checkin_cancel",
                "title": "撤销",
                "sort": 2,
                "type": 2,
                "rulekey": "client_stock_aduit_cancel",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          },
          {
            "code": "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": []
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "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": [
          {
            "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": [
          {
            "code": "inventory_report_inventory_category",
            "title": "库存报表(品类)",
            "sort": 4,
            "type": 1,
            "rulekey": "client_report_wrstandstock",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "inventory_report_inventory_category_brand_detail",
                "title": "品牌明细",
                "sort": 4,
                "type": 3,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              },
              {
                "code": "inventory_report_inventory_category_warehouse_detail",
                "title": "仓库明细",
                "sort": 4,
                "type": 3,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          },
          {
            "code": "inventory_report_warehouse",
            "title": "库存报表(仓库)",
            "sort": 4,
            "type": 1,
            "rulekey": "client_report_warehousestock",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "inventory_report_warehouse_inventory_detail",
                "title": "库存明细",
                "sort": 4,
                "type": 3,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          }
        ]
      },
      {
        "code": "future_report",
        "title": "期货报表",
        "sort": 3,
        "type": 1,
        "rulekey": "client_report_futures",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "future_report_future",
            "title": "期货报表",
            "sort": 1,
            "type": 1,
            "rulekey": "",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "future_report_future_detail",
                "title": "账户明细",
                "sort": 4,
                "type": 3,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          }
        ]
      },
      {
        "code": "sum_pl_report",
        "title": "汇总报表",
        "sort": 3,
        "type": 1,
        "rulekey": "client_report_sumprofit",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "sum_pl_report_sum_pl",
            "title": "汇总损益报表",
            "sort": 1,
            "type": 1,
            "rulekey": "",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "sum_pl_report_profit_and_loss_details",
                "title": "损益明细",
                "sort": 4,
                "type": 3,
                "rulekey": "",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": []
              }
            ]
          }
        ]
      },
      {
        "code": "inventory",
        "title": "库存报表",
        "sort": 4,
        "type": 1,
        "rulekey": "client_stock_manage",
        "isshow": true,
        "url": "",
        "remark": "",
        "children": [
          {
            "code": "inventory_current",
            "title": "当前库存",
            "sort": 1,
            "type": 1,
            "rulekey": "client_stock_manage_current",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": [
              {
                "code": "inventory_current_add",
                "title": "新增",
                "sort": 1,
                "type": 2,
                "rulekey": "client_hedgeplan_check",
                "isshow": true,
                "url": "",
                "remark": "",
                "children": [
                  {
                    "code": "inventory_current_detail_storehouse",
                    "title": "仓库明细",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_hedgeplan_check",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  },
                  {
                    "code": "inventory_current_detail_storesave",
                    "title": "库存明细",
                    "sort": 1,
                    "type": 2,
                    "rulekey": "client_hedgeplan_check",
                    "isshow": true,
                    "url": "",
                    "remark": "",
                    "children": []
                  }
                ]
              }
            ]
          },
          {
            "code": "inventory_applyrecord",
            "title": "申请记录",
            "sort": 2,
            "type": 1,
            "rulekey": "client_stock_manage_applylog",
            "isshow": true,
            "url": "",
            "remark": "",
            "children": []
          }
        ]
      }
    ]
  }
]