917_invoiceManager.js 4.16 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"
      },
      {
        authId: "9170206",
        parentId: "91702",
        label: "冲红",
        handle: "handleRed"
      }
    ],
    component: _import("invoiceManage/invoiceQueryList")
  },
  91703: {
    path: "/invoiceRedManage",
    name: "invoiceRedManage",
    meta: {
      title: "发票冲红管理",
      authId: "91703",
      parentId: "917",
      cache: false
    },
    auth: [
      {
        authId: "9170301",
        parentId: "91703",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9170302",
        parentId: "91703",
        label: "查看蓝票",
        handle: "handleDetailBlue"
      },
      {
        authId: "9170303",
        parentId: "91703",
        label: "查看红票",
        handle: "handleDetailRed"
      },
      {
        authId: "9170304",
        parentId: "91703",
        label: "重新冲红",
        handle: "handleRed"
      }
    ],
    component: _import("invoiceManage/invoiceRedManage")
  },
  91704: {
    path: "/ruleChangeSet",
    name: "ruleChangeSet",
    meta: {
      title: "切换规则配置",
      authId: "91704",
      parentId: "917",
      cache: false
    },
    auth: [
      {
        authId: "9170401",
        parentId: "91704",
        label: "新增规则",
        icon: "plus",
        category: "Button",
        type: "primary",
        handle: "handleAdd"
      },
      {
        authId: "9170402",
        parentId: "91704",
        label: "导出",
        category: "Button",
        type: "primary",
        handle: "handleExport"
      },
      {
        authId: "9170403",
        parentId: "91704",
        label: "详情",
        handle: "handleDetail"
      },
      {
        authId: "9170404",
        parentId: "91704",
        label: "修改",
        handle: "handleEdit"
      },
      {
        authId: "9170405",
        parentId: "91704",
        label: "删除",
        handle: "handleDelete"
      }
    ],
    component: _import("invoiceManage/ruleChangeSet")
  }
}