From 87a6d28214429a90ac6920ad0bf4302aa5935f64 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 29 Feb 2024 09:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 2 ++ .../Detail/src/DetailDeviceLedger.vue | 1 + src/components/UploadFile/src/UploadFile.vue | 20 +++++++++++++++++-- src/views/eam/device/problemSolving/index.vue | 7 +++++++ .../problemSolving/problemSolving.data.ts | 3 +-- 5 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 8cc85c7..831eb70 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -380,8 +380,10 @@ const open = async (type: string, row?: any, masterParmas?: any) => { formLoading.value = true try { nextTick(() => { + console.log('row11',row) formRef.value.setValues(row) }) + } finally { formLoading.value = false } diff --git a/src/components/Detail/src/DetailDeviceLedger.vue b/src/components/Detail/src/DetailDeviceLedger.vue index 0d352d6..cf0a09a 100644 --- a/src/components/Detail/src/DetailDeviceLedger.vue +++ b/src/components/Detail/src/DetailDeviceLedger.vue @@ -594,6 +594,7 @@ const getImage = () => { if (imageParmas.value.funcCode == 'device_mould_picture') { imageFormData.value.filePathList = res } else { + console.log(444,res) fileFormData.value.filePathList = res formKey.value += 1 } diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue index 464a54a..2047ff7 100644 --- a/src/components/UploadFile/src/UploadFile.vue +++ b/src/components/UploadFile/src/UploadFile.vue @@ -6,7 +6,7 @@ name="file" v-model="valueRef" v-model:file-list="fileList" - :show-file-list="true" + :show-file-list="isShowFileList" :auto-upload="autoUpload" :action="updateUrl" :headers="uploadHeaders" @@ -28,6 +28,7 @@
格式为 {{ fileType.join('/') }} 的文件
+