From 58f1c5870a8a02b3b858eb7e6714397c731c510f Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 25 三月 2025 15:48:08 +0800 Subject: [PATCH] 新增无录像列 --- src/api/platform/calculate-report.js | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/api/platform/calculate-report.js b/src/api/platform/calculate-report.js index 2476358..ad1650f 100644 --- a/src/api/platform/calculate-report.js +++ b/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" }) } @@ -70,9 +70,16 @@ } // 淇敼鍙戝竷鐘舵�� -export const updatePublishStatus = (data) => { +export const updatePublishStatus = (contractId,whichYear) => { return axios({ - url: "/calculate-report/status/" + data, + url: "/calculate-report/status/" + contractId+"/"+whichYear, method: "PUT", }) } +// 淇敼鍙戝竷鐘舵�� + export const updatePublishStatusById = (id,status) => { + return axios({ + url: "/calculate-report/status/detail/"+ id+"/"+status, + method: "PUT", + }) +} -- Gitblit v1.8.0