Commit 261d1b66 authored by xuzhuo's avatar xuzhuo

新增营销大屏

parent ed735071
...@@ -63,6 +63,8 @@ export const getAccountSituation = (cur_day) => fetch("/api/query/dash_board/act ...@@ -63,6 +63,8 @@ export const getAccountSituation = (cur_day) => fetch("/api/query/dash_board/act
}, "POST") }, "POST")
// 应收账款列表 // 应收账款列表
export const arCompanyList = () => fetch("/api/query/dash_board/action/get_ar_company_list", {}, "POST") export const arCompanyList = () => fetch("/api/query/dash_board/action/get_ar_company_list", {}, "POST")
// 失去客户名单
export const lostUserList = (cur_day) => fetch("/api/query/dash_board/action/get_lost_user_list", {aux: {cur_day: cur_day}}, "POST")
// 应收账款(结算单位) // 应收账款(结算单位)
export const arCompanyBar = () => fetch("/api/query/dash_board/action/get_ar_company_bar", {}, "POST") export const arCompanyBar = () => fetch("/api/query/dash_board/action/get_ar_company_bar", {}, "POST")
// 应收账款(开票月份) // 应收账款(开票月份)
...@@ -158,5 +160,12 @@ export const getDepartmentTargetWeight = (department_code, year) => fetch('/api/ ...@@ -158,5 +160,12 @@ export const getDepartmentTargetWeight = (department_code, year) => fetch('/api/
} }
}, 'POST'); }, 'POST');
//首页区域完成量
export const getShipmentDataByArea = (cur_day) => fetch('/api/query/*/action/get_shipment_data_by_area', {
aux: {
cur_day: cur_day
}
}, 'POST');
This diff is collapsed.
import Vue from 'vue' import Vue from 'vue'
import Router from 'vue-router' import Router from 'vue-router'
import Index from '../../databoard/index.vue' import Index from '../../databoard/index.vue'
import IndexSale from '../../databoard/index_sale'
import ArBar from "../../databoard/components/chart/ar-bar.vue"; import ArBar from "../../databoard/components/chart/ar-bar.vue";
import ArCompanyBar from "../../databoard/components/chart/ar-company-bar.vue"; import ArCompanyBar from "../../databoard/components/chart/ar-company-bar.vue";
import ArMonthlyBar from "../../databoard/components/chart/ar-monthly-bar.vue"; import ArMonthlyBar from "../../databoard/components/chart/ar-monthly-bar.vue";
...@@ -30,6 +31,11 @@ export default new Router({ ...@@ -30,6 +31,11 @@ export default new Router({
name: 'index', name: 'index',
component: Index component: Index
}, },
{
path: '/index_sale',
name: 'index_sale',
component: IndexSale
},
{ {
path: '/ar_bar', path: '/ar_bar',
name: 'arBar', name: 'arBar',
......
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