915_earlyWarningManager.js 4.16 KB
const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = {
  915: {
    path: "/earlyWarningManager",
    name: "earlyWarningManager",
    meta: {
      title: "预警管理",
      authId: "915",
      parentId: "1",
      cache: false
    }
  },
  91501: {
    path: "/staffWarn",
    name: "staffWarn",
    meta: {
      title: "员工预警管理",
      authId: "91501",
      parentId: "915",
      cache: false
    },
    auth: [
      {
        authId: "9150101",
        parentId: "91501",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9150102",
        parentId: "91501",
        label: "查看",
        handle: "handleDetail"
      },
      {
        authId: "9150103",
        parentId: "91501",
        label: "处理",
        handle: "handleDeal"
      }
    ],
    component: _import("earlyWarningManager/staff/indexControl")
  },
  91503: {
    path: "/shopGuard",
    name: "shopGuard",
    meta: {
      title: "店效盯防",
      authId: "91503",
      parentId: "915",
      cache: false
    },
    auth: [
      {
        authId: "9150201",
        parentId: "91503",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9150202",
        parentId: "91503",
        label: "查看",
        handle: "handleDetail"
      },
      {
        authId: "9150203",
        parentId: "91503",
        label: "处理",
        handle: "handleDeal"
      }
    ],
    component: _import("earlyWarningManager/shopGuard/indexControl")
  },
  91504: {
    path: "/failureToReportReception",
    name: "failureToReportReception",
    meta: {
      title: "接待缺失报备审核",
      authId: "91504",
      parentId: "915",
      cache: false
    },
    auth: [
      {
        authId: "9150201",
        parentId: "91503",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9150202",
        parentId: "91503",
        label: "查看",
        handle: "handleDetail"
      },
      {
        authId: "9150203",
        parentId: "91503",
        label: "处理",
        handle: "handleDeal"
      }
    ],
    component: _import("earlyWarningManager/failureToReportReception/index")
  },
  91505: {
    path: "/biEventManager",
    name: "biEventManager",
    meta: {
      title: "BI事项管理",
      authId: "91505",
      parentId: "915",
      cache: false
    },
    auth: [
      {
        authId: "915001",
        parentId: "91505",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9150502",
        parentId: "91505",
        label: "编辑",
        handle: "handleEdit"
      },
      {
        authId: "9150203",
        parentId: "91505",
        label: "删除",
        handle: "handleDeal"
      }
    ],
    component: _import("earlyWarningManager/biEventManager/index")
  },
  91506: {
    path: "/strategyCentre",
    name: "strategyCentre",
    meta: {
      title: "策略中心",
      authId: "91506",
      parentId: "915",
      cache: false
    },
    auth: [
      {
        authId: "9150601",
        parentId: "91506",
        label: "查看详情",
        handle: "handleDetail",
        addRoutePath: [
          {
            authId: "9150602",
            name: "门店看板",
            parentId: "91506"
          }
        ]
      }
    ],
    component: _import("earlyWarningManager/strategyCentre/index")
  },
  91507: {
    path: "/strategyAnalysis",
    name: "strategyAnalysis",
    meta: {
      title: "策略分析",
      authId: "91507",
      parentId: "915",
      cache: false
    },
    component: _import("earlyWarningManager/strategyAnalysis/index")
  },
  9150602: {
    path: "/storeSignboard",
    name: "storeSignboard",
    meta: {
      title: "门店看板",
      authId: "9150601",
      parentId: "91506",
      activePath: "/storeSignboard",
      cache: false
    },
    component: _import("earlyWarningManager/strategyCentre/storeSignboard/index")
  },
}