소스 검색

更新客户端菜单配置

zhou.xiaoning 4 년 전
부모
커밋
e20e6af845
2개의 변경된 파일418개의 추가작업 그리고 22개의 파일을 삭제
  1. 260 15
      config/menus/pc_menu_企业风管.json
  2. 158 7
      config/pc_menu.json

+ 260 - 15
config/menus/pc_menu_企业风管.json

@@ -5,7 +5,7 @@
         "sort": 1,
         "type": 1,
         "rulekey": "",
-        "isshow": true,
+        "isshow": false,
         "children": [
             {
                 "code": "futures",
@@ -13,7 +13,7 @@
                 "sort": 1,
                 "type": 1,
                 "rulekey": "",
-                "isshow": true,
+                "isshow": false,
                 "children": [
                     {
                         "code": "dominant_contract",
@@ -21,7 +21,7 @@
                         "sort": 1,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     },
                     {
@@ -30,7 +30,7 @@
                         "sort": 2,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     },
                     {
@@ -39,7 +39,7 @@
                         "sort": 3,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     },
                     {
@@ -48,7 +48,7 @@
                         "sort": 21,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": [
                             {
                                 "code": "open",
@@ -56,7 +56,7 @@
                                 "sort": 1,
                                 "type": 2,
                                 "rulekey": "",
-                                "isshow": true,
+                                "isshow": false,
                                 "children": []
                             },
                             {
@@ -65,7 +65,7 @@
                                 "sort": 2,
                                 "type": 2,
                                 "rulekey": "",
-                                "isshow": true,
+                                "isshow": false,
                                 "children": []
                             }
                         ]
@@ -76,7 +76,7 @@
                         "sort": 22,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     },
                     {
@@ -85,7 +85,7 @@
                         "sort": 23,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     },
                     {
@@ -94,7 +94,7 @@
                         "sort": 24,
                         "type": 1,
                         "rulekey": "",
-                        "isshow": true,
+                        "isshow": false,
                         "children": []
                     }
                 ]
@@ -116,7 +116,73 @@
                 "type": 1,
                 "rulekey": "",
                 "isshow": true,
-                "children": []
+                "children": [
+                    {
+                        "code": "custom_info_normal",
+                        "title": "正常",
+                        "sort": 1,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "custom_info_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_modify",
+                                "title": "修改",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_disable",
+                                "title": "停用",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "custom_info_disabled",
+                        "title": "停用",
+                        "sort": 2,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "custom_info_btn_recover",
+                                "title": "恢复",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_delete",
+                                "title": "删除",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    }
+                ]
             },
             {
                 "code": "goods_info",
@@ -125,7 +191,26 @@
                 "type": 1,
                 "rulekey": "",
                 "isshow": true,
-                "children": []
+                "children": [
+                    {
+                        "code": "goods_info_spot",
+                        "title": "现货品种",
+                        "sort": 1,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": []
+                    },
+                    {
+                        "code": "goods_info_hedge",
+                        "title": "套保品种",
+                        "sort": 2,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": []
+                    }
+                ]
             },
             {
                 "code": "spot_contract",
@@ -134,7 +219,110 @@
                 "type": 1,
                 "rulekey": "",
                 "isshow": true,
-                "children": []
+                "children": [
+                    {
+                        "code": "spot_contract_unsubmitted",
+                        "title": "未提交",
+                        "sort": 1,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_resubmit",
+                                "title": "重新提交",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_modify",
+                                "title": "修改",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_delete",
+                                "title": "删除",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "spot_contract_checkpending",
+                        "title": "待审核",
+                        "sort": 2,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_check",
+                                "title": "审核",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_cancel",
+                                "title": "撤销",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "spot_contract_performance",
+                        "title": "履约中",
+                        "sort": 3,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_finish",
+                                "title": "正常完结",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "spot_contract_finished",
+                        "title": "已完成",
+                        "sort": 4,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": []
+                    }
+                ]
             },
             {
                 "code": "warehouse_info",
@@ -143,7 +331,64 @@
                 "type": 1,
                 "rulekey": "",
                 "isshow": true,
-                "children": []
+                "children": [
+                    {
+                        "code": "warehouse_info_normal",
+                        "title": "正常",
+                        "sort": 1,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "warehouse_info_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "warehouse_info_btn_modify",
+                                "title": "修改",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "warehouse_info_btn_disable",
+                                "title": "停用",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    },
+                    {
+                        "code": "warehouse_info_disabled",
+                        "title": "停用",
+                        "sort": 2,
+                        "type": 1,
+                        "rulekey": "",
+                        "isshow": true,
+                        "children": [
+                            {
+                                "code": "warehouse_info_btn_recover",
+                                "title": "恢复",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
+                    }
+                ]
             }
         ]
     },

+ 158 - 7
config/pc_menu.json

@@ -124,7 +124,35 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "custom_info_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_modify",
+                                "title": "修改",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_disable",
+                                "title": "停用",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     },
                     {
                         "code": "custom_info_disabled",
@@ -133,7 +161,26 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "custom_info_btn_recover",
+                                "title": "恢复",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "custom_info_btn_delete",
+                                "title": "删除",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     }
                 ]
             },
@@ -180,7 +227,44 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_resubmit",
+                                "title": "重新提交",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_modify",
+                                "title": "修改",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_delete",
+                                "title": "删除",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     },
                     {
                         "code": "spot_contract_checkpending",
@@ -189,7 +273,26 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_check",
+                                "title": "审核",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "spot_contract_btn_cancel",
+                                "title": "撤销",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     },
                     {
                         "code": "spot_contract_performance",
@@ -198,7 +301,17 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "spot_contract_btn_finish",
+                                "title": "正常完结",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     },
                     {
                         "code": "spot_contract_finished",
@@ -226,7 +339,35 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "warehouse_info_btn_add",
+                                "title": "新增",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "warehouse_info_btn_modify",
+                                "title": "修改",
+                                "sort": 2,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            },
+                            {
+                                "code": "warehouse_info_btn_disable",
+                                "title": "停用",
+                                "sort": 3,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     },
                     {
                         "code": "warehouse_info_disabled",
@@ -235,7 +376,17 @@
                         "type": 1,
                         "rulekey": "",
                         "isshow": true,
-                        "children": []
+                        "children": [
+                            {
+                                "code": "warehouse_info_btn_recover",
+                                "title": "恢复",
+                                "sort": 1,
+                                "type": 2,
+                                "rulekey": "",
+                                "isshow": true,
+                                "children": []
+                            }
+                        ]
                     }
                 ]
             }