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