From 7058245cdf4ad547958b51d5a62ad91dc5c571b7 Mon Sep 17 00:00:00 2001 From: liuzhu Date: Thu, 5 Mar 2026 14:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E6=96=B0=E5=A2=9E=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E5=AF=BC=E5=85=A5=E7=85=A7=E7=89=87=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/material/materialInfo.ts | 5 ++ src/views/material/PhotosImport.vue | 134 ++++++++++++++++++++++++++++ src/views/material/index.vue | 12 ++- src/views/system/user/index.vue | 7 +- 4 files changed, 151 insertions(+), 7 deletions(-) create mode 100644 src/views/material/PhotosImport.vue diff --git a/src/apis/material/materialInfo.ts b/src/apis/material/materialInfo.ts index c8efedd..21f5109 100644 --- a/src/apis/material/materialInfo.ts +++ b/src/apis/material/materialInfo.ts @@ -77,3 +77,8 @@ export function parseImportMaterial(data: FormData) { export function importMaterial(data: any) { return http.post(`${BASE_URL}/import`, data) } + +/** @desc 解析物料信息导入数据 */ +export function uploadMaterialPhotos(data: FormData) { + return http.post(`${BASE_URL}/import/uploadMaterialPhotos`, data) +} diff --git a/src/views/material/PhotosImport.vue b/src/views/material/PhotosImport.vue new file mode 100644 index 0000000..3d89809 --- /dev/null +++ b/src/views/material/PhotosImport.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/material/index.vue b/src/views/material/index.vue index 028b77f..28393ee 100644 --- a/src/views/material/index.vue +++ b/src/views/material/index.vue @@ -33,8 +33,11 @@ + + + + -