From 3c6bdb6f439ff7af04765259fd6a91b6d201d095 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 17:12:25 +0800 Subject: [PATCH] 工单,数据中心用户查看数据的权限,合同考核每日,以及导出每日和按月 --- src/api/platform/calculate-report.js | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/api/platform/calculate-report.js b/src/api/platform/calculate-report.js index ff75519..b3363ea 100644 --- a/src/api/platform/calculate-report.js +++ b/src/api/platform/calculate-report.js @@ -18,9 +18,9 @@ } // 閫氳繃id鑾峰彇鏍哥畻鎶ュ憡 -export const getCalculateReportById = (params) => { +export const getCalculateReportById = (contractId,whichYear,whichMoth) => { return axios({ - url: "/calculate-report/" + params, + url: "/calculate-report/" + contractId+"/"+whichYear+"/"+whichMoth, method: "GET" }) } @@ -68,3 +68,18 @@ data: data }) } + +// 淇敼鍙戝竷鐘舵�� +export const updatePublishStatus = (contractId,whichYear) => { + return axios({ + url: "/calculate-report/status/" + contractId+"/"+whichYear, + method: "PUT", + }) +} +// 淇敼鍙戝竷鐘舵�� + export const updatePublishStatusById = (id,status) => { + return axios({ + url: "/calculate-report/status/detail/"+ id+"/"+status, + method: "PUT", + }) +} -- Gitblit v1.8.0