spring
18 小时以前 cbe874c9dcc0ebbbcb87110c26abf6a6d527cb96
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
// 首页接口
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",
  });
};
// 质检分析(可传 dateType: 1周 2月 3季度)
export const qualityStatistics = (params) => {
  return request({
    url: "/home/qualityStatistics",
    method: "get",
    params,
  });
};
 
// 工单执行效率分析(dateType: 1周 2月 3季度)
export const workOrderEfficiencyAnalysis = (params) => {
  return request({
    url: "/home/workOrderEfficiencyAnalysis",
    method: "get",
    params,
  });
};
 
// 生产核算分析(dateType: 1周 2月 3季度)
export const productionAccountingAnalysis = (params) => {
  return request({
    url: "/home/productionAccountingAnalysis",
    method: "get",
    params,
  });
};
// 应收应付统计
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",
  });
};
 
// 订单数量统计(生产订单数、已完成订单数、待生产订单数)
export const orderCount = () => {
  return request({
    url: "/home/orderCount",
    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",
  });
};
 
// 产品销售金额分析
export const productSalesAnalysis = () => {
  return request({
    url: "/home/productSalesAnalysis",
    method: "get",
  });
};
 
// 工序产出分析(dateType: 1周 2月 3季度)
export const processOutputAnalysis = (params) => {
  return request({
    url: "/home/processOutputAnalysis",
    method: "get",
    params,
  });
};
 
// 原材料采购金额占比
export const rawMaterialPurchaseAmountRatio = () => {
  return request({
    url: "/home/rawMaterialPurchaseAmountRatio",
    method: "get",
  });
};
 
// 费用构成分析(type: 1 或 2)
export const expenseCompositionAnalysis = (params) => {
  return request({
    url: "/home/expenseCompositionAnalysis",
    method: "get",
    params,
  });
};
 
// 销售/采购/储存产品数
export const salesPurchaseStorageProductCount = () => {
  return request({
    url: "/home/salesPurchaseStorageProductCount",
    method: "get",
  });
};
 
// 产品出入库分析(可传 productType: 1 原材料 2 半成品 3 成品)
export const productInOutAnalysis = (params) => {
  return request({
    url: "/home/productInOutAnalysis",
    method: "get",
    params,
  });
};
 
// 投入产出分析
export const inputOutputAnalysis = (params) => {
  return request({
    url: "/home/inputOutputAnalysis",
    method: "get",
    params,
  });
};
 
// 产品周转天数
export const productTurnoverDays = () => {
  return request({
    url: "/home/productTurnoverDays",
    method: "get",
  });
};
 
// 收支对比分析
export const incomeExpenseAnalysis = () => {
  return request({
    url: "/home/incomeExpenseAnalysis",
    method: "get",
  });
};
 
// 利润趋势分析
export const profitTrendAnalysis = () => {
  return request({
    url: "/home/profitTrendAnalysis",
    method: "get",
  });
};
 
// 月度收入
export const getMonthlyIncome = () => {
  return request({
    url: "/home/monthlyIncome",
    method: "get",
  });
};
 
// 月度支出
export const getMonthlyExpenditure = () => {
  return request({
    url: "/home/monthlyExpenditure",
    method: "get",
  });
};