|
|
|
import Vue from "vue";
|
|
|
|
import VueRouter from "vue-router";
|
|
|
|
|
|
|
|
if (process.env.NODE_ENV === "development") {
|
|
|
|
Vue.use(VueRouter);
|
|
|
|
}
|
|
|
|
|
|
|
|
import {ROUTER_MODE} from "../config/app";
|
|
|
|
|
|
|
|
import Home from "../views/home/index.vue";
|
|
|
|
import Empty from "../views/home/Empty.vue";
|
|
|
|
|
|
|
|
// 管理组相关
|
|
|
|
import authAdmin from "../views/userManage/admin/authAdmin.vue";
|
|
|
|
import authRole from "../views/userManage/admin/authRole.vue";
|
|
|
|
import authPermissionRule from "../views/userManage/admin/authPermissionRule.vue";
|
|
|
|
import systemParamConfig from "../views/userManage/param/systemParamConfig.vue";
|
|
|
|
import systemPDFTemplate from "../views/userManage/param/systemPDFTemplate";
|
|
|
|
import thirdSysApi from "../views/userManage/param/ThirdSysApiUpload.vue";
|
|
|
|
import thirdSysApiDownload from "../views/userManage/param/ThirdSysApiDownload.vue";
|
|
|
|
import showText from "../views/other/showText";
|
|
|
|
|
|
|
|
//基础数据维护
|
|
|
|
import BussinessType from "../views/basic/BussinessType.vue";
|
|
|
|
import basicUnitMaintain from "../views/basic/CorpMaintain.vue";
|
|
|
|
import UdiInfoManage from "../views/basic/UdiInfoManage.vue";
|
|
|
|
import UdiInfoImport from "../views/basic/UdiInfoImport.vue";
|
|
|
|
import corpImport from "../views/basic/CorpImport.vue";
|
|
|
|
import corpExport from "../views/basic/CorpExport.vue";
|
|
|
|
import udiinfoExport from "../views/basic/UdiinfoExport.vue";
|
|
|
|
import company from "../views/userManage/param/company.vue";
|
|
|
|
import thirdSys from "../views/basic/BasicThirdSys.vue"
|
|
|
|
import UdiInfoSmpUpload from "../views/smp/UdiInfoSmpUpload.vue";
|
|
|
|
// import ErpOrderSmpUpload from "../views/smp/ErpOrderSmpUpload.vue";
|
|
|
|
|
|
|
|
//出入库管理
|
|
|
|
import inout from "../views/inout/IOFinishOrder.vue";
|
|
|
|
import udiTrace from "../views/inout/UdiCodeTrace.vue";
|
|
|
|
import code from "../views/inout/IOFinishCode.vue";
|
|
|
|
import errorCode from "../views/inout/IONewCode.vue";
|
|
|
|
import errorOrder from "../views/inout/IONewOrder.vue";
|
|
|
|
import ioErrorOrder from "../views/inout/IOErrorOrder.vue";
|
|
|
|
import waitOrder from "../views/inout/IOWaitOrder.vue";
|
|
|
|
import repeatOrder from "../views/inout/IORepeatOrder.vue";
|
|
|
|
import erpOrder from "../views/inout/IOErpOrder.vue";
|
|
|
|
|
|
|
|
//库存管理
|
|
|
|
import stockCheck from "../views/inventory/stockCheck.vue";
|
|
|
|
import onHand from "../views/inventory/OnHand.vue";
|
|
|
|
import inCodeLog from "../views/inventory/InCodeLog.vue";
|
|
|
|
import stockPrint from "../views/inventory/IncodeSearch.vue";
|
|
|
|
import inCodePrint from "../views/inventory/IncodePrint.vue";
|
|
|
|
import stockCode from "../views/inventory/stockCode.vue";
|
|
|
|
|
|
|
|
//第三方数据管理
|
|
|
|
import thrProducts from "../views/thrsys/ThrProducts.vue";
|
|
|
|
import thrProductsImport from "../views/thrsys/ThrProductsImport.vue";
|
|
|
|
import thrProductsExport from "../views/thrsys/ThrProductsExport.vue";
|
|
|
|
import ThrInvProducts from "../views/thrsys/ThrInvProducts.vue";
|
|
|
|
import thrInvProductsExport from "../views/thrsys/ThrInvProductsExport.vue";
|
|
|
|
import thrInvProductsImport from "../views/thrsys/ThrInvProductsImport.vue";
|
|
|
|
import ThrOrders from "../views/thrsys/ThrOrder.vue";
|
|
|
|
import thrOrderExport from "../views/thrsys/ThrOrderExport.vue";
|
|
|
|
import thrOrderImport from "../views/thrsys/ThrOrderImport.vue";
|
|
|
|
import ThrCorps from "../views/thrsys/ThrCorps.vue";
|
|
|
|
import thrCorpsExport from "../views/thrsys/ThrCorpsExport.vue";
|
|
|
|
import thrCorpsImport from "../views/thrsys/ThrCorpsImport.vue";
|
|
|
|
|
|
|
|
//供应商管理
|
|
|
|
import corpExportSmp from "../views/basic/CorpExportSmp.vue";
|
|
|
|
import udiinfoExportSmp from "../views/basic/UdiinfoExportSmp.vue";
|
|
|
|
import UdiInfoDonwloadSmp from "../views/basic/UdiInfoDonwloadSmp.vue";
|
|
|
|
import thrOrderExportSmp from "../views/thrsys/ThrOrderExportSmp.vue";
|
|
|
|
import thrProductsExportSmp from "../views/thrsys/ThrProductsExportSmp.vue";
|
|
|
|
// Vue.use(VueRouter);
|
|
|
|
|
|
|
|
const err401 = r =>
|
|
|
|
require.ensure([], () => r(require("../views/error/err401.vue")), "home");
|
|
|
|
const err404 = r =>
|
|
|
|
require.ensure([], () => r(require("../views/error/err404.vue")), "home");
|
|
|
|
const login = r =>
|
|
|
|
require.ensure([], () => r(require("../views/login/index.vue")), "home");
|
|
|
|
const main = r =>
|
|
|
|
require.ensure([], () => r(require("../views/home/main.vue")), "home");
|
|
|
|
|
|
|
|
// 注意 权限字段 authRule (严格区分大小写)
|
|
|
|
export const constantRouterMap = [
|
|
|
|
{
|
|
|
|
path: "*",
|
|
|
|
component: err404,
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/401",
|
|
|
|
component: err401,
|
|
|
|
name: "401",
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/404",
|
|
|
|
component: err404,
|
|
|
|
name: "404",
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/500",
|
|
|
|
component: err404,
|
|
|
|
name: "500",
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "/login",
|
|
|
|
component: login,
|
|
|
|
name: "登录",
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/",
|
|
|
|
icon: "shouye",
|
|
|
|
component: Home,
|
|
|
|
redirect: "main",
|
|
|
|
name: "首页",
|
|
|
|
hidden: true,
|
|
|
|
noDropdown: true,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "main",
|
|
|
|
component: main,
|
|
|
|
name: "首页"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
export default new VueRouter({
|
|
|
|
// mode: 'history', //后端支持可开
|
|
|
|
mode: ROUTER_MODE,
|
|
|
|
routes: constantRouterMap,
|
|
|
|
strict: process.env.NODE_ENV !== "production"
|
|
|
|
});
|
|
|
|
|
|
|
|
export const asyncRouterMap = [
|
|
|
|
{
|
|
|
|
path: "/userManage",
|
|
|
|
redirect: "/userManage/adminManage/index",
|
|
|
|
component: Home,
|
|
|
|
icon: "guanliyuan1",
|
|
|
|
name: "系统管理",
|
|
|
|
hidden: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["user_manage"]
|
|
|
|
},
|
|
|
|
|
|
|
|
// noDropdown: true,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "authAdmin",
|
|
|
|
component: authAdmin,
|
|
|
|
name: "用户管理",
|
|
|
|
icon: "",
|
|
|
|
meta: {
|
|
|
|
authRule: ["admin/auth_admin"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "authRole",
|
|
|
|
component: authRole,
|
|
|
|
name: "角色管理",
|
|
|
|
icon: "",
|
|
|
|
meta: {
|
|
|
|
authRule: ["admin/auth_role"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "authPermissionRule",
|
|
|
|
component: authPermissionRule,
|
|
|
|
name: "权限管理",
|
|
|
|
icon: "",
|
|
|
|
meta: {
|
|
|
|
authRule: ["admin/auth_permission_rule"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "systemParamConfig",
|
|
|
|
component: systemParamConfig,
|
|
|
|
name: "系统参数",
|
|
|
|
icon: "",
|
|
|
|
meta: {
|
|
|
|
authRule: ["admin/systemParamConfig"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "systemPDFTemplate",
|
|
|
|
component: systemPDFTemplate,
|
|
|
|
name: "打印模板管理",
|
|
|
|
icon: "",
|
|
|
|
meta: {
|
|
|
|
authRule: ["admin/system_pdf_template"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "bussinessType",
|
|
|
|
name: "单据类型",
|
|
|
|
component: BussinessType,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product/bussinessType"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/inout",
|
|
|
|
component: Home,
|
|
|
|
redirect: "/inout/main",
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "单据管理",
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "ioErrorOrder",
|
|
|
|
component: ioErrorOrder,
|
|
|
|
name: "异常单据管理",
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/ioErrorOrder"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "errorOrder",
|
|
|
|
component: errorOrder,
|
|
|
|
name: "新增单据管理",
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/errorOrder"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "waitOrder",
|
|
|
|
name: "等待校验单据",
|
|
|
|
component: waitOrder,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/waitOrder"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "main",
|
|
|
|
name: "已完成单据",
|
|
|
|
component: inout,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/main"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "erpOrder",
|
|
|
|
name: "ERP单据管理",
|
|
|
|
component: erpOrder,
|
|
|
|
hidden: true,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/erpOrder"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "detail",
|
|
|
|
name: "单号详情",
|
|
|
|
component: code,
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "errorDetail",
|
|
|
|
name: "错误单号详情",
|
|
|
|
component: errorCode,
|
|
|
|
hidden: true
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "repeatOrder",
|
|
|
|
component: repeatOrder,
|
|
|
|
name: "扫码订单号重复",
|
|
|
|
hidden: true,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/repeatOrder"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "udiTrace",
|
|
|
|
name: "UDI码追溯查询",
|
|
|
|
component: udiTrace,
|
|
|
|
meta: {
|
|
|
|
authRule: ["inout/udiTrace"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "stockCheck",
|
|
|
|
name: "盘点单据",
|
|
|
|
component: stockCheck,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/stockCheck"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/warehouse",
|
|
|
|
redirect: "/warehouse/product",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "库存管理",
|
|
|
|
hidden: true,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "onHand",
|
|
|
|
name: "现存量查询",
|
|
|
|
component: onHand,
|
|
|
|
hidden: true,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/onHand"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "stockCode",
|
|
|
|
name: "库存明细",
|
|
|
|
component: stockCode,
|
|
|
|
hidden: true,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/stockCode"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "/product",
|
|
|
|
redirect: "/product/productinfo",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "基础数据",
|
|
|
|
hidden: false,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/udiinfo",
|
|
|
|
redirect: "/udiinfo/udiinfomg",
|
|
|
|
name: "医疗器械信息",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "udiinfomg",
|
|
|
|
name: "医疗器械信息维护",
|
|
|
|
component: UdiInfoManage,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product/productinfo"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "udiImport",
|
|
|
|
name: "医疗器械信息导入",
|
|
|
|
component: UdiInfoImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product/udiImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "udiinfoExport",
|
|
|
|
name: "医疗器械信息导出",
|
|
|
|
component: udiinfoExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product/udiinfoExport"]
|
|
|
|
}
|
|
|
|
},]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/unit",
|
|
|
|
redirect: "/unit/unitMaintain",
|
|
|
|
name: "往来单位信息",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "unitMaintain",
|
|
|
|
name: "往来单位信息维护",
|
|
|
|
component: basicUnitMaintain,
|
|
|
|
meta: {
|
|
|
|
authRule: ["basic/basicUnitMaintain"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "corpImport",
|
|
|
|
name: "往来单位信息导入",
|
|
|
|
component: corpImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["basic/corpImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "corpExport",
|
|
|
|
name: "往来单位信息导出",
|
|
|
|
component: corpExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["basic/corpExport"]
|
|
|
|
}
|
|
|
|
},]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "company",
|
|
|
|
name: "本企业信息",
|
|
|
|
component: company,
|
|
|
|
meta: {
|
|
|
|
authRule: ["product/company"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/thrsys",
|
|
|
|
redirect: "/thrsys/thrProducts",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "第三方数据",
|
|
|
|
hidden: false,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/products",
|
|
|
|
redirect: "/thrsys/thrProducts",
|
|
|
|
name: "产品信息",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "thrProducts",
|
|
|
|
name: "产品信息查询",
|
|
|
|
component: thrProducts,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrProductsImport",
|
|
|
|
name: "产品信息导入",
|
|
|
|
component: thrProductsImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProductsImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrProductsExport",
|
|
|
|
name: "产品信息导出",
|
|
|
|
component: thrProductsExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProductsExport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/corps",
|
|
|
|
redirect: "/thrsys/ThrCorps",
|
|
|
|
name: "往来单位",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "ThrCorps",
|
|
|
|
name: "往来单位查询",
|
|
|
|
component: ThrCorps,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/ThrCorps"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "thrCorpsImport",
|
|
|
|
name: "往来单位导入",
|
|
|
|
component: thrCorpsImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrCorpsImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrCorpsExport",
|
|
|
|
name: "往来单位导出",
|
|
|
|
component: thrCorpsExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrCorpsExport"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/orders",
|
|
|
|
redirect: "/thrsys/ThrOrders",
|
|
|
|
name: "业务单据",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "ThrOrders",
|
|
|
|
name: "业务单据查询",
|
|
|
|
component: ThrOrders,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/ThrOrders"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrOrderImport",
|
|
|
|
name: "业务单据导入",
|
|
|
|
component: thrOrderImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrOrderImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrOrderExport",
|
|
|
|
name: "业务单据导出",
|
|
|
|
component: thrOrderExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrOrderExport"]
|
|
|
|
}
|
|
|
|
},],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/invProducts",
|
|
|
|
redirect: "/thrsys/ThrOrders",
|
|
|
|
name: "库存信息",
|
|
|
|
component: Empty,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "ThrInvProducts",
|
|
|
|
name: "库存信息查询",
|
|
|
|
component: ThrInvProducts,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/ThrInvProducts"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrInvProductsImport",
|
|
|
|
name: "库存信息导入",
|
|
|
|
component: thrInvProductsImport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrInvProductsImport"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrInvProductsExport",
|
|
|
|
name: "库存信息导出",
|
|
|
|
component: thrInvProductsExport,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrInvProductsExport"]
|
|
|
|
}
|
|
|
|
},]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "thirdSys",
|
|
|
|
name: "参数设置",
|
|
|
|
component: thirdSys,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thirdSys"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/smp",
|
|
|
|
redirect: "/smp/udiinfoExportSmp",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "供应商平台",
|
|
|
|
hidden: false,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["smp"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "udiinfoExportSmp",
|
|
|
|
name: "器械信息上传",
|
|
|
|
component: udiinfoExportSmp,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/udiinfoExportSmp"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "UdiInfoDonwloadSmp",
|
|
|
|
name: "器械信息下载",
|
|
|
|
component: UdiInfoDonwloadSmp,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/UdiInfoDonwloadSmp"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "corpExportSmp",
|
|
|
|
name: "往来单位上传",
|
|
|
|
component: corpExportSmp,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/corpExportSmp"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrProductsExportSmp",
|
|
|
|
name: "第三方产品信息上传",
|
|
|
|
component: thrProductsExportSmp,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrProductsExportSmp"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thrOrderExportSmp",
|
|
|
|
name: "第三方业务单据上传",
|
|
|
|
component: thrOrderExportSmp,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/thrOrderExportSmp"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "orderSmpDl",
|
|
|
|
name: "送货单下载",
|
|
|
|
component: UdiInfoSmpUpload,
|
|
|
|
hidden: true,
|
|
|
|
meta: {
|
|
|
|
authRule: ["thrsys/UdiInfoSmpUpload"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/myCode",
|
|
|
|
redirect: "/myCode/stockPrint",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "内部码管理",
|
|
|
|
hidden: false,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["myCode"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "inCodeLog",
|
|
|
|
name: "内部码生成",
|
|
|
|
component: inCodeLog,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/inCodeLog"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "inCodePrint",
|
|
|
|
name: "内部码打印",
|
|
|
|
component: inCodePrint,
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/inCodePrint"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "stockPrint",
|
|
|
|
name: "内部码查询",
|
|
|
|
component: stockPrint,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["warehouse/stockPrint"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/api",
|
|
|
|
redirect: "/api/thirdSysApi",
|
|
|
|
component: Home,
|
|
|
|
icon: "tongyong",
|
|
|
|
name: "API接口",
|
|
|
|
hidden: false,
|
|
|
|
noDropdown: false,
|
|
|
|
meta: {
|
|
|
|
authRule: ["api"]
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "thirdSysApi",
|
|
|
|
name: "基础信息上传",
|
|
|
|
component: thirdSysApi,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["api/thirdSysApi"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "thirdSysApiDownload",
|
|
|
|
name: "基础信息下载",
|
|
|
|
component: thirdSysApiDownload,
|
|
|
|
|
|
|
|
meta: {
|
|
|
|
authRule: ["api/thirdSysApiDownload"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/",
|
|
|
|
icon: "showText",
|
|
|
|
component: showText,
|
|
|
|
redirect: "showText",
|
|
|
|
name: "文本",
|
|
|
|
hidden: true,
|
|
|
|
noDropdown: true,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "showText",
|
|
|
|
component: showText,
|
|
|
|
name: "文本",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
];
|