Commit 7a5a760a by tang

feat: 用户中心入口-管理员-业务审核【40%】

parent 257fbba1
......@@ -8,867 +8,905 @@ Vue.use(VueRouter);
// 解决首页路由跳转的时候同一个路由多次添加,未跳转完成就重复跳转
const routerPush = VueRouter.prototype.push;
VueRouter.prototype.push = function push(to) {
return routerPush.call(this, to).catch((err) => err);
return routerPush.call(this, to).catch((err) => err);
};
const routes = [
{
path: "/",
redirect: "/Home",
},
{
path: "/Home",
name: "Home",
component: main,
meta: {
name: "首页",
},
children: [
{
{
path: "/",
component: () => import("@/views/Home/index"),
},
{
path: "/Home/sousuo",
name: "sousuo",
component: () => import("@/views/Home/sousuo"),
},
{
path: "/Org",
name: "Org",
meta: {
name: "机构概况",
},
component: () => import("@/views/Org/index"),
redirect: '/Org/Intro',
children: [
{
path: "/Org/Intro",
name: "Intro",
meta: {
name: "中心简介",
},
component: () => import("@/views/Org/Intro.vue"),
},
{
path: "/Org/Leadership",
name: "Leadership",
meta: {
name: "中心领导",
},
component: () => import("@/views/Org/Leadership.vue"),
},
{
path: "/Org/Departments",
name: "Departments",
meta: {
name: "内设机构",
},
component: () => import("@/views/Org/Departments.vue"),
},
{
path: "/Org/Sites",
name: "Sites",
meta: {
name: "质检中心/协会/杂志社/标委会/其他",
},
component: () => import("@/views/Org/Sites.vue"),
},
{
path: "/Org/Branch",
name: "Branch",
meta: {
name: "地方编码分支机构",
},
component: () => import("@/views/Org/Branch.vue"),
},
{
path: "/Org/BranchMsg",
name: "Branch",
meta: {
name: "地方编码分支机构",
hidden: true,
},
component: () => import("@/views/Org/BranchMsg.vue"),
},
{
path: "https://www.gs1.org/",
name: "GS1",
meta: {
name: "国际物品编码组织(GS1)",
type: 'link'
},
},
{
path: "/Org/GS1Members",
name: "GS1Members",
meta: {
name: "国际物品编码组织(GS1)成员网站",
},
component: () => import("@/views/Org/GS1Members.vue"),
},
{
path: "/Org/ISO",
name: "ISO",
meta: {
name: "质量管理体系",
},
redirect: '/Org/ISO/Ideology',
},
{
path: "/Org/ISO/Ideology",
name: "Ideology",
meta: {
name: "指导思想",
},
component: () => import("@/views/Org/ISO/Ideology.vue"),
},
{
path: "/Org/ISO/Policy",
name: "Policy",
meta: {
name: "质量方针",
},
component: () => import("@/views/Org/ISO/Policy.vue"),
},
{
path: "/Org/ISO/Goal",
name: "Goal",
meta: {
name: "质量目标",
},
component: () => import("@/views/Org/ISO/Goal.vue"),
},
{
path: "/Org/ISO/Manual",
name: "Manual",
meta: {
name: "质量管理手册",
},
component: () => import("@/views/Org/ISO/Manual.vue"),
},
{
path: "/Org/ISO/Files",
name: "Files",
meta: {
name: "程序文件",
},
component: () => import("@/views/Org/ISO/Files.vue"),
},
],
},
{
path: "/Business",
name: "Business",
redirect: "/Home",
},
{
path: "/Home",
name: "Home",
component: main,
meta: {
name: "业务大厅",
name: "首页",
},
component: () => import("@/views/Business/index"),
redirect: '/Business/Register',
children: [
{
path: "/Business/Register",
name: "Register",
meta: {
name: "我要申请商品条码",
{
path: "/",
component: () => import("@/views/Home/index"),
},
component: () => import("@/views/Business/Register.vue"),
},
{
path: "/Business/Guide",
name: "Guide",
meta: {
name: "操作指南",
{
path: "/Home/sousuo",
name: "sousuo",
component: () => import("@/views/Home/sousuo"),
},
redirect: {
path: '/Business/Guide1',
query: {
id: '1-1'
}
{
path: "/Org",
name: "Org",
meta: {
name: "机构概况",
},
component: () => import("@/views/Org/index"),
redirect: '/Org/Intro',
children: [
{
path: "/Org/Intro",
name: "Intro",
meta: {
name: "中心简介",
},
component: () => import("@/views/Org/Intro.vue"),
},
{
path: "/Org/Leadership",
name: "Leadership",
meta: {
name: "中心领导",
},
component: () => import("@/views/Org/Leadership.vue"),
},
{
path: "/Org/Departments",
name: "Departments",
meta: {
name: "内设机构",
},
component: () => import("@/views/Org/Departments.vue"),
},
{
path: "/Org/Sites",
name: "Sites",
meta: {
name: "质检中心/协会/杂志社/标委会/其他",
},
component: () => import("@/views/Org/Sites.vue"),
},
{
path: "/Org/Branch",
name: "Branch",
meta: {
name: "地方编码分支机构",
},
component: () => import("@/views/Org/Branch.vue"),
},
{
path: "/Org/BranchMsg",
name: "Branch",
meta: {
name: "地方编码分支机构",
hidden: true,
},
component: () => import("@/views/Org/BranchMsg.vue"),
},
{
path: "https://www.gs1.org/",
name: "GS1",
meta: {
name: "国际物品编码组织(GS1)",
type: 'link'
},
},
{
path: "/Org/GS1Members",
name: "GS1Members",
meta: {
name: "国际物品编码组织(GS1)成员网站",
},
component: () => import("@/views/Org/GS1Members.vue"),
},
{
path: "/Org/ISO",
name: "ISO",
meta: {
name: "质量管理体系",
},
redirect: '/Org/ISO/Ideology',
},
{
path: "/Org/ISO/Ideology",
name: "Ideology",
meta: {
name: "指导思想",
},
component: () => import("@/views/Org/ISO/Ideology.vue"),
},
{
path: "/Org/ISO/Policy",
name: "Policy",
meta: {
name: "质量方针",
},
component: () => import("@/views/Org/ISO/Policy.vue"),
},
{
path: "/Org/ISO/Goal",
name: "Goal",
meta: {
name: "质量目标",
},
component: () => import("@/views/Org/ISO/Goal.vue"),
},
{
path: "/Org/ISO/Manual",
name: "Manual",
meta: {
name: "质量管理手册",
},
component: () => import("@/views/Org/ISO/Manual.vue"),
},
{
path: "/Org/ISO/Files",
name: "Files",
meta: {
name: "程序文件",
},
component: () => import("@/views/Org/ISO/Files.vue"),
},
],
},
},
{
path: "/Business",
name: "Business",
meta: {
name: "业务大厅",
},
component: () => import("@/views/Business/index"),
redirect: '/Business/Register',
children: [
{
path: "/Business/Register",
name: "Register",
meta: {
name: "我要申请商品条码",
},
component: () => import("@/views/Business/Register.vue"),
},
{
path: "/Business/Guide",
name: "Guide",
meta: {
name: "操作指南",
},
redirect: {
path: '/Business/Guide1',
query: {
id: '1-1'
}
},
},
{
path: "/Business/Guide1",
name: "Guide3",
meta: {
name: "我要申请商品条码",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide1.vue"),
},
{
path: "/Business/Guide2",
name: "Guide2",
meta: {
name: "我要编码",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide2.vue"),
},
{
path: "/Business/Guide3",
name: "Guide3",
meta: {
name: "我要通报编码信息",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide3.vue"),
},
{
path: "/Business/Guide4",
name: "Guide4",
meta: {
name: "微信共享",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide4.vue"),
},
{
path: "/Business/Guide5",
name: "Guide5",
meta: {
name: "我要培训",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide5.vue"),
},
{
path: "/Business/Guide6",
name: "Guide6",
meta: {
name: "我要续展",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide6.vue"),
},
{
path: "/Business/Code2",
name: "Code2",
meta: {
name: "非零售商品",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code2.vue"),
},
{
path: "/Business/Code3",
name: "Code3",
meta: {
name: "物流单元",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code3.vue"),
},
{
path: "/Business/Guide7",
name: "Guide7",
meta: {
name: "我要咨询",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide7.vue"),
},
{
path: "/Business/Code1",
name: "Code1",
meta: {
name: "零售商品",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code1.vue"),
},
{
path: "/Business/Guide8",
name: "Guide8",
meta: {
name: "常见问题",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Fap.vue"),
},
{
path: "/Business/Corppaynew",
name: "Corppaynew",
meta: {
name: "收费公示",
},
component: () => import("@/views/Business/Corppaynew.vue"),
},
{
path: "/Business/Corppay",
name: "Corppay",
meta: {
name: "收费目录清单",
},
component: () => import("@/views/Business/Corppay.vue"),
},
{
path: "/Business/serviceFee",
name: "serviceFee",
meta: {
name: "其他增值服务费",
},
component: () => import("@/views/Business/serviceFee.vue"),
},
{
path: "/Business/Notice",
name: "Notice",
meta: {
name: "条码公告",
},
component: () => import("@/views/Business/Notice.vue"),
},
{
path: "/Business/Training",
name: "",
meta: {
name: "我要培训——现场培训/线上培训",
},
redirect: '/Service/Training',
},
{
path: "/Business/Renewal",
name: "Renewal",
meta: {
name: "我要续展",
},
component: () => import("@/views/Business/Renewal.vue"),
},
{
path: "/Business/Code",
name: "Code",
meta: {
name: "我要编码",
},
redirect: {
path: '/Business/Code1',
query: {
id: '1-1'
}
},
},
{
path: "/Business/2dcode",
name: "2dcode",
meta: {
name: "我要生成商品二维码",
},
component: () => import("@/views/Business/2dcode.vue"),
},
{
path: "/Business/FoodSafety",
name: "FoodSafety",
meta: {
name: "我要追溯",
},
component: () => import("@/views/Business/FoodSafety.vue"),
},
{
path: "/Business/BarcodeV",
name: "BarcodeV",
meta: {
name: "条码微站",
},
component: () => import("@/views/Business/BarcodeV.vue"),
},
{
path: "/Business/UDI",
name: "UDI",
meta: {
name: "我要申请医疗器械唯一标识(UDI)",
},
component: () => import("@/views/Business/UDI.vue"),
},
{
path: "/Business/ypzs",
name: "ypzs",
meta: {
name: "我要申请药品追溯码",
},
component: () => import("@/views/Business/ypzs.vue"),
},
{
path: "/Business/GLN",
name: "GLN",
meta: {
name: "办理全球位置码(GLN)",
},
component: () => import("@/views/Business/GLN.vue"),
},
{
path: "/Business/cpdzdm",
name: "cpdzdm",
meta: {
name: "办理产品电子代码(EPC)",
},
component: () => import("@/views/Business/cpdzdm.vue"),
},
{
path: "/Business/GIAI",
name: "GIAI",
meta: {
name: "办理资产标识代码",
},
component: () => import("@/views/Business/GIAI.vue"),
},
{
path: "/Business/GSRN",
name: "GSRN",
meta: {
name: "办理全球服务关系代码",
},
component: () => import("@/views/Business/GSRN.vue"),
},
{
path: "/Business/Animalcode",
name: "Animalcode",
meta: {
name: "办理动物管理者代码",
},
component: () => import("@/views/Business/Animalcode.vue"),
},
],
},
{
path: "/Service/Training",
name: "Training",
meta: {
name: "培训计划",
},
component: () => import("@/views/Business/Training.vue"),
},
{
path: "/News/index",
name: "newsIndex",
meta: {
name: "资讯中心",
},
component: () => import("@/views/News/index.vue"),
},
{
path: "/News",
name: "News",
meta: {
name: "资讯中心",
},
component: () => import("@/views/News/main.vue"),
children: [
{
path: "/News/PicNews",
name: "PicNews",
meta: {
name: "图片资讯",
},
component: () => import("@/views/News/PicNews.vue"),
},
{
path: "/News/Composite",
name: "Composite",
meta: {
name: "综合报道",
},
component: () => import("@/views/News/Composite.vue"),
},
{
path: "/News/Center",
name: "Center",
meta: {
name: "中心活动",
},
component: () => import("@/views/News/Center.vue"),
},
{
path: "/News/Local",
name: "Local",
meta: {
name: "地方动态",
},
component: () => import("@/views/News/Local.vue"),
},
{
path: "/News/International",
name: "International",
meta: {
name: "国际追踪",
},
component: () => import("@/views/News/International.vue"),
},
{
path: "/News/Research",
name: "Research",
meta: {
name: "标准科研动态",
{
path: "/Business/Guide1",
name: "Guide3",
meta: {
name: "我要申请商品条码",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide1.vue"),
},
{
path: "/Business/Guide2",
name: "Guide2",
meta: {
name: "我要编码",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide2.vue"),
},
{
path: "/Business/Guide3",
name: "Guide3",
meta: {
name: "我要通报编码信息",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide3.vue"),
},
{
path: "/Business/Guide4",
name: "Guide4",
meta: {
name: "微信共享",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide4.vue"),
},
{
path: "/Business/Guide5",
name: "Guide5",
meta: {
name: "我要培训",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide5.vue"),
},
{
path: "/Business/Guide6",
name: "Guide6",
meta: {
name: "我要续展",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide6.vue"),
},
{
path: "/Business/Code2",
name: "Code2",
meta: {
name: "非零售商品",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code2.vue"),
},
{
path: "/Business/Code3",
name: "Code3",
meta: {
name: "物流单元",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code3.vue"),
},
{
path: "/Business/Guide7",
name: "Guide7",
meta: {
name: "我要咨询",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide7.vue"),
},
{
path: "/Business/Code1",
name: "Code1",
meta: {
name: "零售商品",
fatherPath: '/Business/Code',
},
component: () => import("@/views/Business/Code1.vue"),
},
{
path: "/Business/Guide8",
name: "Guide8",
meta: {
name: "常见问题",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Fap.vue"),
},
{
path: "/Business/Corppaynew",
name: "Corppaynew",
meta: {
name: "收费公示",
},
component: () => import("@/views/Business/Corppaynew.vue"),
},
{
path: "/Business/Corppay",
name: "Corppay",
meta: {
name: "收费目录清单",
},
component: () => import("@/views/Business/Corppay.vue"),
},
{
path: "/Business/serviceFee",
name: "serviceFee",
meta: {
name: "其他增值服务费",
},
component: () => import("@/views/Business/serviceFee.vue"),
},
{
path: "/Business/Notice",
name: "Notice",
meta: {
name: "条码公告",
},
component: () => import("@/views/Business/Notice.vue"),
},
{
path: "/Business/Training",
name: "",
meta: {
name: "我要培训——现场培训/线上培训",
},
redirect: '/Service/Training',
},
{
path: "/Business/Renewal",
name: "Renewal",
meta: {
name: "我要续展",
},
component: () => import("@/views/Business/Renewal.vue"),
},
{
path: "/Business/Code",
name: "Code",
meta: {
name: "我要编码",
},
redirect: {
path: '/Business/Code1',
query: {
id: '1-1'
}
},
},
{
path: "/Business/2dcode",
name: "2dcode",
meta: {
name: "我要生成商品二维码",
},
component: () => import("@/views/Business/2dcode.vue"),
},
{
path: "/Business/FoodSafety",
name: "FoodSafety",
meta: {
name: "我要追溯",
},
component: () => import("@/views/Business/FoodSafety.vue"),
},
{
path: "/Business/BarcodeV",
name: "BarcodeV",
meta: {
name: "条码微站",
},
component: () => import("@/views/Business/BarcodeV.vue"),
},
{
path: "/Business/UDI",
name: "UDI",
meta: {
name: "我要申请医疗器械唯一标识(UDI)",
},
component: () => import("@/views/Business/UDI.vue"),
},
{
path: "/Business/ypzs",
name: "ypzs",
meta: {
name: "我要申请药品追溯码",
},
component: () => import("@/views/Business/ypzs.vue"),
},
{
path: "/Business/GLN",
name: "GLN",
meta: {
name: "办理全球位置码(GLN)",
},
component: () => import("@/views/Business/GLN.vue"),
},
{
path: "/Business/cpdzdm",
name: "cpdzdm",
meta: {
name: "办理产品电子代码(EPC)",
},
component: () => import("@/views/Business/cpdzdm.vue"),
},
{
path: "/Business/GIAI",
name: "GIAI",
meta: {
name: "办理资产标识代码",
},
component: () => import("@/views/Business/GIAI.vue"),
},
{
path: "/Business/GSRN",
name: "GSRN",
meta: {
name: "办理全球服务关系代码",
},
component: () => import("@/views/Business/GSRN.vue"),
},
{
path: "/Business/Animalcode",
name: "Animalcode",
meta: {
name: "办理动物管理者代码",
},
component: () => import("@/views/Business/Animalcode.vue"),
},
],
},
component: () => import("@/views/News/Research.vue"),
},
{
path: "/News/Research",
name: "Research",
meta: {
name: "标准科研动态",
{
path: "/Service/Training",
name: "Training",
meta: {
name: "培训计划",
},
component: () => import("@/views/Business/Training.vue"),
},
component: () => import("@/views/News/Research.vue"),
},
{
path: "/News/Application",
name: "Application",
meta: {
name: "行业应用",
{
path: "/News/index",
name: "newsIndex",
meta: {
name: "资讯中心",
},
component: () => import("@/views/News/index.vue"),
},
component: () => import("@/views/News/Application.vue"),
},
{
path: "/News/DepthTopics",
name: "DepthTopics",
meta: {
name: "深度专题",
{
path: "/News",
name: "News",
meta: {
name: "资讯中心",
},
component: () => import("@/views/News/main.vue"),
children: [
{
path: "/News/PicNews",
name: "PicNews",
meta: {
name: "图片资讯",
},
component: () => import("@/views/News/PicNews.vue"),
},
{
path: "/News/Composite",
name: "Composite",
meta: {
name: "综合报道",
},
component: () => import("@/views/News/Composite.vue"),
},
{
path: "/News/Center",
name: "Center",
meta: {
name: "中心活动",
},
component: () => import("@/views/News/Center.vue"),
},
{
path: "/News/Local",
name: "Local",
meta: {
name: "地方动态",
},
component: () => import("@/views/News/Local.vue"),
},
{
path: "/News/International",
name: "International",
meta: {
name: "国际追踪",
},
component: () => import("@/views/News/International.vue"),
},
{
path: "/News/Research",
name: "Research",
meta: {
name: "标准科研动态",
},
component: () => import("@/views/News/Research.vue"),
},
{
path: "/News/Research",
name: "Research",
meta: {
name: "标准科研动态",
},
component: () => import("@/views/News/Research.vue"),
},
{
path: "/News/Application",
name: "Application",
meta: {
name: "行业应用",
},
component: () => import("@/views/News/Application.vue"),
},
{
path: "/News/DepthTopics",
name: "DepthTopics",
meta: {
name: "深度专题",
},
component: () => import("@/views/News/DepthTopics.vue"),
},
{
path: "/News/Video",
name: "Video",
meta: {
name: "精彩视频",
},
component: () => import("@/views/News/Video.vue"),
},
{
path: "/News/Notice",
name: "Notice",
meta: {
name: "公告通知",
},
component: () => import("@/views/News/Notice.vue"),
},
{
path: "/News/FoodSafety",
name: "FoodSafety",
meta: {
name: "食品安全追溯",
},
component: () => import("@/views/News/FoodSafety.vue"),
},
{
path: "/News/MCommerce",
name: "MCommerce",
meta: {
name: "移动商务",
},
component: () => import("@/views/News/MCommerce.vue"),
},
{
path: "/News/IoT",
name: "IoT",
meta: {
name: "物联网",
},
component: () => import("@/views/News/IoT.vue"),
},
{
path: "/News/Other",
name: "Other",
meta: {
name: "其他",
},
component: () => import("@/views/News/Other.vue"),
},
]
},
component: () => import("@/views/News/DepthTopics.vue"),
},
{
path: "/News/Video",
name: "Video",
meta: {
name: "精彩视频",
{
path: "/News/msg",
name: "msg",
meta: {
name: "资讯中心详情",
},
component: () => import("@/views/News/msg.vue"),
},
component: () => import("@/views/News/Video.vue"),
},
{
path: "/News/Notice",
name: "Notice",
meta: {
name: "公告通知",
{
path: "/News/Health",
name: "Health",
meta: {
name: "医疗卫生",
},
component: () => import("@/views/News/Health.vue"),
},
component: () => import("@/views/News/Notice.vue"),
},
{
path: "/News/FoodSafety",
name: "FoodSafety",
meta: {
name: "食品安全追溯",
{
path: "/News/StatuteDes",
name: "StatuteDes",
meta: {
name: "药品",
},
component: () => import("@/views/News/StatuteDes.vue"),
},
component: () => import("@/views/News/FoodSafety.vue"),
},
{
path: "/News/MCommerce",
name: "MCommerce",
meta: {
name: "移动商务",
{
path: "/News/Retail",
name: "Retail",
meta: {
name: "零售",
},
component: () => import("@/views/News/Retail.vue"),
},
component: () => import("@/views/News/MCommerce.vue"),
},
{
path: "/News/IoT",
name: "IoT",
meta: {
name: "物联网",
{
path: "/News/Logistics",
name: "Logistics",
meta: {
name: "物流",
},
component: () => import("@/views/News/Logistics.vue"),
},
component: () => import("@/views/News/IoT.vue"),
},
{
path: "/News/Other",
name: "Other",
meta: {
name: "其他",
{
path: "/News/ECommerce",
name: "ECommerce",
meta: {
name: "电子商务",
},
component: () => import("@/views/News/ECommerce.vue"),
},
component: () => import("@/views/News/Other.vue"),
},
]
},
{
path: "/News/msg",
name: "msg",
meta: {
name: "资讯中心详情",
},
component: () => import("@/views/News/msg.vue"),
},
{
path: "/News/Health",
name: "Health",
meta: {
name: "医疗卫生",
},
component: () => import("@/views/News/Health.vue"),
},
{
path: "/News/StatuteDes",
name: "StatuteDes",
meta: {
name: "药品",
},
component: () => import("@/views/News/StatuteDes.vue"),
},
{
path: "/News/Retail",
name: "Retail",
meta: {
name: "零售",
},
component: () => import("@/views/News/Retail.vue"),
},
{
path: "/News/Logistics",
name: "Logistics",
meta: {
name: "物流",
},
component: () => import("@/views/News/Logistics.vue"),
},
{
path: "/News/ECommerce",
name: "ECommerce",
meta: {
name: "电子商务",
},
component: () => import("@/views/News/ECommerce.vue"),
},
{
path: "/Knowledge",
name: "Knowledge",
meta: {
name: "知识中心",
},
component: () => import("@/views/Knowledge/index"),
children: [
]
},
{
path: "/Knowledge/TeKIndex",
name: "TeKIndex",
meta: {
name: "技术标准",
},
component: () => import("@/views/Knowledge/TeKIndex.vue"),
children:[
{
path: "/Knowledge/ANCCSystem",
name: "ANCCSystem",
meta: {
name: "国家物品编码体系",
},
component: () => import("@/views/Knowledge/ANCCSystem.vue"),
},
{
path: "/Knowledge/GS1System2",
name: "GS1System",
meta: {
name: "GS1系统",
{
path: "/Knowledge",
name: "Knowledge",
meta: {
name: "知识中心",
},
component: () => import("@/views/Knowledge/index"),
children: []
},
component: () => import("@/views/Knowledge/GS1System2.vue"),
{
path: "/Knowledge/TeKIndex",
name: "TeKIndex",
meta: {
name: "技术标准",
},
component: () => import("@/views/Knowledge/TeKIndex.vue"),
children: [
{
path: "/Knowledge/ANCCSystem",
name: "ANCCSystem",
meta: {
name: "国家物品编码体系",
},
component: () => import("@/views/Knowledge/ANCCSystem.vue"),
},
{
path: "/Knowledge/GS1System2",
name: "GS1System",
meta: {
name: "GS1系统",
},
component: () => import("@/views/Knowledge/GS1System2.vue"),
},
{
path: "/Knowledge/GS1System/GS1System",
name: "GS1System",
meta: {
name: "概述",
},
component: () => import("@/views/Knowledge/GS1System/GS1System.vue"),
},
{
path: "/Knowledge/GS1System/bmtx",
name: "bmtx",
meta: {
name: "编码体系",
},
component: () => import("@/views/Knowledge/GS1System/bmtx.vue"),
},
{
path: "/Knowledge/GS1System/sjzttx",
name: "sjzttx",
meta: {
name: "数据载体体系",
},
component: () => import("@/views/Knowledge/GS1System/sjzttx.vue"),
},
{
path: "/Knowledge/GS1System/sjjhtx",
name: "sjjhtx",
meta: {
name: "数据交换体系",
},
component: () => import("@/views/Knowledge/GS1System/sjjhtx.vue"),
},
},
{
path: "/Knowledge/GS1System/GS1System",
name: "GS1System",
meta: {
name: "概述",
},
component: () => import("@/views/Knowledge/GS1System/GS1System.vue"),
},
{
path: "/Knowledge/GS1System/bmtx",
name: "bmtx",
meta: {
name: "编码体系",
},
component: () => import("@/views/Knowledge/GS1System/bmtx.vue"),
},
{
path: "/Knowledge/GS1System/sjzttx",
name: "sjzttx",
meta: {
name: "数据载体体系",
},
component: () => import("@/views/Knowledge/GS1System/sjzttx.vue"),
},
{
path: "/Knowledge/GS1System/sjjhtx",
name: "sjjhtx",
meta: {
name: "数据交换体系",
},
component: () => import("@/views/Knowledge/GS1System/sjjhtx.vue"),
},
{
path: "/Knowledge/Standard",
name: "Standard",
meta: {
name: "标准文献",
},
component: () => import("@/views/Knowledge/Standard.vue"),
},
{
path: "/Knowledge/Glossary",
name: "Glossary",
meta: {
name: "专业术语",
},
component: () => import("@/views/Knowledge/Glossary.vue"),
},
{
path: "/Knowledge/xts",
name: "xts",
meta: {
name: "小贴士",
},
component: () => import("@/views/Knowledge/xts.vue"),
},
{
path: "/Knowledge/xts",
name: "xts",
meta: {
name: "常见问题",
},
component: () => import("@/views/Knowledge/xts.vue"),
},
]
},
{
path: "/Knowledge/GSBMindex",
name: "GSBMindex",
meta: {
name: "知识导航",
},
component: () => import("@/views/Knowledge/GSBMindex.vue"),
children:[
{
path: "/Knowledge/ANCCSystem",
name: "ANCCSystem",
meta: {
name: "国家物品编码体系",
},
component: () => import("@/views/Knowledge/ANCCSystem.vue"),
},
{
path: "/Knowledge/GS1System2",
name: "GS1System",
meta: {
name: "GS1系统",
{
path: "/Knowledge/Standard",
name: "Standard",
meta: {
name: "标准文献",
},
component: () => import("@/views/Knowledge/Standard.vue"),
},
{
path: "/Knowledge/Glossary",
name: "Glossary",
meta: {
name: "专业术语",
},
component: () => import("@/views/Knowledge/Glossary.vue"),
},
{
path: "/Knowledge/xts",
name: "xts",
meta: {
name: "小贴士",
},
component: () => import("@/views/Knowledge/xts.vue"),
},
{
path: "/Knowledge/xts",
name: "xts",
meta: {
name: "常见问题",
},
component: () => import("@/views/Knowledge/xts.vue"),
},
]
},
component: () => import("@/views/Knowledge/GS1System2.vue"),
{
path: "/Knowledge/GSBMindex",
name: "GSBMindex",
meta: {
name: "知识导航",
},
component: () => import("@/views/Knowledge/GSBMindex.vue"),
children: [
{
path: "/Knowledge/ANCCSystem",
name: "ANCCSystem",
meta: {
name: "国家物品编码体系",
},
component: () => import("@/views/Knowledge/ANCCSystem.vue"),
},
{
path: "/Knowledge/GS1System2",
name: "GS1System",
meta: {
name: "GS1系统",
},
component: () => import("@/views/Knowledge/GS1System2.vue"),
},
{
path: "/Knowledge/GS1System/goodsGln",
name: "goodsGln",
meta: {
name: "商品条码",
},
component: () => import("@/views/Knowledge/GS1System/goodsGln.vue"),
},
{
path: "/Knowledge/GS1System/goodsEpc",
name: "goodsEpc",
meta: {
name: "产品电子代码(EPC)",
},
component: () => import("@/views/Knowledge/GS1System/goodsEpc.vue"),
},
{
path: "/Knowledge/GS1System/goodsGDS",
name: "goodsGDS",
meta: {
name: "全球数据同步(GDS)",
},
component: () => import("@/views/Knowledge/GS1System/goodsGDS.vue"),
},
{
path: "/Knowledge/GS1System/goodsPosition",
name: "goodsPosition",
meta: {
name: "全球位置编码(GLN)",
},
component: () => import("@/views/Knowledge/GS1System/goodsPosition.vue"),
},
},
{
path: "/Knowledge/GS1System/goodsGln",
name: "goodsGln",
meta: {
name: "商品条码",
},
component: () => import("@/views/Knowledge/GS1System/goodsGln.vue"),
},
{
path: "/Knowledge/GS1System/goodsEpc",
name: "goodsEpc",
meta: {
name: "产品电子代码(EPC)",
},
component: () => import("@/views/Knowledge/GS1System/goodsEpc.vue"),
},
{
path: "/Knowledge/GS1System/goodsGDS",
name: "goodsGDS",
meta: {
name: "全球数据同步(GDS)",
},
component: () => import("@/views/Knowledge/GS1System/goodsGDS.vue"),
},
{
path: "/Knowledge/GS1System/goodsPosition",
name: "goodsPosition",
meta: {
name: "全球位置编码(GLN)",
},
component: () => import("@/views/Knowledge/GS1System/goodsPosition.vue"),
},
{
path: "/Knowledge/GS1System/zxcbm",
name: "zxcbm",
meta: {
name: "自行车编码",
},
component: () => import("@/views/Knowledge/GS1System/zxcbm.vue"),
},
{
path: "/Knowledge/GS1System/dwbm",
name: "dwbm",
meta: {
name: "动物编码",
},
component: () => import("@/views/Knowledge/GS1System/dwbm.vue"),
},
{
path: "/Knowledge/GS1System/ewbm",
name: "ewbm",
meta: {
name: "二维条码",
{
path: "/Knowledge/GS1System/zxcbm",
name: "zxcbm",
meta: {
name: "自行车编码",
},
component: () => import("@/views/Knowledge/GS1System/zxcbm.vue"),
},
{
path: "/Knowledge/GS1System/dwbm",
name: "dwbm",
meta: {
name: "动物编码",
},
component: () => import("@/views/Knowledge/GS1System/dwbm.vue"),
},
{
path: "/Knowledge/GS1System/ewbm",
name: "ewbm",
meta: {
name: "二维条码",
},
component: () => import("@/views/Knowledge/GS1System/ewbm.vue"),
},
{
path: "/Knowledge/GS1System/gxfECR",
name: "gxfECR",
meta: {
name: "高效消费者响应(ECR)",
},
component: () => import("@/views/Knowledge/GS1System/gxfECR.vue"),
},
{
path: "/Knowledge/GS1System/ebxml",
name: "ebXML",
meta: {
name: "ebXML",
},
component: () => import("@/views/Knowledge/GS1System/ebxml.vue"),
},
]
},
component: () => import("@/views/Knowledge/GS1System/ewbm.vue"),
},
{
path: "/Knowledge/GS1System/gxfECR",
name: "gxfECR",
meta: {
name: "高效消费者响应(ECR)",
{
path: "/Knowledge/Statute",
name: "Statute",
meta: {
name: "政策法规",
},
component: () => import("@/views/Knowledge/Statute.vue"),
},
//成员专区
{
path: "/Member",
name: "Member",
meta: {
name: "成员专区",
},
component: () => import("@/views/Member/index.vue"),
},
component: () => import("@/views/Knowledge/GS1System/gxfECR.vue"),
},
{
path: "/Knowledge/GS1System/ebxml",
name: "ebXML",
meta: {
name: "ebXML",
{
path: "/djwhlist",
name: "djwhlist",
component: () => import("@/views/Djwh/djwhlist"),
},
component: () => import("@/views/Knowledge/GS1System/ebxml.vue"),
},
]
},
{
path: "/Knowledge/Statute",
name: "Statute",
meta: {
name: "政策法规",
},
component: () => import("@/views/Knowledge/Statute.vue"),
},
//成员专区
{
path: "/Member",
name: "Member",
meta: {
name: "成员专区",
},
component: () => import("@/views/Member/index.vue"),
},
{
path: "/djwhlist",
name: "djwhlist",
component: () => import("@/views/Djwh/djwhlist"),
},
//个人中心
{
path: "/MyManage",
name: "MyManage",
component: () => import("@/views/MyManage/index"),
children:[
{
path: "/MyManage/UnVerify/index",
name: "UnVerify",
meta: {
name: "首页",
},
component: () => import("@/views/MyManage/UnVerify/index.vue"),
},
//个人中心
{
path: "/MyManage",
name: "MyManage",
component: () => import("@/views/MyManage/index"),
children: [
{
path: "/MyManage/UnVerify/index",
name: "UnVerify",
meta: {
name: "首页",
},
component: () => import("@/views/MyManage/UnVerify/index.vue"),
},
// 管理员 START
{
path: "/MyManage/admin/check",
name: "MyManage/admin/check",
meta: {
name: "业务审核",
},
component: () => import("@/views/MyManage/Admin/check.vue"),
},
{
path: "/MyManage/admin/code",
name: "MyManage/admin/code",
meta: {
name: "统一产品编码",
},
component: () => import("@/views/MyManage/Admin/code.vue"),
},
{
path: "/MyManage/admin/status_change",
name: "MyManage/admin/status_change",
meta: {
name: "审核状态修改",
},
component: () => import("@/views/MyManage/Admin/statusChange.vue"),
},
{
path: "/MyManage/admin/ent_info",
name: "MyManage/admin/ent_info",
meta: {
name: "企业信息修改",
},
component: () => import("@/views/MyManage/Admin/entInfo.vue"),
},
{
path: "/MyManage/admin/log",
name: "MyManage/admin/log",
meta: {
name: "日志查看",
},
component: () => import("@/views/MyManage/Admin/log.vue"),
},
]
},
]
},
],
},
......@@ -929,20 +967,19 @@ const routes = [
},
],
},
{
},
{
path: "/djwh",
name: "djwh",
component: () => import("@/views/Djwh/index"),
},
},
service,
{
path: "/login",
name: "login",
......@@ -967,15 +1004,14 @@ const routes = [
path: "*",
redirect: "/404",
},
];
const router = new VueRouter({
mode: "history",
base: process.env.BASE_URL,
routes,
mode: "history",
base: process.env.BASE_URL,
routes,
});
export default router;
<template>
<div class="gs_admin_check">
<div class="dashboard" v-show="!showUnCheck&&!showCheckDetail">
<div class="card_wrapper">
<div class="title">企业实名认证</div>
<div class="body">
<div class="card"
@click="handleClick(item)"
:style="{borderLeftColor:item.color}"
:key="item.key"
v-for="item in realNameCertification">
<div class="content">
<div class="card_title">{{ item.label }}</div>
<div class="nums">{{ item.amount }}</div>
</div>
</div>
</div>
</div>
<div class="card_wrapper">
<div class="title">企业实名认证(变更)</div>
<div class="body">
<div class="card"
@click="handleClick(item)"
:style="{borderLeftColor:item.color}"
:key="item.key"
v-for="item in realNameCertificationChange">
<div class="content">
<div class="card_title">{{ item.label }}</div>
<div class="nums">{{ item.amount }}</div>
</div>
</div>
</div>
</div>
</div>
<div class="card_wrapper uncheck-table" v-if="showUnCheck">
<div class="title">等待审核
<span class="back_btn" @click="showUnCheck=false">返回</span>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
showUnCheck: false,
showCheckDetail: false,
realNameCertification: [
{
key: '1',
label: '等待审核',
amount: '641',
color: '#2F7CF1'
},
{
key: '2',
label: '已通过审核',
amount: '10,388',
color: '#3ABD79'
},
{
key: '3',
label: '未通过审核',
amount: '385',
color: '#F8A702'
},
{
key: '4',
label: '申请总数',
amount: '11,414',
color: '#F26335'
}
],
realNameCertificationChange: [
{
key: '1',
label: '等待审核',
amount: '17',
color: '#2F7CF1'
},
{
key: '2',
label: '已通过审核',
amount: '77',
color: '#3ABD79'
},
{
key: '3',
label: '未通过审核',
amount: '1',
color: '#F8A702'
},
{
key: '4',
label: '申请总数',
amount: '95',
color: '#F26335'
}
],
}
},
methods: {
handleClick(item) {
console.log(item)
if (item.label === "等待审核") {
this.showUnCheck = true;
}
}
},
}
</script>
<style lang="scss" scoped>
.gs_admin_check {
.dashboard {
}
.card_wrapper {
height: 217px;
background: #FFFFFF;
border-radius: 2px;
margin-bottom: 14px;
.title {
padding-left: 40px;
padding-right: 30px;
height: 57px;
line-height: 56px;
font-size: 16px;
font-weight: 500;
color: #F26335;
border-bottom: 1px solid #F3F3F3;
.back_btn {
float: right;
cursor: pointer;
font-size: 13px;
font-weight: 400;
color: #F26335;
}
}
.body {
padding: 30px 0 30px 40px;
}
.card {
cursor: pointer;
float: left;
width: 190px;
height: 100px;
background: #FFFFFF;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
border-radius: 4px;
overflow: hidden;
margin-right: 34px;
border-left: 3px solid transparent;
transition: .2s;
&:hover {
box-shadow: 0px 6px 20px 4px rgba(4, 64, 141, 0.12);
}
.content {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
padding-left: 27px;
padding-top: 18px;
.card_title {
font-size: 12px;
font-weight: 400;
color: #999999;
margin-bottom: 10px;
}
.nums {
height: 37px;
font-size: 32px;
font-family: ArialRoundedMTBold;
color: #F26335;
line-height: 37px;
}
}
}
}
}
</style>
<template>
</template>
<script>
export default {
name: "index"
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
name: "index"
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
name: "index"
}
</script>
<style scoped>
</style>
......@@ -2,61 +2,83 @@
<div class="userInfo">
<div class="cnt">
<img src="../../../assets/image/mymanage/headImg.png" alt="">
<p>{{userNamr}}/{{phone}}/{{cardNo}}</p>
<p>{{userType}} | {{nocardNo}}</p>
<template v-if="type === UN_VERIFY">
<p>{{ userNamr }}/{{ phone }}/{{ cardNo }}</p>
<p>{{ userType }} | {{ nocardNo }}</p>
</template>
<template v-else-if="type === ADMIN">
<p class="admin_name">{{ userNamr }}</p>
<p>- - - | 中心管理员</p>
</template>
</div>
</div>
</template>
<script>
const UN_VERIFY = 0;
const SYSTEM_MEMBER = 1;
const ADMIN = 2;
export default {
data() {
props: {
type: Number
},
data() {
return {
userNamr:'用户名',
phone:'手机号',
cardNo:'条码卡号',
userType:'用户类别',
nocardNo:'未申请条码卡'
UN_VERIFY,
SYSTEM_MEMBER,
ADMIN,
userNamr: '用户名',
phone: '手机号',
cardNo: '条码卡号',
userType: '用户类别',
nocardNo: '未申请条码卡'
};
},
created() {
},
};
</script>
<style lang="scss" scoped>
.userInfo{
.userInfo {
background: #fff;
min-height: 224px;
margin-bottom: 14px;
.cnt{
.cnt {
text-align: center;
img{
img {
width: 80px;
height: 80px;
margin-top: 40px;
margin-bottom: 20px;
}
p{
margin-bottom: 0!important;
p {
margin-bottom: 0;
}
p:first-child{
p:first-child {
font-size: 16px;
line-height: 24px;
color: #414345;
}
p:last-child{
p:last-child {
font-size: 13px;
line-height: 18px;
color: #999999;
}
.admin_name{
margin-bottom: 6px;
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -2,11 +2,11 @@
<div class="nav-me container marginTop20 mb-5" style="position: relative">
<div class="row">
<div class="col-lg-3">
<UserInfo/>
<UserInfo :type="userType"/>
<SubNav/>
</div>
<div class="col-lg-9">
<router-view ></router-view>
<router-view></router-view>
</div>
</div>
</div>
......@@ -15,8 +15,7 @@
<script>
import SubNav from "../comps/SubNav.vue";
import UserInfo from "./comps/userInfo.vue";
import {uuid} from "../../utils/utils";
const UN_VERIFY = 0;
const SYSTEM_MEMBER = 1;
......@@ -27,82 +26,120 @@ export default {
SubNav,
UserInfo
},
created() {
// TODO 判断用户状态 处理一下左侧的 sub_nav 和用户panel
// 1. 未申请条码
// 2.系统成员
// 3.管理员
this.userType = ADMIN;
},
data() {
return {
routerList:[
routerList: [
{
id: uuid("gs_nav"),
name: "首页",
index: 0,
link: "/MyManage/UnVerify/index",
},
{
name: "首页",
index: 0,
link: "/MyManage/UnVerify/index",
id: uuid("gs_nav"),
name: "业务管理",
index: 1,
link: "",
children: [
{
id: uuid("gs_nav"),
name: "商品条码在线注册",
index: 0,
link: "",
},
{
id: uuid("gs_nav"),
name: "厂商实名认证",
index: 1,
link: "",
},
{
id: uuid("gs_nav"),
name: "检测校准申请",
index: 2,
link: "",
},
],
},
{
name: "业务管理",
index: 1,
link: "",
children: [
{
name: "商品条码在线注册",
index: 0,
link: "",
},
{
name: "厂商实名认证",
index: 1,
link: "",
},
{
name: "检测校准申请",
index: 2,
link: "",
},
],
id: uuid("gs_nav"),
name: "用户信息管理",
index: 2,
link: "",
children: [
{
id: uuid("gs_nav"),
name: "个人资料",
index: 0,
link: "",
},
{
id: uuid("gs_nav"),
name: "修改密码",
index: 1,
link: "",
},
{
id: uuid("gs_nav"),
name: "修改手机号码",
index: 2,
link: "",
},
],
},
],
adminRouterList: [
{
name: "用户信息管理",
index: 2,
link: "",
children: [
{
name: "个人资料",
index: 0,
link: "",
},
{
name: "修改密码",
index: 1,
link: "",
},
{
name: "修改手机号码",
index: 2,
link: "",
},
],
id: uuid("gs_nav"),
name: "业务审核",
index: 0,
link: "/MyManage/admin/check",
},
],
{
id: uuid("gs_nav"),
name: "统一产品编码",
index: 1,
link: "/MyManage/admin/code",
},
{
id: uuid("gs_nav"),
name: "审核状态修改",
index: 2,
link: "/MyManage/admin/status_change",
},
{
id: uuid("gs_nav"),
name: "企业信息修改",
index: 3,
link: "/MyManage/admin/ent_info",
},
{
id: uuid("gs_nav"),
name: "日志查看",
index: 4,
link: "/MyManage/admin/log",
},
],
userType: ADMIN,
};
},
created() {
this.$store.commit("system/SET_SUB_NAV",this.routerList);
},
methods: {
// TODO 判断用户状态 处理一下左侧的 sub_nav 和用户panel
// 1. 未申请条码
// 2.系统成员
// 3.管理员
this.userType = UN_VERIFY;
if (this.userType === UN_VERIFY) {
this.$store.commit("system/SET_SUB_NAV", this.routerList);
} else if (this.userType === SYSTEM_MEMBER) {
this.$store.commit("system/SET_SUB_NAV", this.routerList);
} else if (this.userType === ADMIN) {
this.$store.commit("system/SET_SUB_NAV", this.adminRouterList);
}
},
methods: {},
};
</script>
<style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment