Commit 49c0fea8 authored by 黄奎's avatar 黄奎

页面修改

parent 1cc0250f
...@@ -869,12 +869,13 @@ ...@@ -869,12 +869,13 @@
this.parentName = tempparentName; this.parentName = tempparentName;
this.currentName = tempcurrentName; this.currentName = tempcurrentName;
} }
return tempcurrentName return tempcurrentName
}, },
getTitleByRouter(name) { getTitleByRouter(name) {
let obj = {} let obj = {title:""};
routerConfig.routes[11].children[0].children.forEach(x => { // console.log("routerConfig.routes[11]",routerConfig.routes[12]);
if (routerConfig.routes[12] && routerConfig.routes[12].children && routerConfig.routes[12].children.length>0) {
routerConfig.routes[12].children[0].children.forEach(x => {
if (x.name == name) { if (x.name == name) {
obj.comp = x.component obj.comp = x.component
if (x.meta && x.meta.title) if (x.meta && x.meta.title)
...@@ -884,6 +885,7 @@ ...@@ -884,6 +885,7 @@
return false return false
} }
}) })
}
return obj return obj
}, },
filterRouter() { filterRouter() {
......
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
title: '出团通知书下载新' title: '出团通知书下载新'
}, },
}, },
{ {
path: '/SalesconfirmationOrder', //销售出团通知 path: '/SalesconfirmationOrder', //销售出团通知
name: 'SalesconfirmationOrder', name: 'SalesconfirmationOrder',
......
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