Commit 1c5204f6 by 林家欣

补充提交

parent 3da08d03
...@@ -195,7 +195,7 @@ export const nav = [ ...@@ -195,7 +195,7 @@ export const nav = [
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "操作指南", name: "操作指南",
index: 2, index: 2,
link: "/Business/Guide1?id=1-1", link: "/Business/Guide",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" }, { name: "我还不是系统成员", path: "/Business/Register" },
...@@ -204,12 +204,23 @@ export const nav = [ ...@@ -204,12 +204,23 @@ export const nav = [
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "我要申请商品条码",
index: 2,
link: "/Business/Guide1",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" },
{ name: "我要通报编码信息" },
],
},
{
id: uuid("gs_nav"),
name: "我要通报编码信息", name: "我要通报编码信息",
index: 2, index: 2,
link: "/Business/Guide3", link: "/Business/Guide3",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide1?id=1-1" }, { name: "操作指南", path: "/Business/Guide" },
{ name: "我要通报编码信息" }, { name: "我要通报编码信息" },
], ],
}, },
......
...@@ -179,26 +179,87 @@ const routes = [ ...@@ -179,26 +179,87 @@ const routes = [
meta: { meta: {
name: "操作指南", name: "操作指南",
}, },
component: () => import("@/views/Business/Guide.vue"), redirect: {
path: '/Business/Guide1',
query: {
id: '1-1'
}
}, },
},
{ {
path: "/Business/Guide1", path: "/Business/Guide1",
name: "Guide3", name: "Guide3",
meta: { meta: {
name: "我要申请商品条码", name: "我要申请商品条码",
fatherPath: '/Business/Guide',
}, },
component: () => import("@/views/Business/Guide1.vue"), 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", path: "/Business/Guide3",
name: "Guide3", name: "Guide3",
meta: { meta: {
name: "我要通报编码信息", name: "我要通报编码信息",
fatherPath: '/Business/Guide1', fatherPath: '/Business/Guide',
}, },
component: () => import("@/views/Business/Guide3.vue"), 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/Guide7",
name: "Guide7",
meta: {
name: "我要咨询",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide7.vue"),
},
{
path: "/Business/Guide8",
name: "Guide8",
meta: {
name: "常见问题",
fatherPath: '/Business/Guide',
},
component: () => import("@/views/Business/Guide8.vue"),
},
{
path: "/Business/Corppaynew", path: "/Business/Corppaynew",
name: "Corppaynew", name: "Corppaynew",
meta: { meta: {
...@@ -247,10 +308,24 @@ const routes = [ ...@@ -247,10 +308,24 @@ const routes = [
component: () => import("@/views/Business/Renewal.vue"), component: () => import("@/views/Business/Renewal.vue"),
}, },
{ {
path: "/Business/Code",
name: "Code",
meta: {
name: "我要编码",
},
redirect: {
path: '/Business/Code1',
query: {
id: '1-1'
}
},
},
{
path: "/Business/Code1", path: "/Business/Code1",
name: "Code1", name: "Code1",
meta: { meta: {
name: "零售商品", name: "零售商品",
fatherPath: '/Business/Code',
}, },
component: () => import("@/views/Business/Code1.vue"), component: () => import("@/views/Business/Code1.vue"),
}, },
...@@ -259,6 +334,7 @@ const routes = [ ...@@ -259,6 +334,7 @@ const routes = [
name: "Code2", name: "Code2",
meta: { meta: {
name: "非零售商品", name: "非零售商品",
fatherPath: '/Business/Code',
}, },
component: () => import("@/views/Business/Code2.vue"), component: () => import("@/views/Business/Code2.vue"),
}, },
...@@ -267,6 +343,7 @@ const routes = [ ...@@ -267,6 +343,7 @@ const routes = [
name: "Code3", name: "Code3",
meta: { meta: {
name: "物流单元", name: "物流单元",
fatherPath: '/Business/Code',
}, },
component: () => import("@/views/Business/Code3.vue"), component: () => import("@/views/Business/Code3.vue"),
}, },
......
...@@ -82,6 +82,7 @@ export default { ...@@ -82,6 +82,7 @@ export default {
} else { } else {
path = el.path; path = el.path;
} }
console.log(path, 'path');
this.$router.push({ this.$router.push({
path: path, path: path,
query: { query: {
......
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