From 6deee3bd8ff645336cfde253289720f94f77dbfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com>
Date: Thu, 23 Mar 2023 14:39:16 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E5=9B=BE=E7=89=87=E6=9F=A5?=
=?UTF-8?q?=E7=9C=8B=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/purchase/supCompany.js | 9 +++
src/views/purchase/cert/supCertAddDialog.vue | 2 +-
.../company/supCompanyAduditDialog.vue | 57 ++++++++++++++++++-
3 files changed, 64 insertions(+), 4 deletions(-)
diff --git a/src/api/purchase/supCompany.js b/src/api/purchase/supCompany.js
index 268c4d3..125f0c4 100644
--- a/src/api/purchase/supCompany.js
+++ b/src/api/purchase/supCompany.js
@@ -164,6 +164,15 @@ export function printSupCertProduction(data) {
});
}
+export function previewImage(data) {
+ return axios({
+ url: "/udiwms/image/register/file",
+ method: "post",
+ data: data
+ });
+}
+
+
diff --git a/src/views/purchase/cert/supCertAddDialog.vue b/src/views/purchase/cert/supCertAddDialog.vue
index 2a6cb5c..5caecf3 100644
--- a/src/views/purchase/cert/supCertAddDialog.vue
+++ b/src/views/purchase/cert/supCertAddDialog.vue
@@ -121,7 +121,7 @@
:on-error="uploadHandleError"
:file-list="fileList"
:data="{type:'image2'}"
- :auto-upload="false">
+ :auto-upload="true">
{{ choiceFile }}
diff --git a/src/views/purchase/company/supCompanyAduditDialog.vue b/src/views/purchase/company/supCompanyAduditDialog.vue
index 68f75b2..41598e7 100644
--- a/src/views/purchase/company/supCompanyAduditDialog.vue
+++ b/src/views/purchase/company/supCompanyAduditDialog.vue
@@ -250,7 +250,8 @@
- 证书预览
+ 证书预览
+
@@ -273,7 +274,14 @@