From db16c0207818437ddd711bcc0778667ba8d9fcc4 Mon Sep 17 00:00:00 2001 From: 展杰 <1240968267@qq.com> Date: 星期三, 03 七月 2024 14:14:44 +0800 Subject: [PATCH] Merge branch 'master' of https://gitcode.net/csddngb/hk_pda_vue --- api/inspection.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/api/inspection.js b/api/inspection.js index 5be2256..bb76c01 100644 --- a/api/inspection.js +++ b/api/inspection.js @@ -47,4 +47,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