From 043c591be4650cc254e3467e8d5b5d90ed2f9984 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 29 四月 2024 18:00:00 +0800
Subject: [PATCH] Merge branch 'master' into dev-threejs
---
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