From 16eb67ab6b103663d30cad9ba74360f982e131cb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 九月 2024 10:34:59 +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