From 057c13502ecedf49d85d47ab23f3492859f16653 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 29 十一月 2025 10:43:15 +0800
Subject: [PATCH] fix: 技术文件变更时,生产就不能继续报工了。
---
src/api/product/manage.ts | 45 ++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 40 insertions(+), 5 deletions(-)
diff --git a/src/api/product/manage.ts b/src/api/product/manage.ts
index bdbc5aa..e0a6c5b 100644
--- a/src/api/product/manage.ts
+++ b/src/api/product/manage.ts
@@ -29,11 +29,37 @@
},
// 鏌ヨ鑷淇℃伅
- getSelfInspection(params: any) {
- return request<BaseResult<any>>({
- url: "/app/getSelfInspection",
- method: "GET",
- data: params,
+ getSelfInspection(data: any) {
+ return request<BaseResult<any[]>>({
+ url: "/wireInspection/getDrawInspectInfoListByGetDrawInspect",
+ method: "POST",
+ data: data,
+ });
+ },
+
+ // 鏂板鑷
+ addSelfInspection(data: any) {
+ return request<BaseResult<any[]>>({
+ url: "/wireInspection/saveDrawInspectionRecord",
+ method: "POST",
+ data: data,
+ });
+ },
+
+ // 鍒犻櫎鑷
+ deleteSelfInspection(ids: string | number) {
+ return request<BaseResult<any[]>>({
+ url: `/wireInspection/deleteDrawWireInspectionRecord/${ids}`,
+ method: "POST",
+ });
+ },
+
+ // 鑾峰彇鑷鏍峰紡鏁版嵁
+ getDrawInspectStyleByGetDrawInspect(data: any) {
+ return request<BaseResult<any[]>>({
+ url: "/wireInspection/getDrawInspectStyleByGetDrawInspect",
+ method: "POST",
+ data: data,
});
},
@@ -96,6 +122,15 @@
method: "GET",
});
},
+
+ // 鑾峰彇鐢熶骇缁熻
+ getProductStatistics(params: any) {
+ return request<BaseResult<any>>({
+ url: "/app/getProductStatistics",
+ method: "GET",
+ data: params,
+ });
+ },
};
export default ManageApi;
--
Gitblit v1.9.3