From 33fecfe3cfe368fea8f82bfcea3a4e8e20fee38b Mon Sep 17 00:00:00 2001
From: zhoucong <123456>
Date: Tue, 10 May 2022 10:32:00 +0800
Subject: [PATCH] fix
---
src/api/sgyhpczl/hiddenDangerRectification.js | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/api/sgyhpczl/hiddenDangerRectification.js b/src/api/sgyhpczl/hiddenDangerRectification.js
index 914812c..476006b 100644
--- a/src/api/sgyhpczl/hiddenDangerRectification.js
+++ b/src/api/sgyhpczl/hiddenDangerRectification.js
@@ -75,3 +75,29 @@
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,
+ });
+}
--
Gitblit v1.9.2