Commit 3576e2ae by liangjianmin

Merge branch 'master' of http://119.23.72.7/xiaokang/cloudSystem

parents b1c3c155 300698a5
......@@ -3,6 +3,19 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter);
const Home = resolve => require(['@/views/Index/index.vue'], resolve);
const Inquire = resolve => require(['@/views/List/inquire.vue'], resolve);
const InquireDetail = resolve => require(['@/views/List/inquireDetail.vue'], resolve);
const Quote = resolve => require(['@/views/List/quote.vue'], resolve);
const Brand = resolve => require(['@/views/Goods/brand.vue'], resolve);
const List = resolve => require(['@/views/Store/list.vue'], resolve);
const ListDetail = resolve => require(['@/views/Store/listDetail.vue'], resolve);
const Enter = resolve => require(['@/views/Store/enter.vue'], resolve);
const Goods = resolve => require(['@/views/Goods/goods.vue'], resolve);
const Message = resolve => require(['@/views/Info/message.vue'], resolve);
const Login = resolve => require(['@/views/User/login.vue'], resolve);
const routes = [
//首页
{
......@@ -11,7 +24,7 @@ const routes = [
meta: {
title: '概况'
},
component: () => import('../views/Index/index.vue')
component: Home
},
{
path: '/inquire',
......@@ -19,7 +32,7 @@ const routes = [
meta: {
title: '询价管理'
},
component: () => import('../views/List/inquire.vue')
component: Inquire
},
{
path: '/inquire/detail',
......@@ -27,7 +40,7 @@ const routes = [
meta: {
title: '报价详情'
},
component: () => import('../views/List/inquireDetail.vue')
component: InquireDetail
},
{
path: '/quote',
......@@ -36,7 +49,7 @@ const routes = [
title: '报价管理'
},
component: () => import('../views/List/quote.vue')
component: Quote
},
{
path: '/brand',
......@@ -45,7 +58,7 @@ const routes = [
title: '品牌列表'
},
component: () => import('../views/Goods/brand.vue')
component: Brand
},
{
path: '/list',
......@@ -54,7 +67,7 @@ const routes = [
title: '库存列表'
},
component: () => import('../views/Store/list.vue')
component: List
},
{
path: '/listDetail',
......@@ -63,7 +76,7 @@ const routes = [
title: '库存导入详情'
},
component: () => import('../views/Store/listDetail.vue')
component: ListDetail
},
......@@ -74,7 +87,7 @@ const routes = [
title: '库存导入'
},
component: () => import('../views/Store/enter.vue')
component: Enter
},
{
path: '/goods',
......@@ -83,7 +96,7 @@ const routes = [
title: '商品列表'
},
component: () => import('../views/Goods/goods.vue')
component: Goods
},
{
path: '/message',
......@@ -92,7 +105,7 @@ const routes = [
title: '基本信息'
},
component: () => import('../views/Info/message.vue')
component: Message
},
......@@ -103,7 +116,7 @@ const routes = [
title: '猎芯网 - 云芯系统登录',
back: true
},
component: () => import('../views/User/login.vue')
component:Login
},
/**错误页面重定向到首页**/
{
......
......@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="http://yunxin.liexindev.net/favicon.ico">
<title>cloudsystem</title>
<link href="http://yunxin.liexindev.net/js/app.js" rel="preload" as="script"></head>
<link href="http://yunxin.liexindev.net/js/0.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/1.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/10.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/11.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/12.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/13.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/14.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/15.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/16.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/17.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/18.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/19.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/2.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/20.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/21.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/22.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/23.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/3.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/4.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/5.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/6.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/7.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/8.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/9.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/app.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>网络异常,请稍后加载</strong>
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
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 sign in to comment