From 5208ae16a508a42be2e4b50ef299389fb556a67e Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期日, 28 四月 2024 09:14:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/platform/calculate-report.js | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/api/platform/calculate-report.js b/src/api/platform/calculate-report.js index dd5da2e..2476358 100644 --- a/src/api/platform/calculate-report.js +++ b/src/api/platform/calculate-report.js @@ -52,10 +52,27 @@ } // 娣诲姞鏍哥畻鎶ュ憡 -export const addCalculateReport = (params) => { +export const addCalculateReport = (data) => { return axios({ url: "/calculate-report/", method: "POST", - data: params + data: data }) } + +// 鍥炲~閲戦 +export const backfill = (data) => { + return axios({ + url: "/calculate-report/backfill/money", + method: "POST", + data: data + }) +} + +// 淇敼鍙戝竷鐘舵�� +export const updatePublishStatus = (data) => { + return axios({ + url: "/calculate-report/status/" + data, + method: "PUT", + }) +} -- Gitblit v1.8.0