From b58f53769f004fb0ba6b5aedf55ef602850c7c97 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 20 九月 2026 15:46:05 +0800
Subject: [PATCH] 天津豹鸣app 1.部署修改
---
src/api/qualityManagement/inspectionReport.js | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/src/api/qualityManagement/inspectionReport.js b/src/api/qualityManagement/inspectionReport.js
new file mode 100644
index 0000000..49601f2
--- /dev/null
+++ b/src/api/qualityManagement/inspectionReport.js
@@ -0,0 +1,44 @@
+import request from "@/utils/request";
+
+// 鏌ヨ鎶ュ憡鍒楄〃
+export function listInspectionReport(query) {
+ return request({
+ url: "/quality/inspectionReport/listPage",
+ method: "get",
+ params: query,
+ });
+}
+
+// 鏌ヨ鎶ュ憡璇︾粏
+export function getInspectionReport(id) {
+ return request({
+ url: `/quality/inspectionReport/${id}`,
+ method: "get",
+ });
+}
+
+// 鏂板鎶ュ憡
+export function addInspectionReport(data) {
+ return request({
+ url: "/quality/inspectionReport",
+ method: "post",
+ data,
+ });
+}
+
+// 淇敼鎶ュ憡
+export function updateInspectionReport(data) {
+ return request({
+ url: "/quality/inspectionReport",
+ method: "put",
+ data,
+ });
+}
+
+// 娉ㄩ攢浣滃簾锛堝悗绔叆鍙備负閫楀彿鍒嗛殧鐨� id 涓诧級
+export function delInspectionReport(ids) {
+ return request({
+ url: `/quality/inspectionReport/${ids}`,
+ method: "delete",
+ });
+}
--
Gitblit v1.9.3