From 02aa50f23d4858798a951bef1cfe2bc23031a4b1 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 26 四月 2024 16:11:46 +0800
Subject: [PATCH] 合同导入新增金额规则

---
 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