From fe48637b8197e55cb2b454f79d29dab88bd5f7dd Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期三, 28 九月 2022 16:03:47 +0800 Subject: [PATCH] 'xiugai' --- src/api/safetySelfInspection.js | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/api/safetySelfInspection.js b/src/api/safetySelfInspection.js index 1d19e81..95d743e 100644 --- a/src/api/safetySelfInspection.js +++ b/src/api/safetySelfInspection.js @@ -106,4 +106,26 @@ method: 'post', data }) -} \ No newline at end of file +} + +export function safetyInspectionItemId(data) { + return request({ + headers:{ + 'Authorization': getToken() + }, + url: process.env.BASE_API+'/safetyInspectionItem/info', + method: 'post', + data + }) +} + +export function safetySelfInspectionFinish(data) { + return request({ + headers:{ + 'Authorization': getToken() + }, + url: process.env.BASE_API+'/safetySelfInspection/finish', + method: 'post', + data + }) +} -- Gitblit v1.9.2