917_invoiceManager.js 2.2 KB
const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = {
  917: {
    path: "/invoiceManage",
    name: "invoiceManage",
    meta: {
      title: "发票管理",
      authId: "917",
      parentId: "1",
      cache: false
    }
  },
  91701: {
    path: "/invoiceCode",
    name: "invoiceCode",
    meta: {
      title: "开票二维码",
      authId: "91701",
      parentId: "917",
      cache: false
    },
    auth: [
      {
        authId: "9170101",
        parentId: "91701",
        label: "作废",
        category: "Button",
        type: "primary",
        handle: "handleCancel"
      },
      {
        authId: "9170102",
        parentId: "91701",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9170103",
        parentId: "91701",
        label: "详情",
        handle: "handleDetail"
      },
      {
        authId: "9170104",
        parentId: "91701",
        label: "查看二维码",
        handle: "handleQRCode"
      }
    ],
    component: _import("invoiceManage/invoiceCode")
  },
  91702: {
    path: "/invoiceQuery",
    name: "invoiceQuery",
    meta: {
      title: "发票查询",
      authId: "91702",
      parentId: "917",
      cache: false
    },
    auth: [
      {
        authId: "9170201",
        parentId: "91702",
        label: "下载电子发票",
        category: "Button",
        type: "primary",
        handle: "handleDownloadInvoice"
      },
      {
        authId: "9170202",
        parentId: "91702",
        label: "打印电子发票",
        category: "Button",
        type: "primary",
        handle: "handlePrintInvoice"
      },
      {
        authId: "9170203",
        parentId: "91702",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9170204",
        parentId: "91702",
        label: "详情",
        handle: "handleDetail"
      },
      {
        authId: "9170205",
        parentId: "91702",
        label: "查看发票",
        handle: "handleLookInvoice"
      }
    ],
    component: _import("invoiceManage/invoiceQueryList")
  }
}