fuliqi
2025-01-06 4a29f490dfbbb10b70c32d3944a33961040f5910
src/api/platform/calculate-report.js
@@ -18,9 +18,9 @@
}
// 通过id获取核算报告
export const getCalculateReportById = (params) => {
export const getCalculateReportById = (contractId,whichYear) => {
    return axios({
        url: "/calculate-report/" + params,
        url: "/calculate-report/" + contractId+"/"+whichYear,
        method: "GET"
    })
}
@@ -68,3 +68,18 @@
    data: data
  })
}
// 修改发布状态
export const updatePublishStatus =  (contractId,whichYear) => {
  return axios({
    url: "/calculate-report/status/" + contractId+"/"+whichYear,
    method: "PUT",
  })
}
// 修改发布状态
  export const updatePublishStatusById =  (id,status) => {
    return axios({
      url: "/calculate-report/status/detail/"+ id+"/"+status,
      method: "PUT",
    })
}