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/qualityInspectFile.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/api/qualityManagement/qualityInspectFile.js b/src/api/qualityManagement/qualityInspectFile.js
new file mode 100644
index 0000000..20b0ef6
--- /dev/null
+++ b/src/api/qualityManagement/qualityInspectFile.js
@@ -0,0 +1,13 @@
+/**
+ * 鍑哄巶妫�楠屾姤鍛婃枃浠讹紙闇�姹備節.4锛�
+ *
+ * /quality/qualityInspect/downPdf 鏄� POST + body 杩斿洖浜岃繘鍒讹紝鑰岋細
+ * request.ts 涓嶉�忎紶 responseType锛堜細鎶婁簩杩涘埗褰� JSON 瑙f瀽锛�
+ * uni.downloadFile 鍙敮鎸� GET
+ * 鎵�浠ヨ繖閲屼笉璧� request锛岀洿鎺ヤ氦缁� utils/file 鐨� downloadFileByPost 钀界洏鍐� openDocument銆�
+ */
+import { downloadFileByPost } from "@/utils/file";
+
+export function downloadQualityInspectPdf(id, fileName = "鍑哄巶妫�楠屾姤鍛�.pdf") {
+ return downloadFileByPost("/quality/qualityInspect/downPdf", { id }, fileName);
+}
--
Gitblit v1.9.3