From 037a7112a2bc9e38bb2f398ff5ca740ac01a8fb2 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 20 二月 2025 10:21:05 +0800 Subject: [PATCH] 检验任务搬迁30% --- src/api/business/inspectionTask.js | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 162 insertions(+), 0 deletions(-) diff --git a/src/api/business/inspectionTask.js b/src/api/business/inspectionTask.js index 7efcdea..d8704f6 100644 --- a/src/api/business/inspectionTask.js +++ b/src/api/business/inspectionTask.js @@ -107,3 +107,165 @@ params: query, }); } + +// 闄勪欢涓婁紶 +export function uploadFile(data) { + return request({ + url: "/insOrderPlan/uploadFile", + method: "post", + data: data, + }); +} + +// 鏌ヨ妫�楠屼换鍔� +export function doInsOrder(query) { + return request({ + url: "/insOrderPlan/doInsOrder", + method: "get", + params: query, + }); +} + +// 鏌ヨ鏄惁鏈夐渶瑕佸娆℃楠岀殑鐢电紗閰嶇疆 +export function getCableTag(query) { + return request({ + url: "/insOrderPlan/getCableTag", + method: "get", + params: query, + }); +} + +// 鏌ョ湅閲嶅鏍囪瘑 +export function getRepetitionTag(query) { + return request({ + url: "/insOrderPlan/getRepetitionTag", + method: "get", + params: query, + }); +} + +// 鏌ヨ鏄惁鏈夐渶瑕佸娆℃楠岀殑鐢电紗閰嶇疆 +export function getRawMaterialTag(query) { + return request({ + url: "/insOrderPlan/getRawMaterialTag", + method: "get", + params: query, + }); +} + +// 鏁伴噰-鏁版嵁閲囬泦 +export function dataCollection(data) { + return request({ + url: "/deviceScope/dataCollection", + method: "post", + data: data, + }); +} + +// 濉啓娓╁害涓庢箍搴� +export function write(data) { + return request({ + url: "/insOrderPlan/write", + method: "post", + data: data, + }); +} + +// 鑾峰彇妫�楠岄」鐩拰妯℃澘鍐呭 +export function getInsProduct(query) { + return request({ + url: "/insOrderPlan/getInsProduct", + method: "get", + params: query, + }); +} + +// 鍒囨崲鍏夌氦-鍏夌氦甯﹁褰曟ā鐗堟煡璇㈡楠屽唴瀹� +export function getReportModel(query) { + return request({ + url: "/insOrderPlan/getReportModel", + method: "get", + params: query, + }); +} + +// 鍒ゆ柇璇ヨ澶囨槸鍚﹀彲浠ユ暟閲� +export function determineWhetherToCollectData(query) { + return request({ + url: "/deviceScope/determineWhetherToCollectData", + method: "get", + params: query, + }); +} + +// 閫氳繃璁惧鍒嗙被鑾峰彇璁惧鍒楄〃 +export function search(query) { + return request({ + url: "/deviceScope/search", + method: "get", + params: query, + }); +} + +// 澶嶆牳妫�楠屼换鍔� +export function verifyPlan(data) { + return request({ + url: "/insOrderPlan/verifyPlan", + method: "post", + data: data, + }); +} + +// 鏍¢獙妫�楠屼换鍔℃彁浜� +export function checkSubmitPlan(data) { + return request({ + url: "/insOrderPlan/checkSubmitPlan", + method: "post", + data: data, + }); +} + +// 妫�楠屼换鍔℃彁浜� +export function submitPlan(data) { + return request({ + url: "/insOrderPlan/submitPlan", + method: "post", + data: data, + }); +} + +// 淇濆瓨妫�楠屽唴瀹� +export function saveInsContext(data) { + return request({ + url: "/insOrderPlan/saveInsContext", + method: "post", + data: data, + }); +} + +// 闄勪欢涓嬭浇 +export function downFile(query) { + return request({ + url: "/insOrderPlan/downFile", + method: "get", + params: query, + }); +} + +// 鏌ョ湅妫�楠屽崟涓嬬殑闄勪欢鍒楄〃 +export function getFileList(query) { + return request({ + url: "/insOrderPlan/getFileList", + method: "get", + params: query, + }); +} + +// 闄勪欢鍒犻櫎 +export function delfile(query) { + return request({ + url: "/insOrderPlan/delfile", + method: "delete", + params: query, + }); +} -- Gitblit v1.9.3