904_orderManagement.js 2.39 KB
// const _import = require("@/libs/util.import." + process.env.NODE_ENV)
// export const routerName = {}
const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = {
  904: {
    path: "/orderManage",
    name: "orderManage",
    meta: {
      title: "订单管理",
      authId: "904",
      parentId: "1",
      cache: false
    }
  },
  90401: {
    path: "/orderList",
    name: "orderList",
    meta: {
      title: "订单列表",
      authId: "90401",
      parentId: "904",
      cache: false
    },
    auth: [
      {
        authId: "9040104",
        parentId: "90401",
        label: "导入订单",
        category: "Button",
        type: "primary",
        handle: "handleImport"
      },
      {
        authId: "9040101",
        parentId: "90401",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9040102",
        parentId: "90401",
        label: "查看详情",
        handle: "handleDetail",
        addRoutePath: [
          {
            authId: "90402",
            name: "订单详情",
            parentId: "90401"
          }
        ]
      },
      {
        authId: "9040103",
        parentId: "90401",
        label: "待补录订单",
        category: "Button",
        type: "primary",
        handle: "handlMakeUpOrder",
        addRoutePath: [
          {
            authId: "90403",
            name: "补录订单",
            parentId: "90401"
          }
        ]
      },
      {
        authId: "9040105",
        parentId: "90401",
        label: "标记退款",
        category: "Button",
        type: "primary",
        handle: "signRefund"
      }
    ],
    component: _import("orderManage/orderList")
  },
  90402: {
    path: "/orderDetail",
    name: "orderDetail",
    meta: {
      title: "订单详情",
      authId: "90402",
      parentId: "90401",
      cache: false,
      activePath: "/orderList"
    },
    component: _import("orderManage/orderDetail")
  },
  90403: {
    path: "/orderSupplement",
    name: "orderSupplement",
    meta: {
      title: "订单补录",
      authId: "90403",
      parentId: "90401",
      cache: false,
      activePath: "/orderList"
    },
    component: _import("orderManage/orderSupplement")
  }
}