gongchunyi
8 小时以前 efaf84576990daddeff16875624bd1c46dafecfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// 首页接口
import request from '@/utils/request'
 
// 销售-采购-库存数据
export const getBusiness = () => {
    return request({
        url: '/home/business',
        method: 'get'
    })
}
// 客户合同金额分析
export const analysisCustomerContractAmounts = () => {
    return request({
        url: '/home/analysisCustomerContractAmounts',
        method: 'get'
    })
}
// 质检分析
export const qualityStatistics = () => {
    return request({
        url: '/home/qualityStatistics',
        method: 'get'
    })
}
// 应收应付统计
export const statisticsReceivablePayable = (query) => {
    return request({
        url: '/home/statisticsReceivablePayable',
        method: 'get',
        params: query
    })
}
// 待办事项
export const homeTodos = () => {
    return request({
        url: '/home/todos',
        method: 'get'
    })
}
 
// 线形图
export const getAmountHalfYear = () => {
    return request({
        url: '/sales/ledger/getAmountHalfYear',
        method: 'get'
    })
}
 
// 各生产订单的完成进度统计
// /home/progressStatistics
export const getProgressStatistics = ()=>{
    return request({
        url: '/home/progressStatistics',
        method: 'get'
    })
}
 
//在制品周转情况
//home/workInProcessTurnover
export const getWorkInProcessTurnover = () => {
    return request({
        url: '/home/workInProcessTurnover',
        method: 'get'
    })
}
 
// 客户营收贡献数值分析
export const customerRevenueAnalysis = (params) => {
    return request({
        url: '/home/customerRevenueAnalysis',
        method: 'get',
        params
    })
}
 
// 员工-客户-供应商总数
export const summaryStatistics = () => {
    return request({
        url: '/home/summaryStatistics',
        method: 'get'
    })
}
 
// 各部门人员分布
export const deptStaffDistribution = () => {
    return request({
        url: '/home/deptStaffDistribution',
        method: 'get'
    })
}
 
// 供应商采购排名
export const supplierPurchaseRanking = (query) => {
    return request({
        url: '/home/supplierPurchaseRanking',
        method: 'get',
        params: query
    })
}
 
// 客户金额贡献排名
export const customerContributionRanking = (query) => {
    return request({
        url: '/home/customerContributionRanking',
        method: 'get',
        params: query
    })
}
 
// 各产品大类分布
export const productCategoryDistribution = () => {
    return request({
        url: '/home/productCategoryDistribution',
        method: 'get'
    })
}
 
// 产品大类分布
// /home/productCategoryDistribution
export const productCategoryDistribution = () => {
    return request({
        url: '/home/productCategoryDistribution',
        method: 'get'
    })
}