Commit 19ffd8f4 authored by Inner peace's avatar Inner peace

车船情况

parent a16908a7
......@@ -168,3 +168,5 @@ export const getShipmentDataByArea = (cur_day) => fetch('/api/query/*/action/get
//车船情况
export const getTruckShipConditionData = (department) => fetch('/api/query/*/action/get_truck_ship_condition_data', {}, 'POST');
// 失去客户名单
export const lostUserList = (cur_day) => fetch("/api/query/dash_board/action/get_lost_user_list", {aux: {cur_day: cur_day}}, "POST")
This diff is collapsed.
import Vue from 'vue'
import Router from 'vue-router'
import Index from '../../databoard/index.vue'
import IndexSale from '../../databoard/index_sale'
import IndexSale from '../../market/index-sale.vue'
import ArBar from "../../databoard/components/chart/ar-bar.vue";
import ArCompanyBar from "../../databoard/components/chart/ar-company-bar.vue";
import ArMonthlyBar from "../../databoard/components/chart/ar-monthly-bar.vue";
......@@ -14,88 +14,82 @@ import TargetAchievement from "../../databoard/databoard/target-achievement.vue"
import DepartmentShipment from "../../databoard/databoard/department-shipment.vue";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import SafeQuality from "../../databoard/databoard/safe-quality";
Vue.use(Router)
Vue.use(ElementUI)
export default new Router({
routes: [
{
path: '/',
redirect: '/index'
},
{
path: '/index',
name: 'index',
component: Index
},
{
path: '/index_sale',
name: 'index_sale',
component: IndexSale
},
{
path: '/ar_bar',
name: 'arBar',
component: ArBar,
children: [
routes: [
{
path: '/ar_bar',
redirect: '/ar_bar/company'
path: '/',
redirect: '/index'
},
{
path: '/ar_bar/company',
name: 'arCompanyBar',
component: ArCompanyBar
path: '/index',
name: 'index',
component: Index
},
{
path: '/ar_bar/company/monthly',
name: 'arCompanyMonthlyBar',
component: ArCompanyMonthlyBar
path: '/index-sale',
name: 'index-sale',
component: IndexSale
},
{
path: '/ar_bar/monthly',
name: 'arMonthlyBar',
component: ArMonthlyBar
path: '/ar_bar',
name: 'arBar',
component: ArBar,
children: [
{
path: '/ar_bar',
redirect: '/ar_bar/company'
},
{
path: '/ar_bar/company',
name: 'arCompanyBar',
component: ArCompanyBar
},
{
path: '/ar_bar/company/monthly',
name: 'arCompanyMonthlyBar',
component: ArCompanyMonthlyBar
},
{
path: '/ar_bar/monthly',
name: 'arMonthlyBar',
component: ArMonthlyBar
},
{
path: '/ar_bar/monthly/company',
name: 'arMonthlyCompanyBar',
component: ArMonthlyCompanyBar
}
]
},
{
path: '/ar_bar/monthly/company',
name: 'arMonthlyCompanyBar',
component: ArMonthlyCompanyBar
path: '/turnover-detail',
name: 'turnoverDetail',
component: TurnoverDetail
},
{
path: '/order-proportion',
name: 'OrderProportion',
component: OrderProportion
},
{
path: '/lost-add-customer',
name: 'lostAddCustomer',
component: LostAddCustomer
},
{
path: '/target-achievement',
name: 'TargetAchievement',
component: TargetAchievement
},
{
path: '/department-shipment',
name: 'DepartmentShipment',
component: DepartmentShipment
}
]
},
{
path: '/turnover-detail',
name: 'turnoverDetail',
component: TurnoverDetail
},
{
path: '/order-proportion',
name: 'OrderProportion',
component: OrderProportion
},
{
path: '/lost-add-customer',
name: 'lostAddCustomer',
component: LostAddCustomer
},
{
path: '/target-achievement',
name: 'TargetAchievement',
component: TargetAchievement
},
{
path: '/department-shipment',
name: 'DepartmentShipment',
component: DepartmentShipment
},
{
path: '/safe-quality',
name: 'safeQuality',
component: SafeQuality
}
]
]
})
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>联达供应链控制塔台</title>
<!-- Google MD图标 -->
<link href="https://cdn.bootcss.com/material-design-icons/3.0.1/iconfont/material-icons.min.css" rel="stylesheet">
</head>
<body>
<div id="app"></div>
</body>
<style>
* {
margin: 0;
padding: 0;
}
body{
min-height: 900px;
min-width: 1440px;
}
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow-y: hidden;
}
</style>
</html>
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './login.vue'
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;
import App from './index.vue'
import router from './router/index_router'
import '../databoard/assets/index.css'
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: {App}
components: { App }
})
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