张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
/**
  * 数据分析
*/
import axios from '../request';
export default{
  /**
   * 生产统计对比
  */
 
  // 查询钢筋笼生产实际对比
  searchSteelProducePlan: params =>
    axios.post('/m/steelProduce/monthProduce', params),
  // 查询管片生产实际对比
  searchPipeComparePlan: params =>
    axios.post('m/pipeInfo/pipeComparePlan', params),
  // 查询管片月环比
  searchPipeMonthPlan: params =>
    axios.post('m/pipeInfo/pipeMonth', params),
  
  /**
   * 物资消耗统计中的(原材料消耗)
   */
  // 查询原料消耗
  searchMaterialCost: params =>
    axios.post('/materials/mixingstationstorage/RsbStat', params),
 
  /**
   * 物资消耗统计中的(钢筋消耗)
   */
  //查询钢筋消耗
  searchRebarCost: params =>
    axios.post('/materials/record/recordStatistics', params),
  //导出按钮
  exportRebarCost: (params) =>
    axios({
      method: 'post',
      url: '/materials/record/recordStatisticsExcel',
      responseType: 'blob',
      data: params
    }),
  //查询钢筋数据统计
  searchAnalyse: params =>
    axios.post('/materials/record/recordSum', params),
  
 
  /**
   * 物资消耗统计中的(辅材消耗)
   */
  //查询辅材消耗
  searchAuxilliaryCost: params =>
    axios.post('/materials/assistRecord/assistStatistics', params),
  //导出按钮
  exportAuxilliaryCost: (params) =>
    axios({
      method: 'post',
      url: '/materials/assistRecord/assistStatisticsExcel',
      responseType: 'blob',
      data: params
    }),
  //物品名称下拉
  auxilliaryCostList: params =>
    axios.get('/materials/assistRecord/assistRecordPull', {params}),
 
  /**
   * 生产发运统计
   */
  //查询数据统计
  searchDataLists: params =>
    axios.post('/materials/pipeOut/pipeOutShippingSum', params),
  //运输量排行
  searchRanksForward: params =>
    axios.post('/materials/pipeOut/pipeOutRanking', params),
}