<template>
  <el-row>
    <el-col :span="24">
      <el-card class="el-card-auto" style="min-height:350px">
        <div slot="header" class="clearfix">
          <span style="font-size: 20px;">我的应用</span>
          <!-- <el-button style="font-size: 20px;float: right; padding: 3px 0" type="text"
            @click="childMethod()">新建应用</el-button> -->
        </div>
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane v-for="item, index in appList" :label="item.name" :name="item.name" :key="index">
            <div class="app-item" v-for="(childItem, index) in item.children" :key="index" @click="handleSelect(childItem)"
              @mouseover="showContent = index" @mouseleave="showContent = null">
              <svg-icon :icon-class="childItem.icon" style="width: 40px;height: 40px" />
              {{ childItem.name }}
              <div v-if="showContent == index" class="app-item-tools">
                <!-- <i slot="reference" class="el-icon-s-tools" @click.stop="editApp(childItem)"></i> -->
              </div>
            </div>
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </el-col>
  </el-row>
</template>

<script>
import {appList,getListByMenuId} from "@/api/home";
import router from '@/router'
import store from '@/store'
export default {
  data() {
    return {
      activeName: 'OA',
      showContent: null,
      appList: [
        // {
        //   name: 'OA',
        //   children: [
        //     {
        //       type: 1,
        //       path: 'https://www.baidu.com/',
        //       name: '自定义应用',
        //       icon: 'zidingyi',
        //     },
        //     {
        //       type: 3,
        //       path: '/system/companyInfo',
        //       name: '系统管理',
        //       icon: 'chuchai',
        //     },
        //     {
        //       type: 1,
        //       path: '/oa/entry',
        //       name: '入职审批',
        //       icon: 'qingjia',
        //     },
        //     {
        //       type: 2,
        //       path: '/oa/turnJust',
        //       name: '转正申请',
        //       icon: 'chuchai',
        //     },
        //     {
        //       type: 3,
        //       path: '/oa/renewal',
        //       name: '续签申请',
        //       icon: 'chuchai',
        //     },
        //     {
        //       type: 4,
        //       path: '/oa/staffQuit',
        //       name: '离职申请',
        //       icon: 'chuchai',
        //     },
           
        //     {
        //       type: 4,
        //       path: '/meeting/list',
        //       name: '会议室管理',
        //       icon: 'chuchai',
        //     },
        //   ],
        // },
        // {
        //   name: '人事',
        //   children: [],

        // },
        // {
        //   name: '财务',
        //   children: [],

        // },
        // {
        //   name: 'CRM',
        //   children: [],

        // },
      ]
    };
  },
  created(){
    this.getAppList();
  },
  methods: {
    getAppList() {
      appList().then(res => {
        let appDataList = [];
        res.data.map((item) => {
          // if (item.name != '其他') {
            appDataList.push(item);
          // }
        });
        this.appList = appDataList;
      })
    },
    childMethod() {
      this.$parent.openAppList();
    },
    //编辑应用
    editApp(item) {
      this.$parent.editApp(item);
    },
    // 菜单选择事件
    handleSelect(item) {
      let key = item.path;
      getListByMenuId({menuld:item.id}).then(response => {
          let menuList =response.data;
          localStorage.setItem("menus", JSON.stringify(menuList))
          if (this.ishttp(key)) {
            // http(s):// 路径新窗口打开
            window.open(key, "_blank");
          } else {
            store.dispatch('GenerateRoutes', menuList).then(accessRoutes => {
              console.log(accessRoutes);
              // 根据 roles 权限生成可访问的路由表
              router.addRoutes(accessRoutes) // 动态添加可访问路由表
            })
            setTimeout(() => {
              this.$router.push({ path: key });
            }, 200);
          }
        });
      
      const menus = [
        {
          "id": 1254,
          "parentId": 0,
          "name": "作者动态",
          "path": "https://www.iocoder.cn",
          "component": null,
          "componentName": null,
          "icon": "ep:avatar",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": null
        },
        {
          "id": 2159,
          "parentId": 0,
          "name": "Boot 开发文档",
          "path": "https://doc.iocoder.cn/",
          "component": null,
          "componentName": null,
          "icon": "ep:document",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": null
        },
        {
          "id": 2160,
          "parentId": 0,
          "name": "Cloud 开发文档",
          "path": "https://cloud.iocoder.cn",
          "component": null,
          "componentName": null,
          "icon": "ep:document-copy",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": null
        },
        {
          "id": 1,
          "parentId": 0,
          "name": "系统管理",
          "path": "/system",
          "component": null,
          "componentName": null,
          "icon": "ep:tools",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 109,
              "parentId": 1,
              "name": "企业信息",
              "path": "companyInfo",
              "component": "system/companyInfo/index",
              "componentName": "SystemCompanyInfo",
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1224,
              "parentId": 1,
              "name": "租户管理",
              "path": "tenant",
              "component": null,
              "componentName": null,
              "icon": "fa-solid:house-user",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1138,
                  "parentId": 1224,
                  "name": "租户列表",
                  "path": "list",
                  "component": "system/tenant/index",
                  "componentName": "SystemTenant",
                  "icon": "ep:house",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1225,
                  "parentId": 1224,
                  "name": "租户套餐",
                  "path": "package",
                  "component": "system/tenantPackage/index",
                  "componentName": "SystemTenantPackage",
                  "icon": "fa:bars",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 100,
              "parentId": 1,
              "name": "用户管理",
              "path": "user",
              "component": "system/user/index",
              "componentName": "SystemUser",
              "icon": "ep:avatar",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 101,
              "parentId": 1,
              "name": "角色管理",
              "path": "role",
              "component": "system/role/index",
              "componentName": "SystemRole",
              "icon": "ep:user",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 102,
              "parentId": 1,
              "name": "菜单管理",
              "path": "menu",
              "component": "system/menu/index",
              "componentName": "SystemMenu",
              "icon": "ep:menu",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 103,
              "parentId": 1,
              "name": "部门管理",
              "path": "dept",
              "component": "system/dept/index",
              "componentName": "SystemDept",
              "icon": "fa:address-card",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 104,
              "parentId": 1,
              "name": "岗位管理",
              "path": "post",
              "component": "system/post/index",
              "componentName": "SystemPost",
              "icon": "fa:address-book-o",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 105,
              "parentId": 1,
              "name": "字典管理",
              "path": "dict",
              "component": "system/dict/index",
              "componentName": "SystemDictType",
              "icon": "ep:collection",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2739,
              "parentId": 1,
              "name": "消息中心",
              "path": "messages",
              "component": "",
              "componentName": "",
              "icon": "ep:chat-dot-round",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1093,
                  "parentId": 2739,
                  "name": "短信管理",
                  "path": "sms",
                  "component": null,
                  "componentName": null,
                  "icon": "ep:message",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 1094,
                      "parentId": 1093,
                      "name": "短信渠道",
                      "path": "sms-channel",
                      "component": "system/sms/channel/index",
                      "componentName": "SystemSmsChannel",
                      "icon": "fa:stack-exchange",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 1100,
                      "parentId": 1093,
                      "name": "短信模板",
                      "path": "sms-template",
                      "component": "system/sms/template/index",
                      "componentName": "SystemSmsTemplate",
                      "icon": "ep:connection",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 1107,
                      "parentId": 1093,
                      "name": "短信日志",
                      "path": "sms-log",
                      "component": "system/sms/log/index",
                      "componentName": "SystemSmsLog",
                      "icon": "fa:edit",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2130,
                  "parentId": 2739,
                  "name": "邮箱管理",
                  "path": "mail",
                  "component": null,
                  "componentName": null,
                  "icon": "fa-solid:mail-bulk",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2131,
                      "parentId": 2130,
                      "name": "邮箱账号",
                      "path": "mail-account",
                      "component": "system/mail/account/index",
                      "componentName": "SystemMailAccount",
                      "icon": "fa:universal-access",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2136,
                      "parentId": 2130,
                      "name": "邮件模版",
                      "path": "mail-template",
                      "component": "system/mail/template/index",
                      "componentName": "SystemMailTemplate",
                      "icon": "fa:tag",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2141,
                      "parentId": 2130,
                      "name": "邮件记录",
                      "path": "mail-log",
                      "component": "system/mail/log/index",
                      "componentName": "SystemMailLog",
                      "icon": "fa:edit",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2144,
                  "parentId": 2739,
                  "name": "站内信管理",
                  "path": "notify",
                  "component": null,
                  "componentName": null,
                  "icon": "ep:message-box",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2145,
                      "parentId": 2144,
                      "name": "模板管理",
                      "path": "notify-template",
                      "component": "system/notify/template/index",
                      "componentName": "SystemNotifyTemplate",
                      "icon": "fa:archive",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2151,
                      "parentId": 2144,
                      "name": "消息记录",
                      "path": "notify-message",
                      "component": "system/notify/message/index",
                      "componentName": "SystemNotifyMessage",
                      "icon": "fa:edit",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 107,
                  "parentId": 2739,
                  "name": "通知公告",
                  "path": "notice",
                  "component": "system/notice/index",
                  "componentName": "SystemNotice",
                  "icon": "ep:takeaway-box",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 108,
              "parentId": 1,
              "name": "审计日志",
              "path": "log",
              "component": "",
              "componentName": null,
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 500,
                  "parentId": 108,
                  "name": "操作日志",
                  "path": "operate-log",
                  "component": "system/operatelog/index",
                  "componentName": "SystemOperateLog",
                  "icon": "ep:position",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 501,
                  "parentId": 108,
                  "name": "登录日志",
                  "path": "login-log",
                  "component": "system/loginlog/index",
                  "componentName": "SystemLoginLog",
                  "icon": "ep:promotion",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 1261,
              "parentId": 1,
              "name": "OAuth 2.0",
              "path": "oauth2",
              "component": null,
              "componentName": null,
              "icon": "fa:dashcube",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1263,
                  "parentId": 1261,
                  "name": "应用管理",
                  "path": "oauth2/application",
                  "component": "system/oauth2/client/index",
                  "componentName": "SystemOAuth2Client",
                  "icon": "fa:hdd-o",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 109,
                  "parentId": 1261,
                  "name": "令牌管理",
                  "path": "token",
                  "component": "system/oauth2/token/index",
                  "componentName": "SystemTokenClient",
                  "icon": "fa:key",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2447,
              "parentId": 1,
              "name": "三方登录",
              "path": "social",
              "component": "",
              "componentName": "",
              "icon": "fa:rocket",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2448,
                  "parentId": 2447,
                  "name": "三方应用",
                  "path": "client",
                  "component": "views/system/social/client/index.vue",
                  "componentName": "SocialClient",
                  "icon": "ep:set-up",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2453,
                  "parentId": 2447,
                  "name": "三方用户",
                  "path": "user",
                  "component": "system/social/user/index.vue",
                  "componentName": "SocialUser",
                  "icon": "ep:avatar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2083,
              "parentId": 1,
              "name": "地区管理",
              "path": "area",
              "component": "system/area/index",
              "componentName": "SystemArea",
              "icon": "fa:map-marker",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            }
          ]
        },
        {
          "id": 2,
          "parentId": 0,
          "name": "基础设施",
          "path": "/infra",
          "component": null,
          "componentName": null,
          "icon": "ep:monitor",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 115,
              "parentId": 2,
              "name": "代码生成",
              "path": "codegen",
              "component": "infra/codegen/index",
              "componentName": "InfraCodegen",
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1070,
              "parentId": 2,
              "name": "代码生成案例",
              "path": "demo",
              "component": "infra/testDemo/index",
              "componentName": null,
              "icon": "ep:aim",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2478,
                  "parentId": 1070,
                  "name": "单表（增删改查）",
                  "path": "demo01-contact",
                  "component": "infra/demo/demo01/index",
                  "componentName": "Demo01Contact",
                  "icon": "ep:bicycle",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2484,
                  "parentId": 1070,
                  "name": "树表（增删改查）",
                  "path": "demo02-category",
                  "component": "infra/demo/demo02/index",
                  "componentName": "Demo02Category",
                  "icon": "fa:tree",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2490,
                  "parentId": 1070,
                  "name": "主子表（标准）",
                  "path": "demo03-normal",
                  "component": "infra/demo/demo03/normal/index",
                  "componentName": "Demo03StudentNormal",
                  "icon": "fa:battery-3",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2497,
                  "parentId": 1070,
                  "name": "主子表（ERP）",
                  "path": "demo03-erp",
                  "component": "infra/demo/demo03/erp/index",
                  "componentName": "Demo03StudentERP",
                  "icon": "ep:calendar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2472,
                  "parentId": 1070,
                  "name": "主子表（内嵌）",
                  "path": "demo03-inner",
                  "component": "infra/demo/demo03/inner/index",
                  "componentName": "Demo03StudentInner",
                  "icon": "fa:power-off",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 1255,
              "parentId": 2,
              "name": "数据源配置",
              "path": "data-source-config",
              "component": "infra/dataSourceConfig/index",
              "componentName": "InfraDataSourceConfig",
              "icon": "ep:data-analysis",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 114,
              "parentId": 2,
              "name": "表单构建",
              "path": "build",
              "component": "infra/build/index",
              "componentName": "InfraBuild",
              "icon": "fa:wpforms",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 116,
              "parentId": 2,
              "name": "API 接口",
              "path": "swagger",
              "component": "infra/swagger/index",
              "componentName": "InfraSwagger",
              "icon": "fa:fighter-jet",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1083,
              "parentId": 2,
              "name": "API 日志",
              "path": "log",
              "component": null,
              "componentName": null,
              "icon": "fa:tasks",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1078,
                  "parentId": 1083,
                  "name": "访问日志",
                  "path": "api-access-log",
                  "component": "infra/apiAccessLog/index",
                  "componentName": "InfraApiAccessLog",
                  "icon": "ep:place",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1084,
                  "parentId": 1083,
                  "name": "错误日志",
                  "path": "api-error-log",
                  "component": "infra/apiErrorLog/index",
                  "componentName": "InfraApiErrorLog",
                  "icon": "ep:warning-filled",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2525,
              "parentId": 2,
              "name": "WebSocket",
              "path": "websocket",
              "component": "infra/webSocket/index",
              "componentName": "InfraWebSocket",
              "icon": "ep:connection",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1243,
              "parentId": 2,
              "name": "文件管理",
              "path": "file",
              "component": null,
              "componentName": "",
              "icon": "ep:files",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1237,
                  "parentId": 1243,
                  "name": "文件配置",
                  "path": "file-config",
                  "component": "infra/fileConfig/index",
                  "componentName": "InfraFileConfig",
                  "icon": "fa-solid:file-signature",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1090,
                  "parentId": 1243,
                  "name": "文件列表",
                  "path": "file",
                  "component": "infra/file/index",
                  "componentName": "InfraFile",
                  "icon": "ep:upload-filled",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 110,
              "parentId": 2,
              "name": "定时任务",
              "path": "job",
              "component": "infra/job/index",
              "componentName": "InfraJob",
              "icon": "fa-solid:tasks",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 106,
              "parentId": 2,
              "name": "配置管理",
              "path": "config",
              "component": "infra/config/index",
              "componentName": "InfraConfig",
              "icon": "fa:connectdevelop",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2740,
              "parentId": 2,
              "name": "监控中心",
              "path": "monitors",
              "component": "",
              "componentName": "",
              "icon": "ep:monitor",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 111,
                  "parentId": 2740,
                  "name": "MySQL 监控",
                  "path": "druid",
                  "component": "infra/druid/index",
                  "componentName": "InfraDruid",
                  "icon": "fa-solid:box",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 113,
                  "parentId": 2740,
                  "name": "Redis 监控",
                  "path": "redis",
                  "component": "infra/redis/index",
                  "componentName": "InfraRedis",
                  "icon": "fa:reddit-square",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 112,
                  "parentId": 2740,
                  "name": "Java 监控",
                  "path": "admin-server",
                  "component": "infra/server/index",
                  "componentName": "InfraAdminServer",
                  "icon": "ep:coffee-cup",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1077,
                  "parentId": 2740,
                  "name": "链路追踪",
                  "path": "skywalking",
                  "component": "infra/skywalking/index",
                  "componentName": "InfraSkyWalking",
                  "icon": "fa:eye",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 1117,
          "parentId": 0,
          "name": "支付管理",
          "path": "/pay",
          "component": null,
          "componentName": null,
          "icon": "ep:money",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 1126,
              "parentId": 1117,
              "name": "应用信息",
              "path": "app",
              "component": "pay/app/index",
              "componentName": "PayApp",
              "icon": "fa:apple",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1173,
              "parentId": 1117,
              "name": "支付订单",
              "path": "order",
              "component": "pay/order/index",
              "componentName": "PayOrder",
              "icon": "fa:cc-paypal",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1161,
              "parentId": 1117,
              "name": "退款订单",
              "path": "refund",
              "component": "pay/refund/index",
              "componentName": "PayRefund",
              "icon": "fa:registered",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2559,
              "parentId": 1117,
              "name": "转账订单",
              "path": "transfer",
              "component": "pay/transfer/index",
              "componentName": "PayTransfer",
              "icon": "ep:credit-card",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2551,
              "parentId": 1117,
              "name": "钱包管理",
              "path": "wallet",
              "component": "",
              "componentName": "",
              "icon": "ep:wallet",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2557,
                  "parentId": 2551,
                  "name": "钱包余额",
                  "path": "wallet-balance",
                  "component": "pay/wallet/balance/index",
                  "componentName": "WalletBalance",
                  "icon": "fa:leaf",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2552,
                  "parentId": 2551,
                  "name": "充值套餐",
                  "path": "wallet-recharge-package",
                  "component": "pay/wallet/rechargePackage/index",
                  "componentName": "WalletRechargePackage",
                  "icon": "fa:leaf",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2301,
              "parentId": 1117,
              "name": "回调通知",
              "path": "notify",
              "component": "pay/notify/index",
              "componentName": "PayNotify",
              "icon": "ep:mute-notification",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2161,
              "parentId": 1117,
              "name": "接入示例",
              "path": "demo",
              "component": "pay/demo/index",
              "componentName": null,
              "icon": "fa-solid:dragon",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2549,
                  "parentId": 2161,
                  "name": "支付&退款案例",
                  "path": "order",
                  "component": "pay/demo/order/index",
                  "componentName": "",
                  "icon": "fa:paypal",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2550,
                  "parentId": 2161,
                  "name": "转账案例",
                  "path": "transfer",
                  "component": "pay/demo/transfer/index",
                  "componentName": "",
                  "icon": "fa:transgender-alt",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 1281,
          "parentId": 0,
          "name": "报表管理",
          "path": "/report",
          "component": null,
          "componentName": null,
          "icon": "ep:pie-chart",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 1282,
              "parentId": 1281,
              "name": "报表设计器",
              "path": "jimu-report",
              "component": "report/jmreport/index",
              "componentName": "GoView",
              "icon": "ep:trend-charts",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2153,
              "parentId": 1281,
              "name": "大屏设计器",
              "path": "go-view",
              "component": "report/goview/index",
              "componentName": "JimuReport",
              "icon": "fa:area-chart",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            }
          ]
        },
        {
          "id": 1185,
          "parentId": 0,
          "name": "工作流程",
          "path": "/bpm",
          "component": null,
          "componentName": null,
          "icon": "fa:medium",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2758,
              "parentId": 1185,
              "name": "Bpm 任务规则管理",
              "path": "task-assign-rule",
              "component": "bpm/task/index",
              "componentName": "BpmTaskAssignRule",
              "icon": "",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 1186,
              "parentId": 1185,
              "name": "流程管理",
              "path": "manager",
              "component": null,
              "componentName": null,
              "icon": "fa:dedent",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1193,
                  "parentId": 1186,
                  "name": "流程模型",
                  "path": "model",
                  "component": "bpm/model/index",
                  "componentName": "BpmModel",
                  "icon": "fa-solid:project-diagram",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1187,
                  "parentId": 1186,
                  "name": "流程表单",
                  "path": "form",
                  "component": "bpm/form/index",
                  "componentName": "BpmForm",
                  "icon": "fa:hdd-o",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2714,
                  "parentId": 1186,
                  "name": "流程分类",
                  "path": "category",
                  "component": "bpm/category/index",
                  "componentName": "BpmCategory",
                  "icon": "fa:object-ungroup",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1209,
                  "parentId": 1186,
                  "name": "用户分组",
                  "path": "user-group",
                  "component": "bpm/group/index",
                  "componentName": "BpmUserGroup",
                  "icon": "fa:user-secret",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2726,
                  "parentId": 1186,
                  "name": "流程监听器",
                  "path": "process-listener",
                  "component": "bpm/processListener/index",
                  "componentName": "BpmProcessListener",
                  "icon": "fa:assistive-listening-systems",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2731,
                  "parentId": 1186,
                  "name": "流程表达式",
                  "path": "process-expression",
                  "component": "bpm/processExpression/index",
                  "componentName": "BpmProcessExpression",
                  "icon": "fa:wpexplorer",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2721,
                  "parentId": 1186,
                  "name": "流程实例",
                  "path": "process-instance/manager",
                  "component": "bpm/processInstance/manager/index",
                  "componentName": "BpmProcessInstanceManager",
                  "icon": "fa:square",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2724,
                  "parentId": 1186,
                  "name": "流程任务",
                  "path": "process-tasnk",
                  "component": "bpm/task/manager/index",
                  "componentName": "BpmManagerTask",
                  "icon": "ep:collection-tag",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 1200,
              "parentId": 1185,
              "name": "审批中心",
              "path": "task",
              "component": null,
              "componentName": null,
              "icon": "fa:tasks",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2720,
                  "parentId": 1200,
                  "name": "发起流程",
                  "path": "create",
                  "component": "bpm/processInstance/create/index",
                  "componentName": "BpmProcessInstanceCreate",
                  "icon": "fa-solid:grin-stars",
                  "visible": true,
                  "keepAlive": false,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1201,
                  "parentId": 1200,
                  "name": "我的流程",
                  "path": "my",
                  "component": "bpm/processInstance/index",
                  "componentName": "BpmProcessInstanceMy",
                  "icon": "fa-solid:book",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1207,
                  "parentId": 1200,
                  "name": "待办任务",
                  "path": "todo",
                  "component": "bpm/task/todo/index",
                  "componentName": "BpmTodoTask",
                  "icon": "fa:slack",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 1208,
                  "parentId": 1200,
                  "name": "已办任务",
                  "path": "done",
                  "component": "bpm/task/done/index",
                  "componentName": "BpmDoneTask",
                  "icon": "fa:delicious",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2713,
                  "parentId": 1200,
                  "name": "抄送我的",
                  "path": "copy",
                  "component": "bpm/task/copy/index",
                  "componentName": "BpmProcessInstanceCopy",
                  "icon": "ep:copy-document",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 5,
              "parentId": 1185,
              "name": "OA 示例",
              "path": "oa",
              "component": null,
              "componentName": null,
              "icon": "fa:road",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 1118,
                  "parentId": 5,
                  "name": "请假查询",
                  "path": "leave",
                  "component": "bpm/oa/leave/index",
                  "componentName": "BpmOALeave",
                  "icon": "fa:leanpub",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 2262,
          "parentId": 0,
          "name": "会员中心",
          "path": "/member",
          "component": null,
          "componentName": null,
          "icon": "ep:bicycle",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2275,
              "parentId": 2262,
              "name": "会员配置",
              "path": "config",
              "component": "member/config/index",
              "componentName": "MemberConfig",
              "icon": "fa:archive",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2317,
              "parentId": 2262,
              "name": "会员管理",
              "path": "user",
              "component": "member/user/index",
              "componentName": "MemberUser",
              "icon": "ep:avatar",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2320,
              "parentId": 2262,
              "name": "会员标签",
              "path": "tag",
              "component": "member/tag/index",
              "componentName": "MemberTag",
              "icon": "ep:collection-tag",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2325,
              "parentId": 2262,
              "name": "会员等级",
              "path": "level",
              "component": "member/level/index",
              "componentName": "MemberLevel",
              "icon": "fa:level-up",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2330,
              "parentId": 2262,
              "name": "会员分组",
              "path": "group",
              "component": "member/group/index",
              "componentName": "MemberGroup",
              "icon": "fa:group",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2287,
              "parentId": 2262,
              "name": "会员积分",
              "path": "record",
              "component": "member/point/record/index",
              "componentName": "PointRecord",
              "icon": "fa:asterisk",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2300,
              "parentId": 2262,
              "name": "会员签到",
              "path": "signin",
              "component": "",
              "componentName": "",
              "icon": "ep:alarm-clock",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2281,
                  "parentId": 2300,
                  "name": "签到配置",
                  "path": "config",
                  "component": "member/signin/config/index",
                  "componentName": "SignInConfig",
                  "icon": "ep:calendar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2293,
                  "parentId": 2300,
                  "name": "签到记录",
                  "path": "record",
                  "component": "member/signin/record/index",
                  "componentName": "SignInRecord",
                  "icon": "ep:chicken",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 2362,
          "parentId": 0,
          "name": "商城系统",
          "path": "/mall",
          "component": "",
          "componentName": "",
          "icon": "ep:shop",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2388,
              "parentId": 2362,
              "name": "商城首页",
              "path": "home",
              "component": "mall/home/index",
              "componentName": "MallHome",
              "icon": "ep:home-filled",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2000,
              "parentId": 2362,
              "name": "商品中心",
              "path": "product",
              "component": null,
              "componentName": null,
              "icon": "fa:product-hunt",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2014,
                  "parentId": 2000,
                  "name": "商品列表",
                  "path": "spu",
                  "component": "mall/product/spu/index",
                  "componentName": "ProductSpu",
                  "icon": "ep:apple",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2002,
                  "parentId": 2000,
                  "name": "商品分类",
                  "path": "category",
                  "component": "mall/product/category/index",
                  "componentName": "ProductCategory",
                  "icon": "ep:cellphone",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2008,
                  "parentId": 2000,
                  "name": "商品品牌",
                  "path": "brand",
                  "component": "mall/product/brand/index",
                  "componentName": "ProductBrand",
                  "icon": "ep:chicken",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2019,
                  "parentId": 2000,
                  "name": "商品属性",
                  "path": "property",
                  "component": "mall/product/property/index",
                  "componentName": "ProductProperty",
                  "icon": "ep:cold-drink",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2336,
                  "parentId": 2000,
                  "name": "商品评论",
                  "path": "comment",
                  "component": "mall/product/comment/index",
                  "componentName": "ProductComment",
                  "icon": "ep:comment",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2072,
              "parentId": 2362,
              "name": "订单中心",
              "path": "trade",
              "component": null,
              "componentName": null,
              "icon": "ep:eleme",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2342,
                  "parentId": 2072,
                  "name": "交易配置",
                  "path": "config",
                  "component": "mall/trade/config/index",
                  "componentName": "TradeConfig",
                  "icon": "ep:setting",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2076,
                  "parentId": 2072,
                  "name": "订单列表",
                  "path": "order",
                  "component": "mall/trade/order/index",
                  "componentName": "TradeOrder",
                  "icon": "ep:list",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2073,
                  "parentId": 2072,
                  "name": "售后退款",
                  "path": "after-sale",
                  "component": "mall/trade/afterSale/index",
                  "componentName": "TradeAfterSale",
                  "icon": "ep:refrigerator",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2164,
                  "parentId": 2072,
                  "name": "配送管理",
                  "path": "delivery",
                  "component": "",
                  "componentName": "",
                  "icon": "ep:shopping-cart",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2165,
                      "parentId": 2164,
                      "name": "快递发货",
                      "path": "express",
                      "component": "",
                      "componentName": "",
                      "icon": "ep:bicycle",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": [
                        {
                          "id": 2167,
                          "parentId": 2165,
                          "name": "快递公司",
                          "path": "express",
                          "component": "mall/trade/delivery/express/index",
                          "componentName": "Express",
                          "icon": "ep:compass",
                          "visible": true,
                          "keepAlive": true,
                          "alwaysShow": true,
                          "children": null
                        },
                        {
                          "id": 2173,
                          "parentId": 2165,
                          "name": "运费模版",
                          "path": "express-template",
                          "component": "mall/trade/delivery/expressTemplate/index",
                          "componentName": "ExpressTemplate",
                          "icon": "ep:coordinate",
                          "visible": true,
                          "keepAlive": true,
                          "alwaysShow": true,
                          "children": null
                        }
                      ]
                    },
                    {
                      "id": 2166,
                      "parentId": 2164,
                      "name": "门店自提",
                      "path": "pick-up-store",
                      "component": "",
                      "componentName": "",
                      "icon": "ep:add-location",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": [
                        {
                          "id": 2179,
                          "parentId": 2166,
                          "name": "门店管理",
                          "path": "pick-up-store",
                          "component": "mall/trade/delivery/pickUpStore/index",
                          "componentName": "PickUpStore",
                          "icon": "ep:basketball",
                          "visible": true,
                          "keepAlive": true,
                          "alwaysShow": true,
                          "children": null
                        },
                        {
                          "id": 2389,
                          "parentId": 2166,
                          "name": "核销订单",
                          "path": "pick-up-order",
                          "component": "mall/trade/delivery/pickUpOrder/index",
                          "componentName": "PickUpOrder",
                          "icon": "ep:list",
                          "visible": true,
                          "keepAlive": true,
                          "alwaysShow": true,
                          "children": null
                        }
                      ]
                    }
                  ]
                },
                {
                  "id": 2345,
                  "parentId": 2072,
                  "name": "分销管理",
                  "path": "brokerage",
                  "component": "",
                  "componentName": "",
                  "icon": "fa-solid:project-diagram",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2346,
                      "parentId": 2345,
                      "name": "分销用户",
                      "path": "brokerage-user",
                      "component": "mall/trade/brokerage/user/index",
                      "componentName": "TradeBrokerageUser",
                      "icon": "fa-solid:user-tie",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2353,
                      "parentId": 2345,
                      "name": "佣金记录",
                      "path": "brokerage-record",
                      "component": "mall/trade/brokerage/record/index",
                      "componentName": "TradeBrokerageRecord",
                      "icon": "fa:money",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2355,
                      "parentId": 2345,
                      "name": "佣金提现",
                      "path": "brokerage-withdraw",
                      "component": "mall/trade/brokerage/withdraw/index",
                      "componentName": "TradeBrokerageWithdraw",
                      "icon": "fa:credit-card",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                }
              ]
            },
            {
              "id": 2030,
              "parentId": 2362,
              "name": "营销中心",
              "path": "promotion",
              "component": null,
              "componentName": null,
              "icon": "ep:present",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2387,
                  "parentId": 2030,
                  "name": "内容管理",
                  "path": "content",
                  "component": "",
                  "componentName": "",
                  "icon": "ep:collection",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2377,
                      "parentId": 2387,
                      "name": "文章分类",
                      "path": "article/category",
                      "component": "mall/promotion/article/category/index",
                      "componentName": "ArticleCategory",
                      "icon": "fa:certificate",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2382,
                      "parentId": 2387,
                      "name": "文章列表",
                      "path": "article",
                      "component": "mall/promotion/article/index",
                      "componentName": "Article",
                      "icon": "ep:connection",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2025,
                      "parentId": 2387,
                      "name": "Banner",
                      "path": "banner",
                      "component": "mall/promotion/banner/index",
                      "componentName": null,
                      "icon": "fa:bandcamp",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2365,
                  "parentId": 2030,
                  "name": "优惠劵",
                  "path": "coupon",
                  "component": "",
                  "componentName": "",
                  "icon": "fa-solid:disease",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2032,
                      "parentId": 2365,
                      "name": "优惠劵列表",
                      "path": "template",
                      "component": "mall/promotion/coupon/template/index",
                      "componentName": "PromotionCouponTemplate",
                      "icon": "ep:discount",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2038,
                      "parentId": 2365,
                      "name": "领取记录",
                      "path": "list",
                      "component": "mall/promotion/coupon/index",
                      "componentName": "PromotionCoupon",
                      "icon": "ep:collection-tag",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2209,
                  "parentId": 2030,
                  "name": "秒杀活动",
                  "path": "seckill",
                  "component": "",
                  "componentName": "",
                  "icon": "ep:place",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2066,
                      "parentId": 2209,
                      "name": "秒杀时段",
                      "path": "config",
                      "component": "mall/promotion/seckill/config/index",
                      "componentName": "PromotionSeckillConfig",
                      "icon": "ep:baseball",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2059,
                      "parentId": 2209,
                      "name": "秒杀商品",
                      "path": "activity",
                      "component": "mall/promotion/seckill/activity/index",
                      "componentName": "PromotionSeckillActivity",
                      "icon": "ep:basketball",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2303,
                  "parentId": 2030,
                  "name": "拼团活动",
                  "path": "combination",
                  "component": "",
                  "componentName": "",
                  "icon": "fa:group",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2304,
                      "parentId": 2303,
                      "name": "拼团商品",
                      "path": "acitivity",
                      "component": "mall/promotion/combination/activity/index",
                      "componentName": "PromotionCombinationActivity",
                      "icon": "ep:apple",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2369,
                      "parentId": 2303,
                      "name": "拼团记录",
                      "path": "record",
                      "component": "mall/promotion/combination/record/index.vue",
                      "componentName": "PromotionCombinationRecord",
                      "icon": "ep:avatar",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2310,
                  "parentId": 2030,
                  "name": "砍价活动",
                  "path": "bargain",
                  "component": "",
                  "componentName": "",
                  "icon": "ep:box",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2311,
                      "parentId": 2310,
                      "name": "砍价商品",
                      "path": "activity",
                      "component": "mall/promotion/bargain/activity/index",
                      "componentName": "PromotionBargainActivity",
                      "icon": "ep:burger",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2366,
                      "parentId": 2310,
                      "name": "砍价记录",
                      "path": "record",
                      "component": "mall/promotion/bargain/record/index",
                      "componentName": "PromotionBargainRecord",
                      "icon": "ep:list",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2435,
                  "parentId": 2030,
                  "name": "商城装修",
                  "path": "diy-template",
                  "component": "mall/promotion/diy/template/index",
                  "componentName": "DiyTemplate",
                  "icon": "fa6-solid:brush",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2436,
                      "parentId": 2435,
                      "name": "装修模板",
                      "path": "diy-template",
                      "component": "mall/promotion/diy/template/index",
                      "componentName": "DiyTemplate",
                      "icon": "fa6-solid:brush",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2442,
                      "parentId": 2435,
                      "name": "装修页面",
                      "path": "diy-page",
                      "component": "mall/promotion/diy/page/index",
                      "componentName": "DiyPage",
                      "icon": "foundation:page-edit",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                },
                {
                  "id": 2390,
                  "parentId": 2030,
                  "name": "优惠活动",
                  "path": "youhui",
                  "component": "",
                  "componentName": "",
                  "icon": "ep:aim",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": [
                    {
                      "id": 2047,
                      "parentId": 2390,
                      "name": "限时折扣",
                      "path": "discount-activity",
                      "component": "mall/promotion/discountActivity/index",
                      "componentName": "PromotionDiscountActivity",
                      "icon": "ep:timer",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    },
                    {
                      "id": 2041,
                      "parentId": 2390,
                      "name": "满减送",
                      "path": "reward-activity",
                      "component": "mall/promotion/rewardActivity/index",
                      "componentName": "PromotionRewardActivity",
                      "icon": "ep:goblet-square-full",
                      "visible": true,
                      "keepAlive": true,
                      "alwaysShow": true,
                      "children": null
                    }
                  ]
                }
              ]
            },
            {
              "id": 2358,
              "parentId": 2362,
              "name": "统计中心",
              "path": "statistics",
              "component": "",
              "componentName": "",
              "icon": "ep:data-line",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2374,
                  "parentId": 2358,
                  "name": "会员统计",
                  "path": "member",
                  "component": "mall/statistics/member/index",
                  "componentName": "MemberStatistics",
                  "icon": "ep:avatar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2545,
                  "parentId": 2358,
                  "name": "商品统计",
                  "path": "product",
                  "component": "mall/statistics/product/index",
                  "componentName": "ProductStatistics",
                  "icon": "fa:product-hunt",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2359,
                  "parentId": 2358,
                  "name": "交易统计",
                  "path": "trade",
                  "component": "mall/statistics/trade/index",
                  "componentName": "TradeStatistics",
                  "icon": "fa-solid:credit-card",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 2084,
          "parentId": 0,
          "name": "公众号管理",
          "path": "/mp",
          "component": null,
          "componentName": null,
          "icon": "ep:compass",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2085,
              "parentId": 2084,
              "name": "账号管理",
              "path": "account",
              "component": "mp/account/index",
              "componentName": "MpAccount",
              "icon": "fa:user",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2092,
              "parentId": 2084,
              "name": "数据统计",
              "path": "statistics",
              "component": "mp/statistics/index",
              "componentName": "MpStatistics",
              "icon": "ep:trend-charts",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2093,
              "parentId": 2084,
              "name": "标签管理",
              "path": "tag",
              "component": "mp/tag/index",
              "componentName": "MpTag",
              "icon": "ep:collection-tag",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2099,
              "parentId": 2084,
              "name": "粉丝管理",
              "path": "user",
              "component": "mp/user/index",
              "componentName": "MpUser",
              "icon": "fa:user-secret",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2103,
              "parentId": 2084,
              "name": "消息管理",
              "path": "message",
              "component": "mp/message/index",
              "componentName": "MpMessage",
              "icon": "ep:message",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2119,
              "parentId": 2084,
              "name": "菜单管理",
              "path": "menu",
              "component": "mp/menu/index",
              "componentName": "MpMenu",
              "icon": "ep:menu",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2120,
              "parentId": 2084,
              "name": "自动回复",
              "path": "auto-reply",
              "component": "mp/autoReply/index",
              "componentName": "MpAutoReply",
              "icon": "fa-solid:republican",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2113,
              "parentId": 2084,
              "name": "素材管理",
              "path": "material",
              "component": "mp/material/index",
              "componentName": "MpMaterial",
              "icon": "ep:basketball",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2108,
              "parentId": 2084,
              "name": "图文草稿箱",
              "path": "draft",
              "component": "mp/draft/index",
              "componentName": "MpDraft",
              "icon": "ep:edit",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2104,
              "parentId": 2084,
              "name": "图文发表记录",
              "path": "free-publish",
              "component": "mp/freePublish/index",
              "componentName": "MpFreePublish",
              "icon": "ep:edit-pen",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            }
          ]
        },
        {
          "id": 2397,
          "parentId": 0,
          "name": "CRM 系统",
          "path": "/crm",
          "component": "",
          "componentName": "",
          "icon": "ep:avatar",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2701,
              "parentId": 2397,
              "name": "待办事项",
              "path": "backlog",
              "component": "crm/backlog/index",
              "componentName": "CrmBacklog",
              "icon": "fa-solid:tasks",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2404,
              "parentId": 2397,
              "name": "线索管理",
              "path": "clue",
              "component": "crm/clue/index",
              "componentName": "CrmClue",
              "icon": "fa:pagelines",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2391,
              "parentId": 2397,
              "name": "客户管理",
              "path": "customer",
              "component": "crm/customer/index",
              "componentName": "CrmCustomer",
              "icon": "fa:address-book-o",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2416,
              "parentId": 2397,
              "name": "联系人管理",
              "path": "contact",
              "component": "crm/contact/index",
              "componentName": "CrmContact",
              "icon": "fa:address-book-o",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2546,
              "parentId": 2397,
              "name": "客户公海",
              "path": "customer/pool",
              "component": "crm/customer/pool/index",
              "componentName": "CrmCustomerPool",
              "icon": "fa-solid:swimming-pool",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2410,
              "parentId": 2397,
              "name": "商机管理",
              "path": "business",
              "component": "crm/business/index",
              "componentName": "CrmBusiness",
              "icon": "fa:bus",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2398,
              "parentId": 2397,
              "name": "合同管理",
              "path": "contract",
              "component": "crm/contract/index",
              "componentName": "CrmContract",
              "icon": "ep:notebook",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2422,
              "parentId": 2397,
              "name": "回款管理",
              "path": "receivable",
              "component": "crm/receivable/index",
              "componentName": "CrmReceivable",
              "icon": "ep:money",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2428,
              "parentId": 2397,
              "name": "回款计划",
              "path": "receivable-plan",
              "component": "crm/receivable/plan/index",
              "componentName": "CrmReceivablePlan",
              "icon": "fa:money",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2526,
              "parentId": 2397,
              "name": "产品管理",
              "path": "product",
              "component": "crm/product/index",
              "componentName": "CrmProduct",
              "icon": "fa:product-hunt",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2560,
              "parentId": 2397,
              "name": "数据统计",
              "path": "statistics",
              "component": "",
              "componentName": "",
              "icon": "ep:data-line",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2712,
                  "parentId": 2560,
                  "name": "客户分析",
                  "path": "customer",
                  "component": "views/crm/statistics/customer/index.vue",
                  "componentName": "CrmStatisticsCustomer",
                  "icon": "ep:avatar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2561,
                  "parentId": 2560,
                  "name": "排行榜",
                  "path": "ranking",
                  "component": "crm/statistics/rank/index",
                  "componentName": "CrmStatisticsRank",
                  "icon": "fa:area-chart",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2736,
                  "parentId": 2560,
                  "name": "员工业绩",
                  "path": "performance",
                  "component": "crm/statistics/performance/index",
                  "componentName": "CrmStatisticsPerformance",
                  "icon": "ep:dish-dot",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2737,
                  "parentId": 2560,
                  "name": "客户画像",
                  "path": "portrait",
                  "component": "crm/statistics/portrait/index",
                  "componentName": "CrmStatisticsPortrait",
                  "icon": "ep:picture",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2738,
                  "parentId": 2560,
                  "name": "销售漏斗",
                  "path": "funnel",
                  "component": "crm/statistics/funnel/index",
                  "componentName": "CrmStatisticsFunnel",
                  "icon": "ep:grape",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2524,
              "parentId": 2397,
              "name": "系统配置",
              "path": "config",
              "component": "",
              "componentName": "",
              "icon": "ep:connection",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2516,
                  "parentId": 2524,
                  "name": "客户公海配置",
                  "path": "customer-pool-config",
                  "component": "crm/customer/poolConfig/index",
                  "componentName": "CrmCustomerPoolConfig",
                  "icon": "ep:data-analysis",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2518,
                  "parentId": 2524,
                  "name": "客户限制配置",
                  "path": "customer-limit-config",
                  "component": "crm/customer/limitConfig/index",
                  "componentName": "CrmCustomerLimitConfig",
                  "icon": "ep:avatar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2532,
                  "parentId": 2524,
                  "name": "产品分类配置",
                  "path": "product/category",
                  "component": "crm/product/category/index",
                  "componentName": "CrmProductCategory",
                  "icon": "fa-solid:window-restore",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2703,
                  "parentId": 2524,
                  "name": "商机状态配置",
                  "path": "business-status",
                  "component": "crm/business/status/index",
                  "componentName": "CrmBusinessStatus",
                  "icon": "fa-solid:charging-station",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2708,
                  "parentId": 2524,
                  "name": "合同配置",
                  "path": "contract-config",
                  "component": "crm/contract/config/index",
                  "componentName": "CrmContractConfig",
                  "icon": "ep:connection",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        },
        {
          "id": 2563,
          "parentId": 0,
          "name": "ERP 系统",
          "path": "/erp",
          "component": "",
          "componentName": "",
          "icon": "fa-solid:store",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 2702,
              "parentId": 2563,
              "name": "ERP 首页",
              "path": "home",
              "component": "erp/home/index.vue",
              "componentName": "ErpHome",
              "icon": "ep:home-filled",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 2602,
              "parentId": 2563,
              "name": "采购管理",
              "path": "purchase",
              "component": "",
              "componentName": "",
              "icon": "fa:buysellads",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2666,
                  "parentId": 2602,
                  "name": "采购订单",
                  "path": "order",
                  "component": "erp/purchase/order/index",
                  "componentName": "ErpPurchaseOrder",
                  "icon": "fa-solid:border-all",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2673,
                  "parentId": 2602,
                  "name": "采购入库",
                  "path": "in",
                  "component": "erp/purchase/in/index",
                  "componentName": "ErpPurchaseIn",
                  "icon": "fa-solid:gopuram",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2680,
                  "parentId": 2602,
                  "name": "采购退货",
                  "path": "return",
                  "component": "erp/purchase/return/index",
                  "componentName": "ErpPurchaseReturn",
                  "icon": "ep:minus",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2603,
                  "parentId": 2602,
                  "name": "供应商信息",
                  "path": "supplier",
                  "component": "erp/purchase/supplier/index",
                  "componentName": "ErpSupplier",
                  "icon": "fa:superpowers",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2617,
              "parentId": 2563,
              "name": "销售管理",
              "path": "sale",
              "component": "",
              "componentName": "",
              "icon": "fa:sellsy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2638,
                  "parentId": 2617,
                  "name": "销售订单",
                  "path": "order",
                  "component": "erp/sale/order/index",
                  "componentName": "ErpSaleOrder",
                  "icon": "fa:first-order",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2652,
                  "parentId": 2617,
                  "name": "销售出库",
                  "path": "out",
                  "component": "erp/sale/out/index",
                  "componentName": "ErpSaleOut",
                  "icon": "ep:sold-out",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2659,
                  "parentId": 2617,
                  "name": "销售退货",
                  "path": "return",
                  "component": "erp/sale/return/index",
                  "componentName": "ErpSaleReturn",
                  "icon": "fa-solid:bone",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2618,
                  "parentId": 2617,
                  "name": "客户信息",
                  "path": "customer",
                  "component": "erp/sale/customer/index",
                  "componentName": "ErpCustomer",
                  "icon": "ep:avatar",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2583,
              "parentId": 2563,
              "name": "库存管理",
              "path": "stock",
              "component": "",
              "componentName": "",
              "icon": "fa:window-restore",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2584,
                  "parentId": 2583,
                  "name": "仓库信息",
                  "path": "warehouse",
                  "component": "erp/stock/warehouse/index",
                  "componentName": "ErpWarehouse",
                  "icon": "ep:house",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2590,
                  "parentId": 2583,
                  "name": "产品库存",
                  "path": "stock",
                  "component": "erp/stock/stock/index",
                  "componentName": "ErpStock",
                  "icon": "ep:coffee",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2593,
                  "parentId": 2583,
                  "name": "出入库明细",
                  "path": "record",
                  "component": "erp/stock/record/index",
                  "componentName": "ErpStockRecord",
                  "icon": "fa-solid:blog",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2596,
                  "parentId": 2583,
                  "name": "其它入库",
                  "path": "in",
                  "component": "erp/stock/in/index",
                  "componentName": "ErpStockIn",
                  "icon": "ep:zoom-in",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2610,
                  "parentId": 2583,
                  "name": "其它出库",
                  "path": "out",
                  "component": "erp/stock/out/index",
                  "componentName": "ErpStockOut",
                  "icon": "ep:zoom-out",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2624,
                  "parentId": 2583,
                  "name": "库存调拨",
                  "path": "move",
                  "component": "erp/stock/move/index",
                  "componentName": "ErpStockMove",
                  "icon": "ep:folder-remove",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2631,
                  "parentId": 2583,
                  "name": "库存盘点",
                  "path": "check",
                  "component": "erp/stock/check/index",
                  "componentName": "ErpStockCheck",
                  "icon": "ep:circle-check-filled",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2564,
              "parentId": 2563,
              "name": "产品管理",
              "path": "product",
              "component": "",
              "componentName": "",
              "icon": "fa:product-hunt",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2565,
                  "parentId": 2564,
                  "name": "产品信息",
                  "path": "product",
                  "component": "erp/product/product/index",
                  "componentName": "ErpProduct",
                  "icon": "fa-solid:apple-alt",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2571,
                  "parentId": 2564,
                  "name": "产品分类",
                  "path": "product-category",
                  "component": "erp/product/category/index",
                  "componentName": "ErpProductCategory",
                  "icon": "fa:certificate",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2577,
                  "parentId": 2564,
                  "name": "产品单位",
                  "path": "unit",
                  "component": "erp/product/unit/index",
                  "componentName": "ErpProductUnit",
                  "icon": "ep:opportunity",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            },
            {
              "id": 2645,
              "parentId": 2563,
              "name": "财务管理",
              "path": "finance",
              "component": "",
              "componentName": "",
              "icon": "ep:money",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": [
                {
                  "id": 2687,
                  "parentId": 2645,
                  "name": "付款单",
                  "path": "payment",
                  "component": "erp/finance/payment/index",
                  "componentName": "ErpFinancePayment",
                  "icon": "ep:caret-right",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2694,
                  "parentId": 2645,
                  "name": "收款单",
                  "path": "receipt",
                  "component": "erp/finance/receipt/index",
                  "componentName": "ErpFinanceReceipt",
                  "icon": "ep:expand",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                },
                {
                  "id": 2646,
                  "parentId": 2645,
                  "name": "结算账户",
                  "path": "account",
                  "component": "erp/finance/account/index",
                  "componentName": "ErpAccount",
                  "icon": "fa:universal-access",
                  "visible": true,
                  "keepAlive": true,
                  "alwaysShow": true,
                  "children": null
                }
              ]
            }
          ]
        }
      ]
      const menu = [
        {
          "id": 1,
          "parentId": 0,
          "name": "会议室管理",
          "path": "/meeting",
          "component": null,
          "componentName": null,
          "icon": "ep:tools",
          "visible": true,
          "keepAlive": true,
          "alwaysShow": true,
          "children": [
            {
              "id": 109,
              "parentId": 1,
              "name": "会议室列表",
              "path": "list",
              "component": "meeting/list/index",
              "componentName": "MeetingList",
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 108,
              "parentId": 1,
              "name": "预定列表",
              "path": "reserveList",
              "component": "meeting/reserveList/index",
              "componentName": "MeetingReserveList",
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
            {
              "id": 108,
              "parentId": 1,
              "name": "预定情况",
              "path": "reserve",
              "component": "meeting/reserve/index",
              "componentName": "MeetingReserve",
              "icon": "ep:document-copy",
              "visible": true,
              "keepAlive": true,
              "alwaysShow": true,
              "children": null
            },
          ]
        }
      ]
    },
    handleClick(tab, event) {
      console.log(tab, event);
    },
    ishttp(url) {
      return url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1
    }
  },
};
</script>
<style>
/*去掉切换时el-tab-pane底部的蓝色下划线*/
/* .el-tabs__active-bar {
    background-color: transparent !important;
  } */

/*去掉tabs底部的下划线*/
.el-tabs__nav-wrap::after {
  position: static !important;
}

.el-tabs__nav-wrap {
  padding: 0 30px !important;
}
</style>
<style lang="scss">
.el-icon-s-tools:hover {
  color: #00B899;
}

.typeTitle {
  font-size: 20px;
  font-weight: 400;
  color: #1f2f3d;
  margin-left: 10px;
  margin-bottom: 10px;
}

.el-card-auto {
  min-height: 100%;
  height: 100%;
  margin-bottom: 20px;
}

.el-card-auto>>>.el-card__body {
  height: 100%;
}

.el-tabs__item {
  font-size: 18px;
  font-weight: 500;
}

.app-item {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  float: left;
  width: 178px;
  height: 150px;
  color: #999093;
  margin: 10px 10px 10px 10px;
  border-radius: 5px;
}

.app-item {
  line-height: 50px;
  font-size: 18px;
  list-style: none;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
  box-sizing: border-box;
  white-space: nowrap;
}

.app-item-tools {
  color: #838892;
  cursor: pointer;
  font-size: 16px;
  line-height: 16px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.app-item:hover,
.app-item:focus {
  outline: none;
  background-color: #FFFFFF;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
</style>
