From 8fb7cc0325027caa4ed7574443e24f5bd7a8efb7 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 02 九月 2024 23:09:45 +0800 Subject: [PATCH] 考核结果图表bug,登录路由权限控制 --- 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