Commit 60dbcc31 authored by 冯腾骁's avatar 冯腾骁

线上发货配置

parent c019aba0
const onlineDelivery = resolve => require(['@/views/deliveryChannelConfiguration/onlineDelivery'], resolve);
export default [
{
path: '/deliveryChannelConfiguration/onlineDelivery',
name: 'onlineDelivery',
component: onlineDelivery,
meta: {
title: '线上发货配置'
}
}
]
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// import 'vueConfig' // import 'vueConfig'
import warehouseConfiguration from './warehouseConfiguration' import warehouseConfiguration from './warehouseConfiguration'
import logisticsConfiguration from './logisticsConfiguration' import logisticsConfiguration from './logisticsConfiguration'
import deliveryChannelConfiguration from './deliveryChannelConfiguration'
const login = resolve => require(['@/views/Login'], resolve); const login = resolve => require(['@/views/Login'], resolve);
import index from './index/index' import index from './index/index'
// const parent = resolve => require(['@/components/parent'], resolve);//子页面 // const parent = resolve => require(['@/components/parent'], resolve);//子页面
...@@ -26,7 +27,7 @@ const routes = [{ // 404 ...@@ -26,7 +27,7 @@ const routes = [{ // 404
// redirect: '/', // redirect: '/',
name: 'home', name: 'home',
component: Home, component: Home,
children: [].concat(index,warehouseConfiguration,logisticsConfiguration) children: [].concat(index,warehouseConfiguration,logisticsConfiguration,deliveryChannelConfiguration)
}, },
].reverse(); ].reverse();
export const router = new VueRouter({ export const router = new VueRouter({
......
This diff is collapsed.
...@@ -499,6 +499,8 @@ export default { ...@@ -499,6 +499,8 @@ export default {
this.searchCompanyPage(); this.searchCompanyPage();
this.searchChannelPage(); this.searchChannelPage();
this.getCompanyList(); this.getCompanyList();
console.log("host",window.location.host)
console.log("protocol",window.location.protocol)
}, },
activated() { activated() {
this.tableMaxHeight = window.innerHeight - 263; this.tableMaxHeight = window.innerHeight - 263;
......
...@@ -41,6 +41,15 @@ const state = { ...@@ -41,6 +41,15 @@ const state = {
{path: '/logisticsConfiguration/companyChannels', name: '公司物流渠道'}, {path: '/logisticsConfiguration/companyChannels', name: '公司物流渠道'},
] ]
}, },
{
path: '/',
name: '平台渠道配置',
iconCls: 'el-icon-film',
leaf: false,
children: [
{path: '/deliveryChannelConfiguration/onlineDelivery', name: '线上发货配置'},
]
},
] ]
}; };
const getters = { const getters = {
......
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