From 5095b4d4603a208aafc6d1c74c570ffd38c134c5 Mon Sep 17 00:00:00 2001 From: 13937891274 <kxc0822> Date: 星期五, 13 五月 2022 17:48:43 +0800 Subject: [PATCH] 内部举一反三-发送弹窗 --- src/api/sgyhpczl/hiddenDangerRectification.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/src/api/sgyhpczl/hiddenDangerRectification.js b/src/api/sgyhpczl/hiddenDangerRectification.js index 914812c..172de8b 100644 --- a/src/api/sgyhpczl/hiddenDangerRectification.js +++ b/src/api/sgyhpczl/hiddenDangerRectification.js @@ -75,3 +75,42 @@ data }); } +export function uploadFile(data) { + return request({ + headers:{ + 'token': getTokenAndVerify().token, + 'verify':getTokenAndVerify().verify + }, + url: "/taboi/file/upload_do", + contentType: "multipart/form-data", + method: 'POST', + data, + }); +} + +//保存延期申请 +export function saveDelayApply(data) { + return request({ + headers:{ + 'token': getTokenAndVerify().token, + 'verify':getTokenAndVerify().verify + }, + url: "/taboi/danger/delay_do", + contentType: "application/json", + method: 'POST', + data, + }); +} + +export function danger_export_do(data) { + return request({ + headers: { + 'token': getTokenAndVerify().token, + 'verify': getTokenAndVerify().verify + }, + url: '/taboi/excel/danger_export_do', + method: 'post', + responseType: 'arraybuffer', + data + }); +} -- Gitblit v1.9.2