如何将不规范的json数据转换成规范json数据

{ 
   "version": "1.0",
   data: [{
            id: "1000",
            code:"set",
            label: '配置',
            children: [{
              id: "1001",
              code:"set:store",
              label: '门店配置',
              children: [{
                id: "1002",
                code:"set:store:list",
                label: '门店列表',
                children: [{
                  id: "1003",
                  code:"set:store:list:add",
                  label: '新增'
                }, {
                  id: "1004",
                  code:"set:store:list:update",
                  label: '修改'
                }, {
                  id: "1005",
                  code:"set:store:list:enable_disable",
                  label: '启用/停用'
                }]
              }, {
                id: "1006",
                code:"set:warehouse:manager",
                label: '仓库管理',
                children: [{
                  id: "1007",
                  code:"set:warehouse:manager:add",
                  label: '新增'
                }, {
                  id: "1008",
                  code:"set:warehouse:manager:update",
                  label: '修改'
                }, {
                  id: "1009",
                  code:"set:warehouse:manager:enable_disable",
                  label: '启用/停用'
                }]
              }, {
                id: "1010",
                code:"set:region:manager",
                label: '区域管理',
                children: [{
                  id: "1011",
                  code:"set:region:manager:add",
                  label: '新增'
                }, {
                  id: "1012",
                  code:"set:region:manager:update",
                  label: '修改'
                }, {
                  id: "1013",
                  code:"set:region:manager:enable_disable",
                  label: '启用/停用'
                }]
              }]
            }, {
              id: "1014",
              code:"set:log",
              label: '系统日志',
              children: [{
                id: "1015",
                code:"set:log:login",
                label: '登录日志',
              }, {
                id: "1016",
                code:"set:log:operate",
                label: '操作日志',
              }]
            }, {
              id: "1017",
              code:"set:dict",
              label: '字典配置',
              children: [{
                  id: "1018",
                  code:"set:dict:dictmeta",
                  label: '字典元',
                  children: [{
                    id: "1019",
                    code:"set:dict:dictmeta:group",
                    label: '字典元分组',
                    children: [{
                      id: "1020",
                      code:"set:dict:dictmeta:group:add",
                      label: '新增',
                    }, {
                      id: "1021",
                      code:"set:dict:dictmeta:group:update",
                      label: '编辑',
                    }, {
                      id: "1022",
                      code:"set:dict:dictmeta:group:delete",
                      label: '删除',
                    }, {
                      id: "1023",
                      code:"set:dict:dictmeta:group:view",
                      label: '查看',
                    }],
                  }, {
                    id: "1024",
                    code:"set:dict:dictmeta:list",
                    label: '字典元',
                    children: [{
                      id: "1025",
                      code:"set:dict:dictmeta:list:add",
                      label: '新增',
                    }, {
                      id: "1026",
                      code:"set:dict:dictmeta:list:update",
                      label: '编辑',
                    }, {
                      id: "1027",
                      code:"set:dict:dictmeta:list:delete",
                      label: '删除',
                    }, {
                      id: "1028",
                      code:"set:dict:dictmeta:list:view",
                      label: '查看',
                    }]
                  }]
                },
                {
                  id: "1029",
                  code:"set:demo",
                  label: '组件样例'
                }
              ]
            }]
          }, {
            id: "2000",
            code:"employee",
            label: "人事",
            children: [{
                id: "2001",
                code:"employee:manage",
                label: "员工管理",
                children: [{
                  id: "2002",
                  code:"employee:manage:file",
                  label: "员工档案",
                  children: [{
                    id: "2003",
                    code:"employee:manage:file:add",
                    label: "新增",
                  }, {
                    id: "2004",
                    code:"employee:manage:file:detail",
                    label: "详情",
                  }, {
                    id: "2005",
                    code:"employee:manage:file:update",
                    label: "修改",
                  }, {
                    id: "2006",
                    code:"employee:manage:file:full",
                    label: "转正",
                  }, {
                    id: "2007",
                    code:"employee:manage:file:dimission",
                    label: "离职",
                  }, {
                    id: "2008",
                    code:"employee:manage:file:restpassword",
                    label: "重置密码",
                  }, {
                    id: "2009",
                    code:"employee:manage:file:delete",
                    label: "删除",
                  }]
                }]
              },
              {
                id: "2010",
                code:"employee:manage:department",
                label: "部门管理",
                children: [{
                  id: "2011",
                  code:"employee:manage:department:add",
                  label: "新增",
                }, {
                  id: "2012",
                  code:"employee:manage:department:update",
                  label: "修改",
                }, {
                  id: "2013",
                  code:"employee:manage:department:delete",
                  label: "删除",
                }]
              },
              {
                id: "2014",
                code:"employee:manage:role",
                label: "职务管理",
                children: [{
                  id: "2015",
                  code:"employee:manage:role:add",
                  label: "新增",
                }, {
                  id: "2016",
                  code:"employee:manage:role:update",
                  label: "修改",
                }, {
                  id: "2017",
                  code:"employee:manage:role:delete",
                  label: "删除",
                }, {
                  id: "2018",
                  code:"employee:manage:role:auth",
                  label: "配置权限",
                }]
              },
              {
                id: "2019",
                code:"employee:manage:attendance",
                label: "考勤记录",
                children: [{
                  id: "2020",
                  code:"employee:manage:role:export",
                  label: "导出",
                }]
              }
            ]
          },
          {
            id: "3000",
            code:"goods",
            label: "货品",
            children: [{
              id: "3001",
              code:"goods:manager",
              label: "商品管理",
              children: [{
                  id: "3002",
                  code:"goods:manager:inbound",
                  label: "入库管理",
                  children: [{
                    id: "3003",
                    code:"goods:manager:purchaseIn",
                    label: "采购入库",
                  }, {
                    id: "3004",
                    code:"goods:manager:import",
                    label: "导入批次",
                  }, {
                    id: "3005",
                    code:"goods:manager:purchaseBatch",
                    label: "采购批次",
                  }, {
                    id: "3006",
                    code:"goods:manager:begin",
                    label: "期初入库",
                  }, {
                    id: "3007",
                    code:"goods:manager:detail",
                    label: "详情",
                  }, {
                    id: "3008",
                    code:"goods:manager:auditOk",
                    label: "审核通过",
                  }, {
                    id: "3009",
                    code:"goods:manager:auditBack",
                    label: "审核退回",
                  }, {
                    id: "3010",
                    code:"goods:manager:recive",
                    label: "收货确认",
                  }, {
                    id: "3011",
                    code:"goods:manager:cabint",
                    label: "入库上柜",
                  }, {
                    id: "3012",
                    code:"goods:manager:cancel",
                    label: "取消",
                  }, {
                    id: "3013",
                    code:"goods:manager:updateExpress",
                    label: "修改配送单号",
                  }]
                },
                {
                  id: "3014",
                  code:"goods:manager:purchaseBatch",
                  label: "采购批次",
                  children: [{
                      id: "3015",
                      code:"goods:manager:purchaseBatch:detail",
                      label: "详情"
                    },
                    {
                      id: "3016",
                      code:"goods:manager:purchaseBatch:add",
                      label: "新增"
                    },
                    {
                      id: "3017",
                      code:"goods:manager:purchaseBatch:update",
                      label: "修改"
                    },
                    {
                      id: "3018",
                      code:"goods:manager:purchaseBatch:delete",
                      label: "删除"
                    },
                    {
                      id: "3019",
                      code:"goods:manager:purchaseBatch:discount",
                      label: "核算成本"
                    },
                    {
                      id: "3020",
                      code:"goods:manager:purchaseBatch:finnish",
                      label: "完成"
                    },
                  ]
                }, {
                  id: "3021",
                  code:"goods:manager:inventory",
                  label: "商品库存",
                }, {
                  id: "3022",
                  code:"goods:manager:list",
                  label: "商品列表",
                  children: [{
                      id: "3023",
                      code:"goods:manager:list:detail",
                      label: "详情"
                    },
                    {
                      id: "3024",
                      code:"goods:manager:list:export",
                      label: "导出"
                    },
                    {
                      id: "3025",
                      code:"goods:manager:list:update",
                      label: "修改"
                    },
                    {
                      id: "3026",
                      code:"goods:manager:list:updatePrice",
                      label: "修改标价"
                    }
                  ]
                }, {
                  id: "3027",
                  code:"goods:manager:transfer",
                  label: "调货管理",
                  children: [{
                      id: "3028",
                      code:"goods:manager:transfer:add",
                      label: "新增"
                    },
                    {
                      id: "3029",
                      code:"goods:manager:transfer:detail",
                      label: "详情"
                    },
                    {
                      id: "3030",
                      code:"goods:manager:transfer:update",
                      label: "修改"
                    },
                    {
                      id: "3031",
                      code:"goods:manager:transfer:auditOk",
                      label: "审核通过"
                    },
                    {
                      id: "3032",
                      code:"goods:manager:transfer:auditBack",
                      label: "审核退回"
                    },
                    {
                      id: "3033",
                      code:"goods:manager:transfer:send",
                      label: "发货确认"
                    },
                    {
                      id: "3034",
                      code:"goods:manager:transfer:recive",
                      label: "收货确认"
                    },
                    {
                      id: "3035",
                      code:"goods:manager:transfer:cabint",
                      label: "入库上柜"
                    },
                    {
                      id: "3036",
                      code:"goods:manager:transfer:cancel",
                      label: "取消调货单"
                    },
                    {
                      id: "3037",
                      code:"goods:manager:manager:transfer:updateExpress",
                      label: "修改配送单号"
                    }
                  ]
                }, {
                  id: "3038",
                  code:"goods:manager:inventoryFlow",
                  label: "出入流水",
                  children: [{
                    id: "3039",
                    code:"goods:manager:inventoryFlow:export",
                    label: "导出"
                  }, ]
                }
              ]
            }, {
              id: "3040",
              code:"goods:accessory:manager",
              label: "物料管理",
              children: [{
                  id: "3041",
                  code:"goods:accessory:manager:data",
                  label: "物料资料",
                  children: [{
                      id: "3042",
                      code:"goods:accessory:manager:data:add",
                      label: "新增"
                    },
                    {
                      id: "3043",
                      code:"goods:accessory:manager:data:update",
                      label: "修改"
                    },
                    {
                      id: "3044",
                      code:"goods:accessory:manager:data:delete",
                      label: "删除"
                    },
                    {
                      id: "3045",
                      code:"goods:accessory:manager:data:enable_disable",
                      label: "停用/启用"
                    },
                  ]
                },
                {
                  id: "3046",
                  code:"goods:accessory:manager:inventory",
                  label: "门店库存"
                },
                {
                  id: "3047",
                  code:"goods:accessory:manager:inbound",
                  label: "入库管理",
                  children: [{
                      id: "3048",
                      code:"goods:accessory:manager:inbound:add",
                      label: "新增"
                    },
                    {
                      id: "3049",
                      code:"goods:accessory:manager:inbound:detail",
                      label: "详情"
                    },
                    {
                      id: "3050",
                      code:"goods:accessory:manager:inbound:auditOk",
                      label: "审核通过"
                    },
                    {
                      id: "3051",
                      code:"goods:accessory:manager:inbound:auditBack",
                      label: "审核退回"
                    },
                    {
                      id: "3052",
                      code:"goods:accessory:manager:inbound:recive",
                      label: "收货确认"
                    },
                    {
                      id: "3053",
                      code:"goods:accessory:manager:inbound:cancel",
                      label: "取消"
                    },
                  ]
                },
                {
                  id: "3054",
                  code:"goods:accessory:manager:transfer",
                  label: "调货管理",
                  children: [{
                      id: "3055",
                      code:"goods:accessory:manager:transfer:add",
                      label: "新增"
                    },
                    {
                      id: "3056",
                      code:"goods:accessory:manager:transfer:update",
                      label: "修改"
                    },
                    {
                      id: "3057",
                      code:"goods:accessory:manager:transfer:detail",
                      label: "详情"
                    },
                    {
                      id: "3058",
                      code:"goods:accessory:manager:transfer:auditOk",
                      label: "审核通过"
                    },
                    {
                      id: "3059",
                      code:"goods:accessory:manager:transfer:auditBack",
                      label: "审核退回"
                    },
                    {
                      id: "3060",
                      code:"goods:accessory:manager:transfer:send",
                      label: "发货确认"
                    },
                    {
                      id: "3061",
                      code:"goods:accessory:manager:transfer:recive",
                      label: "收货确认"
                    },
                    {
                      id: "3062",
                      code:"goods:accessory:manager:transfer:cancel",
                      label: "取消"
                    },
                    {
                      id: "3063",
                      code:"goods:accessory:manager:transfer:updateExpress",
                      label: "修改配送单"
                    },
                  ]
                },
                {
                  id: "3064",
                  code:"goods:accessory:manager:flow",
                  label: "出入流水"
                },
              ]
            }, {
              id: "3065",
              code:"goods:recycled:manager",
              label: "旧料管理",
              children: [{
                  id: "3066",
                  code:"goods:recycled:manager:record",
                  label: "回收记录",
                  children: [{
                    id: "3067",
                    code:"goods:recycled:manager:record:detail",
                    label: "详情"
                  }, ]
                },
                {
                  id: "3068",
                  code:"goods:recycled:manager:inventory",
                  label: "旧料库存",
                  children: [{
                      id: "3069",
                      code:"goods:recycled:manager:inventory:detail",
                      label: "详情"
                    },
                    {
                      id: "3070",
                      code:"goods:recycled:manager:group:detail",
                      label: "旧料归类"
                    },
                    {
                      id: "3071",
                      code:"goods:recycled:manager:group:update",
                      label: "修改"
                    },
                  ]
                },
                {
                  id: "3072",
                  code:"goods:recycled:manager:clearedOrder",
                  label: "旧料结算",
                  children: [{
                      id: "3073",
                      code:"goods:recycled:manager:clearedOrder:detail",
                      label: "详情"
                    },
                    {
                      id: "3074",
                      code:"goods:recycled:manager:clearedOrder:add",
                      label: "新增"
                    },
                    {
                      id: "3075",
                      code:"goods:recycled:manager:clearedOrder:update",
                      label: "修改"
                    },
                    {
                      id: "3076",
                      code:"goods:recycled:manager:clearedOrder:auditOk",
                      label: "审核通过"
                    },
                    {
                      id: "3077",
                      code:"goods:recycled:manager:clearedOrder:auditBack",
                      label: "审核退回"
                    },
                    {
                      id: "3078",
                      code:"goods:recycled:manager:clearedOrder:cancel",
                      label: "取消"
                    },
                  ]
                },
                {
                  id: "3079",
                  code:"goods:recycled:manager:outbound",
                  label: "旧料出库",
                  children: [{
                      id: "3080",
                      code:"goods:recycled:manager:outbound:detail",
                      label: "详情"
                    },
                    {
                      id: "3081",
                      code:"goods:recycled:manager:outbound:add",
                      label: "新增"
                    },
                    {
                      id: "3082",
                      code:"goods:recycled:manager:outbound:update",
                      label: "修改"
                    },
                    {
                      id: "3083",
                      code:"goods:recycled:manager:outbound:auditOk",
                      label: "审核通过"
                    },
                    {
                      id: "3084",
                      code:"goods:recycled:manager:outbound:auditBack",
                      label: "审核退回"
                    },
                    {
                      id: "3085",
                      code:"goods:recycled:manager:outbound:cancel",
                      label: "取消"
                    },
                  ]
                },
              ]
            }, {
              id: "3086",
              code:"goods:set",
              label: "基础设置",
              children: [{
                  id: "3087",
                  code:"goods:set:bizDict",
                  label: "商品属性",
                  children: [{
                      id: "3088",
                      code:"goods:set:bizDict:quality",
                      label: "商品成色",
                      children: [{
                          id: "3089",
                          code:"goods:set:bizDict:quality:add",
                          label: "新增"
                        },
                        {
                          id: "3090",
                          code:"goods:set:bizDict:quality:update",
                          label: "修改"
                        },
                        {
                          id: "3091",
                          code:"goods:set:bizDict:quality:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3092",
                      code:"goods:set:bizDict:style",
                      label: "商品款式",
                      children: [{
                          id: "3093",
                          code:"goods:set:bizDict:style:add",
                          label: "新增"
                        },
                        {
                          id: "3094",
                          code:"goods:set:bizDict:style:update",
                          label: "修改"
                        },
                        {
                          id: "3095",
                          code:"goods:set:bizDict:style:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3096",
                      code:"goods:set:bizDict:pattern",
                      label: "商品花型",
                      children: [{
                          id: "3097",
                          code:"goods:set:bizDict:pattern:add",
                          label: "新增"
                        },
                        {
                          id: "3098",
                          code:"goods:set:bizDict:pattern:update",
                          label: "修改"
                        },
                        {
                          id: "3099",
                          code:"goods:set:bizDict:pattern:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3100",
                      code:"goods:set:bizDict:stone",
                      label: "石料名称",
                      children: [{
                          id: "3101",
                          code:"goods:set:bizDict:stone:add",
                          label: "新增"
                        },
                        {
                          id: "3102",
                          code:"goods:set:bizDict:stone:update",
                          label: "修改"
                        },
                        {
                          id: "3103",
                          code:"goods:set:bizDict:stone:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3104",
                      code:"goods:set:bizDict:color",
                      label: "货品颜色",
                      children: [{
                          id: "3105",
                          code:"goods:set:bizDict:color:add",
                          label: "新增"
                        },
                        {
                          id: "3106",
                          code:"goods:set:bizDict:color:update",
                          label: "修改"
                        },
                        {
                          id: "3107",
                          code:"goods:set:bizDict:color:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3108",
                      code:"goods:set:bizDict:diamondDict",
                      label: "钻石属性",
                      children: [{
                          id: "3109",
                          code:"goods:set:bizDict:diamondDict:add",
                          label: "新增"
                        },
                        {
                          id: "3110",
                          code:"goods:set:bizDict:diamondDict:update",
                          label: "修改"
                        },
                        {
                          id: "3111",
                          code:"goods:set:bizDict:diamondDict:delete",
                          label: "删除"
                        }
                      ]
                    },
                    {
                      id: "3112",
                      code:"goods:set:bizDict:additionDict",
                      label: "附加属性",
                      children: [{
                          id: "3113",
                          code:"goods:set:bizDict:additionDict:add",
                          label: "新增"
                        },
                        {
                          id: "3114",
                          code:"goods:set:bizDict:additionDict:update",
                          label: "修改"
                        },
                        {
                          id: "3115",
                          code:"goods:set:bizDict:additionDict:delete",
                          label: "删除"
                        }
                      ]
                    },
                  ]
                },
                {
                  id: "3116",
                  code:"goods:set:category",
                  label: "商品品类",
                  children: [{
                      id: "3117",
                      code:"goods:set:category:addCategory",
                      label: "新增品类"
                    },
                    {
                      id: "3118",
                      code:"goods:set:category:updateCategory",
                      label: "修改品类"
                    },
                    {
                      id: "3119",
                      code:"goods:set:category:deleteCategory",
                      label: "删除品类"
                    },
                    {
                      id: "3120",
                      code:"goods:set:category:addCategoryName",
                      label: "新增品名"
                    },
                    {
                      id: "3121",
                      code:"goods:set:category:updateCategoryName",
                      label: "修改品名"
                    },
                    {
                      id: "3122",
                      code:"goods:set:category:deleteCategoryName",
                      label: "删除品名"
                    }
                  ]
                },
                {
                  id: "3123",
                  code:"goods:set:materialType",
                  label: "物料类别",
                  children: [{
                      id: "3124",
                      code:"goods:set:materialType:add",
                      label: "新增"
                    },
                    {
                      id: "3125",
                      code:"goods:set:materialType:update",
                      label: "修改"
                    },
                    {
                      id: "3126",
                      code:"goods:set:materialType:delete",
                      label: "删除"
                    }
                  ]
                },
                {
                  id: "3127",
                  code:"goods:set:account",
                  label: "往来单位",
                  children: [{
                      id: "3128",
                      code:"goods:set:account:addUnit",
                      label: "新增单位"
                    },
                    {
                      id: "3129",
                      code:"goods:set:account:addUnitCategory",
                      label: "新增单位类别"
                    },
                    {
                      id: "3130",
                      code:"goods:set:account:update",
                      label: "修改"
                    },
                    {
                      id: "3131",
                      code:"goods:set:account:delete",
                      label: "删除"
                    },
                    {
                      id: "3132",
                      code:"goods:set:account:enable_disable",
                      label: "停用/启用"
                    }
                  ]
                },
              ]
            }],
          },
          {
            id: "4000",
            code:"sale",
            label: "销售",
            children: [{
                id: "4001",
                code:"sale:manager",
                label: "销售管理",
                children: [{
                    id: "4002",
                    code:"sale:manager:record",
                    label: "销售记录",
                    children: [{
                        id: "4003",
                        code:"sale:manager:record:detail",
                        label: "详情"
                      },
                      {
                        id: "4004",
                        code:"sale:manager:record:updateCommission",
                        label: "修改销售提成"
                      },
                      {
                        id: "4005",
                        code:"sale:manager:record:updateIntegral",
                        label: "修改客户积分"
                      }
                    ]
                  },
                  {
                    id: "4006",
                    code:"sale:manager:discountApply",
                    label: "折扣申请",
                    children: [{
                        id: "4007",
                        code:"sale:manager:discountApply:detail",
                        label: "详情"
                      },
                      {
                        id: "4008",
                        code:"sale:manager:discountApply:auditOk",
                        label: "审核通过"
                      },
                      {
                        id: "4009",
                        code:"sale:manager:discountApply:auditBack",
                        label: "审核拒绝"
                      },
                    ]
                  },
                  {
                    id: "4010",
                    code:"sale:manager:returned",
                    label: "销售退单",
                    children: [{
                        id: "4011",
                        code:"sale:manager:returned:detail",
                        label: "详情"
                      },
                      {
                        id: "4012",
                        code:"sale:manager:returned:auditOk",
                        label: "审核通过"
                      },
                      {
                        id: "4013",
                        code:"sale:manager:returned:auditBack",
                        label: "审核拒绝"
                      },
                    ]
                  },
                  {
                    id: "4014",
                    code:"sale:manager:commission",
                    label: "销售提成",
                    children: [{
                        id: "4015",
                        code:"sale:manager:commission:export",
                        label: "导出"
                      },
                      {
                        id: "4016",
                        code:"sale:manager:commission:detail",
                        label: "详情"
                      },
                    ]
                  },
                ]
              },
              {
                id: "4017",
                code:"sale:price",
                label: "价格管理",
                children: [{
                    id: "4018",
                    code:"sale:price:goldPrice",
                    label: "今日金价",
                    children: [{
                        id: "4019",
                        code:"sale:price:goldPrice:add",
                        label: "发布金价"
                      },
                      {
                        id: "4020",
                        code:"sale:price:goldPrice:update",
                        label: "编辑金价"
                      },
                      {
                        id: "4021",
                        code:"sale:price:goldPrice:group",
                        label: "金价门店组配置"
                      },
                      {
                        id: "4022",
                        code:"sale:price:goldPrice:addGroup",
                        label: "添加门店组"
                      },
                      {
                        id: "4023",
                        code:"sale:price:goldPrice:updateGroup",
                        label: "修改门店组"
                      },
                      {
                        id: "4024",
                        code:"sale:price:goldPrice:deleteGroup",
                        label: "删除门店组"
                      },
                    ]
                  },
                  {
                    id: "4025",
                    code:"sale:price:discount",
                    label: "折扣权限",
                    children: [{
                        id: "4026",
                        code:"sale:price:discount:add",
                        label: "新增"
                      },
                      {
                        id: "4027",
                        code:"sale:price:discount:update",
                        label: "修改"
                      },
                      {
                        id: "4028",
                        code:"sale:price:discount:delete",
                        label: "删除"
                      },
                      {
                        id: "4029",
                        code:"sale:price:discount:setStore",
                        label: "配置门店"
                      },
                    ]
                  },
                ]
              },
            ]
          },
          {
            id: "5000",
            code:"scrm",
            label: "SCRM",
            children: [{
              id: "5001",
              code:"scrm:memberManage",
              label: "会员管理",
              children: [{
                  id: "5002",
                  code:"scrm:memberManage:file",
                  label: "会员档案",
                  children: [{
                    id: "5003",
                    code:"scrm:memberManage:file:detail",
                    label: "详情"
                  }]
                },
                {
                  id: "5004",
                  code:"scrm:memberManage:department",
                  label: "积分方案",
                  children: [{
                      id: "5005",
                      code:"scrm:memberManage:department:add",
                      label: "新增"
                    },
                    {
                      id: "5006",
                      code:"scrm:memberManage:department:update",
                      label: "修改"
                    },
                    {
                      id: "5007",
                      code:"scrm:memberManage:department:delete",
                      label: "删除"
                    },
                    {
                      id: "5008",
                      code:"scrm:memberManage:department:setStore",
                      label: "配置门店"
                    },
                    {
                      id: "5009",
                      code:"scrm:memberManage:department:rules",
                      label: "积分规则"
                    },
                  ]
                },
              ]
            }]
          }
        ]
}

一般规范的json 数据key和value""对其进行包裹上述josn 就比较不规范
如何才能转换成浏览器或者java识别的规范json数据呢
1.首先copy需要转成规范的json数据
2.打开谷歌浏览器 进入控制台console.log(不规范json数据) 回车
3.控制台会打印一个json对象 copyObjct放到任意文本得到一个规范的json

{
  "version": "1.0",
  "data": [
    {
      "id": "1000",
      "code": "set",
      "label": "配置",
      "children": [
        {
          "id": "1001",
          "code": "set:store",
          "label": "门店配置",
          "children": [
            {
              "id": "1002",
              "code": "set:store:list",
              "label": "门店列表",
              "children": [
                {
                  "id": "1003",
                  "code": "set:store:list:add",
                  "label": "新增"
                },
                {
                  "id": "1004",
                  "code": "set:store:list:update",
                  "label": "修改"
                },
                {
                  "id": "1005",
                  "code": "set:store:list:enable_disable",
                  "label": "启用/停用"
                }
              ]
            },
            {
              "id": "1006",
              "code": "set:warehouse:manager",
              "label": "仓库管理",
              "children": [
                {
                  "id": "1007",
                  "code": "set:warehouse:manager:add",
                  "label": "新增"
                },
                {
                  "id": "1008",
                  "code": "set:warehouse:manager:update",
                  "label": "修改"
                },
                {
                  "id": "1009",
                  "code": "set:warehouse:manager:enable_disable",
                  "label": "启用/停用"
                }
              ]
            },
            {
              "id": "1010",
              "code": "set:region:manager",
              "label": "区域管理",
              "children": [
                {
                  "id": "1011",
                  "code": "set:region:manager:add",
                  "label": "新增"
                },
                {
                  "id": "1012",
                  "code": "set:region:manager:update",
                  "label": "修改"
                },
                {
                  "id": "1013",
                  "code": "set:region:manager:enable_disable",
                  "label": "启用/停用"
                }
              ]
            }
          ]
        },
        {
          "id": "1014",
          "code": "set:log",
          "label": "系统日志",
          "children": [
            {
              "id": "1015",
              "code": "set:log:login",
              "label": "登录日志"
            },
            {
              "id": "1016",
              "code": "set:log:operate",
              "label": "操作日志"
            }
          ]
        },
        {
          "id": "1017",
          "code": "set:dict",
          "label": "字典配置",
          "children": [
            {
              "id": "1018",
              "code": "set:dict:dictmeta",
              "label": "字典元",
              "children": [
                {
                  "id": "1019",
                  "code": "set:dict:dictmeta:group",
                  "label": "字典元分组",
                  "children": [
                    {
                      "id": "1020",
                      "code": "set:dict:dictmeta:group:add",
                      "label": "新增"
                    },
                    {
                      "id": "1021",
                      "code": "set:dict:dictmeta:group:update",
                      "label": "编辑"
                    },
                    {
                      "id": "1022",
                      "code": "set:dict:dictmeta:group:delete",
                      "label": "删除"
                    },
                    {
                      "id": "1023",
                      "code": "set:dict:dictmeta:group:view",
                      "label": "查看"
                    }
                  ]
                },
                {
                  "id": "1024",
                  "code": "set:dict:dictmeta:list",
                  "label": "字典元",
                  "children": [
                    {
                      "id": "1025",
                      "code": "set:dict:dictmeta:list:add",
                      "label": "新增"
                    },
                    {
                      "id": "1026",
                      "code": "set:dict:dictmeta:list:update",
                      "label": "编辑"
                    },
                    {
                      "id": "1027",
                      "code": "set:dict:dictmeta:list:delete",
                      "label": "删除"
                    },
                    {
                      "id": "1028",
                      "code": "set:dict:dictmeta:list:view",
                      "label": "查看"
                    }
                  ]
                }
              ]
            },
            {
              "id": "1029",
              "code": "set:demo",
              "label": "组件样例"
            }
          ]
        }
      ]
    },
    {
      "id": "2000",
      "code": "employee",
      "label": "人事",
      "children": [
        {
          "id": "2001",
          "code": "employee:manage",
          "label": "员工管理",
          "children": [
            {
              "id": "2002",
              "code": "employee:manage:file",
              "label": "员工档案",
              "children": [
                {
                  "id": "2003",
                  "code": "employee:manage:file:add",
                  "label": "新增"
                },
                {
                  "id": "2004",
                  "code": "employee:manage:file:detail",
                  "label": "详情"
                },
                {
                  "id": "2005",
                  "code": "employee:manage:file:update",
                  "label": "修改"
                },
                {
                  "id": "2006",
                  "code": "employee:manage:file:full",
                  "label": "转正"
                },
                {
                  "id": "2007",
                  "code": "employee:manage:file:dimission",
                  "label": "离职"
                },
                {
                  "id": "2008",
                  "code": "employee:manage:file:restpassword",
                  "label": "重置密码"
                },
                {
                  "id": "2009",
                  "code": "employee:manage:file:delete",
                  "label": "删除"
                }
              ]
            }
          ]
        },
        {
          "id": "2010",
          "code": "employee:manage:department",
          "label": "部门管理",
          "children": [
            {
              "id": "2011",
              "code": "employee:manage:department:add",
              "label": "新增"
            },
            {
              "id": "2012",
              "code": "employee:manage:department:update",
              "label": "修改"
            },
            {
              "id": "2013",
              "code": "employee:manage:department:delete",
              "label": "删除"
            }
          ]
        },
        {
          "id": "2014",
          "code": "employee:manage:role",
          "label": "职务管理",
          "children": [
            {
              "id": "2015",
              "code": "employee:manage:role:add",
              "label": "新增"
            },
            {
              "id": "2016",
              "code": "employee:manage:role:update",
              "label": "修改"
            },
            {
              "id": "2017",
              "code": "employee:manage:role:delete",
              "label": "删除"
            },
            {
              "id": "2018",
              "code": "employee:manage:role:auth",
              "label": "配置权限"
            }
          ]
        },
        {
          "id": "2019",
          "code": "employee:manage:attendance",
          "label": "考勤记录",
          "children": [
            {
              "id": "2020",
              "code": "employee:manage:role:export",
              "label": "导出"
            }
          ]
        }
      ]
    },
    {
      "id": "3000",
      "code": "goods",
      "label": "货品",
      "children": [
        {
          "id": "3001",
          "code": "goods:manager",
          "label": "商品管理",
          "children": [
            {
              "id": "3002",
              "code": "goods:manager:inbound",
              "label": "入库管理",
              "children": [
                {
                  "id": "3003",
                  "code": "goods:manager:purchaseIn",
                  "label": "采购入库"
                },
                {
                  "id": "3004",
                  "code": "goods:manager:import",
                  "label": "导入批次"
                },
                {
                  "id": "3005",
                  "code": "goods:manager:purchaseBatch",
                  "label": "采购批次"
                },
                {
                  "id": "3006",
                  "code": "goods:manager:begin",
                  "label": "期初入库"
                },
                {
                  "id": "3007",
                  "code": "goods:manager:detail",
                  "label": "详情"
                },
                {
                  "id": "3008",
                  "code": "goods:manager:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3009",
                  "code": "goods:manager:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3010",
                  "code": "goods:manager:recive",
                  "label": "收货确认"
                },
                {
                  "id": "3011",
                  "code": "goods:manager:cabint",
                  "label": "入库上柜"
                },
                {
                  "id": "3012",
                  "code": "goods:manager:cancel",
                  "label": "取消"
                },
                {
                  "id": "3013",
                  "code": "goods:manager:updateExpress",
                  "label": "修改配送单号"
                }
              ]
            },
            {
              "id": "3014",
              "code": "goods:manager:purchaseBatch",
              "label": "采购批次",
              "children": [
                {
                  "id": "3015",
                  "code": "goods:manager:purchaseBatch:detail",
                  "label": "详情"
                },
                {
                  "id": "3016",
                  "code": "goods:manager:purchaseBatch:add",
                  "label": "新增"
                },
                {
                  "id": "3017",
                  "code": "goods:manager:purchaseBatch:update",
                  "label": "修改"
                },
                {
                  "id": "3018",
                  "code": "goods:manager:purchaseBatch:delete",
                  "label": "删除"
                },
                {
                  "id": "3019",
                  "code": "goods:manager:purchaseBatch:discount",
                  "label": "核算成本"
                },
                {
                  "id": "3020",
                  "code": "goods:manager:purchaseBatch:finnish",
                  "label": "完成"
                }
              ]
            },
            {
              "id": "3021",
              "code": "goods:manager:inventory",
              "label": "商品库存"
            },
            {
              "id": "3022",
              "code": "goods:manager:list",
              "label": "商品列表",
              "children": [
                {
                  "id": "3023",
                  "code": "goods:manager:list:detail",
                  "label": "详情"
                },
                {
                  "id": "3024",
                  "code": "goods:manager:list:export",
                  "label": "导出"
                },
                {
                  "id": "3025",
                  "code": "goods:manager:list:update",
                  "label": "修改"
                },
                {
                  "id": "3026",
                  "code": "goods:manager:list:updatePrice",
                  "label": "修改标价"
                }
              ]
            },
            {
              "id": "3027",
              "code": "goods:manager:transfer",
              "label": "调货管理",
              "children": [
                {
                  "id": "3028",
                  "code": "goods:manager:transfer:add",
                  "label": "新增"
                },
                {
                  "id": "3029",
                  "code": "goods:manager:transfer:detail",
                  "label": "详情"
                },
                {
                  "id": "3030",
                  "code": "goods:manager:transfer:update",
                  "label": "修改"
                },
                {
                  "id": "3031",
                  "code": "goods:manager:transfer:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3032",
                  "code": "goods:manager:transfer:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3033",
                  "code": "goods:manager:transfer:send",
                  "label": "发货确认"
                },
                {
                  "id": "3034",
                  "code": "goods:manager:transfer:recive",
                  "label": "收货确认"
                },
                {
                  "id": "3035",
                  "code": "goods:manager:transfer:cabint",
                  "label": "入库上柜"
                },
                {
                  "id": "3036",
                  "code": "goods:manager:transfer:cancel",
                  "label": "取消调货单"
                },
                {
                  "id": "3037",
                  "code": "goods:manager:manager:transfer:updateExpress",
                  "label": "修改配送单号"
                }
              ]
            },
            {
              "id": "3038",
              "code": "goods:manager:inventoryFlow",
              "label": "出入流水",
              "children": [
                {
                  "id": "3039",
                  "code": "goods:manager:inventoryFlow:export",
                  "label": "导出"
                }
              ]
            }
          ]
        },
        {
          "id": "3040",
          "code": "goods:accessory:manager",
          "label": "物料管理",
          "children": [
            {
              "id": "3041",
              "code": "goods:accessory:manager:data",
              "label": "物料资料",
              "children": [
                {
                  "id": "3042",
                  "code": "goods:accessory:manager:data:add",
                  "label": "新增"
                },
                {
                  "id": "3043",
                  "code": "goods:accessory:manager:data:update",
                  "label": "修改"
                },
                {
                  "id": "3044",
                  "code": "goods:accessory:manager:data:delete",
                  "label": "删除"
                },
                {
                  "id": "3045",
                  "code": "goods:accessory:manager:data:enable_disable",
                  "label": "停用/启用"
                }
              ]
            },
            {
              "id": "3046",
              "code": "goods:accessory:manager:inventory",
              "label": "门店库存"
            },
            {
              "id": "3047",
              "code": "goods:accessory:manager:inbound",
              "label": "入库管理",
              "children": [
                {
                  "id": "3048",
                  "code": "goods:accessory:manager:inbound:add",
                  "label": "新增"
                },
                {
                  "id": "3049",
                  "code": "goods:accessory:manager:inbound:detail",
                  "label": "详情"
                },
                {
                  "id": "3050",
                  "code": "goods:accessory:manager:inbound:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3051",
                  "code": "goods:accessory:manager:inbound:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3052",
                  "code": "goods:accessory:manager:inbound:recive",
                  "label": "收货确认"
                },
                {
                  "id": "3053",
                  "code": "goods:accessory:manager:inbound:cancel",
                  "label": "取消"
                }
              ]
            },
            {
              "id": "3054",
              "code": "goods:accessory:manager:transfer",
              "label": "调货管理",
              "children": [
                {
                  "id": "3055",
                  "code": "goods:accessory:manager:transfer:add",
                  "label": "新增"
                },
                {
                  "id": "3056",
                  "code": "goods:accessory:manager:transfer:update",
                  "label": "修改"
                },
                {
                  "id": "3057",
                  "code": "goods:accessory:manager:transfer:detail",
                  "label": "详情"
                },
                {
                  "id": "3058",
                  "code": "goods:accessory:manager:transfer:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3059",
                  "code": "goods:accessory:manager:transfer:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3060",
                  "code": "goods:accessory:manager:transfer:send",
                  "label": "发货确认"
                },
                {
                  "id": "3061",
                  "code": "goods:accessory:manager:transfer:recive",
                  "label": "收货确认"
                },
                {
                  "id": "3062",
                  "code": "goods:accessory:manager:transfer:cancel",
                  "label": "取消"
                },
                {
                  "id": "3063",
                  "code": "goods:accessory:manager:transfer:updateExpress",
                  "label": "修改配送单"
                }
              ]
            },
            {
              "id": "3064",
              "code": "goods:accessory:manager:flow",
              "label": "出入流水"
            }
          ]
        },
        {
          "id": "3065",
          "code": "goods:recycled:manager",
          "label": "旧料管理",
          "children": [
            {
              "id": "3066",
              "code": "goods:recycled:manager:record",
              "label": "回收记录",
              "children": [
                {
                  "id": "3067",
                  "code": "goods:recycled:manager:record:detail",
                  "label": "详情"
                }
              ]
            },
            {
              "id": "3068",
              "code": "goods:recycled:manager:inventory",
              "label": "旧料库存",
              "children": [
                {
                  "id": "3069",
                  "code": "goods:recycled:manager:inventory:detail",
                  "label": "详情"
                },
                {
                  "id": "3070",
                  "code": "goods:recycled:manager:group:detail",
                  "label": "旧料归类"
                },
                {
                  "id": "3071",
                  "code": "goods:recycled:manager:group:update",
                  "label": "修改"
                }
              ]
            },
            {
              "id": "3072",
              "code": "goods:recycled:manager:clearedOrder",
              "label": "旧料结算",
              "children": [
                {
                  "id": "3073",
                  "code": "goods:recycled:manager:clearedOrder:detail",
                  "label": "详情"
                },
                {
                  "id": "3074",
                  "code": "goods:recycled:manager:clearedOrder:add",
                  "label": "新增"
                },
                {
                  "id": "3075",
                  "code": "goods:recycled:manager:clearedOrder:update",
                  "label": "修改"
                },
                {
                  "id": "3076",
                  "code": "goods:recycled:manager:clearedOrder:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3077",
                  "code": "goods:recycled:manager:clearedOrder:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3078",
                  "code": "goods:recycled:manager:clearedOrder:cancel",
                  "label": "取消"
                }
              ]
            },
            {
              "id": "3079",
              "code": "goods:recycled:manager:outbound",
              "label": "旧料出库",
              "children": [
                {
                  "id": "3080",
                  "code": "goods:recycled:manager:outbound:detail",
                  "label": "详情"
                },
                {
                  "id": "3081",
                  "code": "goods:recycled:manager:outbound:add",
                  "label": "新增"
                },
                {
                  "id": "3082",
                  "code": "goods:recycled:manager:outbound:update",
                  "label": "修改"
                },
                {
                  "id": "3083",
                  "code": "goods:recycled:manager:outbound:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "3084",
                  "code": "goods:recycled:manager:outbound:auditBack",
                  "label": "审核退回"
                },
                {
                  "id": "3085",
                  "code": "goods:recycled:manager:outbound:cancel",
                  "label": "取消"
                }
              ]
            }
          ]
        },
        {
          "id": "3086",
          "code": "goods:set",
          "label": "基础设置",
          "children": [
            {
              "id": "3087",
              "code": "goods:set:bizDict",
              "label": "商品属性",
              "children": [
                {
                  "id": "3088",
                  "code": "goods:set:bizDict:quality",
                  "label": "商品成色",
                  "children": [
                    {
                      "id": "3089",
                      "code": "goods:set:bizDict:quality:add",
                      "label": "新增"
                    },
                    {
                      "id": "3090",
                      "code": "goods:set:bizDict:quality:update",
                      "label": "修改"
                    },
                    {
                      "id": "3091",
                      "code": "goods:set:bizDict:quality:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3092",
                  "code": "goods:set:bizDict:style",
                  "label": "商品款式",
                  "children": [
                    {
                      "id": "3093",
                      "code": "goods:set:bizDict:style:add",
                      "label": "新增"
                    },
                    {
                      "id": "3094",
                      "code": "goods:set:bizDict:style:update",
                      "label": "修改"
                    },
                    {
                      "id": "3095",
                      "code": "goods:set:bizDict:style:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3096",
                  "code": "goods:set:bizDict:pattern",
                  "label": "商品花型",
                  "children": [
                    {
                      "id": "3097",
                      "code": "goods:set:bizDict:pattern:add",
                      "label": "新增"
                    },
                    {
                      "id": "3098",
                      "code": "goods:set:bizDict:pattern:update",
                      "label": "修改"
                    },
                    {
                      "id": "3099",
                      "code": "goods:set:bizDict:pattern:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3100",
                  "code": "goods:set:bizDict:stone",
                  "label": "石料名称",
                  "children": [
                    {
                      "id": "3101",
                      "code": "goods:set:bizDict:stone:add",
                      "label": "新增"
                    },
                    {
                      "id": "3102",
                      "code": "goods:set:bizDict:stone:update",
                      "label": "修改"
                    },
                    {
                      "id": "3103",
                      "code": "goods:set:bizDict:stone:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3104",
                  "code": "goods:set:bizDict:color",
                  "label": "货品颜色",
                  "children": [
                    {
                      "id": "3105",
                      "code": "goods:set:bizDict:color:add",
                      "label": "新增"
                    },
                    {
                      "id": "3106",
                      "code": "goods:set:bizDict:color:update",
                      "label": "修改"
                    },
                    {
                      "id": "3107",
                      "code": "goods:set:bizDict:color:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3108",
                  "code": "goods:set:bizDict:diamondDict",
                  "label": "钻石属性",
                  "children": [
                    {
                      "id": "3109",
                      "code": "goods:set:bizDict:diamondDict:add",
                      "label": "新增"
                    },
                    {
                      "id": "3110",
                      "code": "goods:set:bizDict:diamondDict:update",
                      "label": "修改"
                    },
                    {
                      "id": "3111",
                      "code": "goods:set:bizDict:diamondDict:delete",
                      "label": "删除"
                    }
                  ]
                },
                {
                  "id": "3112",
                  "code": "goods:set:bizDict:additionDict",
                  "label": "附加属性",
                  "children": [
                    {
                      "id": "3113",
                      "code": "goods:set:bizDict:additionDict:add",
                      "label": "新增"
                    },
                    {
                      "id": "3114",
                      "code": "goods:set:bizDict:additionDict:update",
                      "label": "修改"
                    },
                    {
                      "id": "3115",
                      "code": "goods:set:bizDict:additionDict:delete",
                      "label": "删除"
                    }
                  ]
                }
              ]
            },
            {
              "id": "3116",
              "code": "goods:set:category",
              "label": "商品品类",
              "children": [
                {
                  "id": "3117",
                  "code": "goods:set:category:addCategory",
                  "label": "新增品类"
                },
                {
                  "id": "3118",
                  "code": "goods:set:category:updateCategory",
                  "label": "修改品类"
                },
                {
                  "id": "3119",
                  "code": "goods:set:category:deleteCategory",
                  "label": "删除品类"
                },
                {
                  "id": "3120",
                  "code": "goods:set:category:addCategoryName",
                  "label": "新增品名"
                },
                {
                  "id": "3121",
                  "code": "goods:set:category:updateCategoryName",
                  "label": "修改品名"
                },
                {
                  "id": "3122",
                  "code": "goods:set:category:deleteCategoryName",
                  "label": "删除品名"
                }
              ]
            },
            {
              "id": "3123",
              "code": "goods:set:materialType",
              "label": "物料类别",
              "children": [
                {
                  "id": "3124",
                  "code": "goods:set:materialType:add",
                  "label": "新增"
                },
                {
                  "id": "3125",
                  "code": "goods:set:materialType:update",
                  "label": "修改"
                },
                {
                  "id": "3126",
                  "code": "goods:set:materialType:delete",
                  "label": "删除"
                }
              ]
            },
            {
              "id": "3127",
              "code": "goods:set:account",
              "label": "往来单位",
              "children": [
                {
                  "id": "3128",
                  "code": "goods:set:account:addUnit",
                  "label": "新增单位"
                },
                {
                  "id": "3129",
                  "code": "goods:set:account:addUnitCategory",
                  "label": "新增单位类别"
                },
                {
                  "id": "3130",
                  "code": "goods:set:account:update",
                  "label": "修改"
                },
                {
                  "id": "3131",
                  "code": "goods:set:account:delete",
                  "label": "删除"
                },
                {
                  "id": "3132",
                  "code": "goods:set:account:enable_disable",
                  "label": "停用/启用"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "4000",
      "code": "sale",
      "label": "销售",
      "children": [
        {
          "id": "4001",
          "code": "sale:manager",
          "label": "销售管理",
          "children": [
            {
              "id": "4002",
              "code": "sale:manager:record",
              "label": "销售记录",
              "children": [
                {
                  "id": "4003",
                  "code": "sale:manager:record:detail",
                  "label": "详情"
                },
                {
                  "id": "4004",
                  "code": "sale:manager:record:updateCommission",
                  "label": "修改销售提成"
                },
                {
                  "id": "4005",
                  "code": "sale:manager:record:updateIntegral",
                  "label": "修改客户积分"
                }
              ]
            },
            {
              "id": "4006",
              "code": "sale:manager:discountApply",
              "label": "折扣申请",
              "children": [
                {
                  "id": "4007",
                  "code": "sale:manager:discountApply:detail",
                  "label": "详情"
                },
                {
                  "id": "4008",
                  "code": "sale:manager:discountApply:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "4009",
                  "code": "sale:manager:discountApply:auditBack",
                  "label": "审核拒绝"
                }
              ]
            },
            {
              "id": "4010",
              "code": "sale:manager:returned",
              "label": "销售退单",
              "children": [
                {
                  "id": "4011",
                  "code": "sale:manager:returned:detail",
                  "label": "详情"
                },
                {
                  "id": "4012",
                  "code": "sale:manager:returned:auditOk",
                  "label": "审核通过"
                },
                {
                  "id": "4013",
                  "code": "sale:manager:returned:auditBack",
                  "label": "审核拒绝"
                }
              ]
            },
            {
              "id": "4014",
              "code": "sale:manager:commission",
              "label": "销售提成",
              "children": [
                {
                  "id": "4015",
                  "code": "sale:manager:commission:export",
                  "label": "导出"
                },
                {
                  "id": "4016",
                  "code": "sale:manager:commission:detail",
                  "label": "详情"
                }
              ]
            }
          ]
        },
        {
          "id": "4017",
          "code": "sale:price",
          "label": "价格管理",
          "children": [
            {
              "id": "4018",
              "code": "sale:price:goldPrice",
              "label": "今日金价",
              "children": [
                {
                  "id": "4019",
                  "code": "sale:price:goldPrice:add",
                  "label": "发布金价"
                },
                {
                  "id": "4020",
                  "code": "sale:price:goldPrice:update",
                  "label": "编辑金价"
                },
                {
                  "id": "4021",
                  "code": "sale:price:goldPrice:group",
                  "label": "金价门店组配置"
                },
                {
                  "id": "4022",
                  "code": "sale:price:goldPrice:addGroup",
                  "label": "添加门店组"
                },
                {
                  "id": "4023",
                  "code": "sale:price:goldPrice:updateGroup",
                  "label": "修改门店组"
                },
                {
                  "id": "4024",
                  "code": "sale:price:goldPrice:deleteGroup",
                  "label": "删除门店组"
                }
              ]
            },
            {
              "id": "4025",
              "code": "sale:price:discount",
              "label": "折扣权限",
              "children": [
                {
                  "id": "4026",
                  "code": "sale:price:discount:add",
                  "label": "新增"
                },
                {
                  "id": "4027",
                  "code": "sale:price:discount:update",
                  "label": "修改"
                },
                {
                  "id": "4028",
                  "code": "sale:price:discount:delete",
                  "label": "删除"
                },
                {
                  "id": "4029",
                  "code": "sale:price:discount:setStore",
                  "label": "配置门店"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "5000",
      "code": "scrm",
      "label": "SCRM",
      "children": [
        {
          "id": "5001",
          "code": "scrm:memberManage",
          "label": "会员管理",
          "children": [
            {
              "id": "5002",
              "code": "scrm:memberManage:file",
              "label": "会员档案",
              "children": [
                {
                  "id": "5003",
                  "code": "scrm:memberManage:file:detail",
                  "label": "详情"
                }
              ]
            },
            {
              "id": "5004",
              "code": "scrm:memberManage:department",
              "label": "积分方案",
              "children": [
                {
                  "id": "5005",
                  "code": "scrm:memberManage:department:add",
                  "label": "新增"
                },
                {
                  "id": "5006",
                  "code": "scrm:memberManage:department:update",
                  "label": "修改"
                },
                {
                  "id": "5007",
                  "code": "scrm:memberManage:department:delete",
                  "label": "删除"
                },
                {
                  "id": "5008",
                  "code": "scrm:memberManage:department:setStore",
                  "label": "配置门店"
                },
                {
                  "id": "5009",
                  "code": "scrm:memberManage:department:rules",
                  "label": "积分规则"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值