From cc06bb52cedbb01e2659c50ccb8714b2fbd21531 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 24 四月 2026 16:11:53 +0800
Subject: [PATCH] 优化文件访问URL的处理逻辑,新增对视频文件的判断,简化文件类型检查,提升文件预览功能的稳定性和可读性。

---
 src/api/qualityManagement/materialInspection.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/api/qualityManagement/materialInspection.js b/src/api/qualityManagement/materialInspection.js
index 13c7efe..6f458b4 100644
--- a/src/api/qualityManagement/materialInspection.js
+++ b/src/api/qualityManagement/materialInspection.js
@@ -154,4 +154,13 @@
         method: 'delete',
         data: query,
     })
+}
+
+
+// 宸ュ簭鏌ヨ
+export function list() {
+    return request({
+        url: "/productProcess/list",
+        method: "get",
+    });
 }
\ No newline at end of file

--
Gitblit v1.9.3