From 9790ff7ecc198ae3bbf10d5e3707a95d60ddab69 Mon Sep 17 00:00:00 2001
From: sjz <1240968267@qq.com>
Date: 星期三, 19 二月 2025 11:54:28 +0800
Subject: [PATCH] 煜昌pad前端
---
api/inspection.js | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/api/inspection.js b/api/inspection.js
index 5be2256..606d62f 100644
--- a/api/inspection.js
+++ b/api/inspection.js
@@ -24,6 +24,18 @@
})
}
+export function getMtInspectionList() {
+ return request({
+ 'url': '/check/getMtInspectionList?userNo=' + uni.getStorageSync('userInfo').code,
+ 'method': 'post',
+ 'header': {
+ 'Content-Type': 'application/json',
+ 'dataType': 'json',
+ 'Accept': 'application/json'
+ }
+ })
+}
+
export function getInspectionInfo(checkNo) {
return request({
'url': '/check/getCheckInfo?checkNo=' + checkNo,
@@ -47,4 +59,28 @@
'Accept': 'application/json'
}
})
+}
+
+export function getBadReason() {
+ return request({
+ 'url': '/check/getBadReason?userNo=' + uni.getStorageSync('userInfo').code,
+ 'method': 'post',
+ 'header': {
+ 'Content-Type': 'application/json',
+ 'dataType': 'json',
+ 'Accept': 'application/json'
+ }
+ })
+}
+
+export function generateInfo(checkNo) {
+ return request({
+ 'url': '/check/generateInfo?checkNo=' + checkNo,
+ 'method': 'post',
+ 'header': {
+ 'Content-Type': 'application/json',
+ 'dataType': 'json',
+ 'Accept': 'application/json'
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3