src/api/viewIndex.js
@@ -110,22 +110,14 @@
};
// 工单执行效率分析(dateType: 1周 2月 3季度)
// export const workOrderEfficiencyAnalysis = (params) => {
//   return request({
//     url: "/home/workOrderEfficiencyAnalysis",
//     method: "get",
//     params,
//   });
// };
// 生产核算分析(dateType: 1周 2月 3季度)
export const productionAccountingAnalysis = (params) => {
export const workOrderEfficiencyAnalysis = (params) => {
  return request({
    url: "/home/productionAccountingAnalysis",
    url: "/home/workOrderEfficiencyAnalysis",
    method: "get",
    params,
  });
};
// 生产核算分析
export const productionAccountingAnalysis = (query) => {
  return request({
@@ -152,12 +144,19 @@
// 线形图
export const getAmountHalfYear = () => {
  return request({
    url: "/sales/ledger/getAmountHalfYear",
    method: "get",
  });
};
    return request({
        url: '/sales/ledger/getAmountHalfYear',
        method: 'get'
    })
}
// 首页-待回款提醒
export const overdueReceivable = () => {
    return request({
        url: '/home/overdueReceivable',
        method: 'get'
    })
}
// 各生产订单的完成进度统计
// /home/progressStatistics
export const getProgressStatistics = () => {