From e34fecc77ffe5df8c72f09d5b63fb903d6c59e8a Mon Sep 17 00:00:00 2001 From: pengwei Date: Fri, 10 Oct 2025 16:10:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fit:=E4=B8=8A=E4=BC=A0=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=AE=BE=E7=BD=AE=E4=B8=BA=E4=B8=80=E5=88=86?= =?UTF-8?q?=E9=92=9F=20&=20=E7=9D=A3=E5=AF=9F=E6=8A=A5=E5=91=8A=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E8=8E=B7=E5=8F=96=E5=A4=B1=E8=B4=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/file/upload.vue | 1 + src/views/superviseReport/superviseReport.vue | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/file/upload.vue b/src/components/file/upload.vue index 59e65b0..38cf66c 100644 --- a/src/components/file/upload.vue +++ b/src/components/file/upload.vue @@ -4,6 +4,7 @@ :action="`${BASE_PATH}/file/upload`" :headers="{ Authorization: getToken() }" multiple + :timeout="60000" :drag="uploadDrag" :before-upload="beforeUpload" @progress="uploadProgress" diff --git a/src/views/superviseReport/superviseReport.vue b/src/views/superviseReport/superviseReport.vue index 3a10e0c..d6b9309 100644 --- a/src/views/superviseReport/superviseReport.vue +++ b/src/views/superviseReport/superviseReport.vue @@ -124,12 +124,10 @@ const closeAdd =()=>{ } watch(()=>editRow.value.files,(val)=>{ console.log(val) - if(val){ - console.log(val[0]?.fileName.split(".")[0]) + if(val && val[0]?.fileName){ editRow.value.reportName = val[0]?.fileName.split(".")[0] } - -}) +},{deep:true,immediate:true}) From 65be5f0769aa86fe419db554237453d6e53c3ab5 Mon Sep 17 00:00:00 2001 From: pengwei Date: Fri, 10 Oct 2025 16:23:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fit:=20=E9=99=84=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/file/list.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/file/list.vue b/src/components/file/list.vue index adeb3f6..eb67791 100644 --- a/src/components/file/list.vue +++ b/src/components/file/list.vue @@ -24,8 +24,8 @@ > - +
- {{ item.fileName }} + + {{ item.fileName }} +
@@ -349,7 +351,7 @@ function rotateRight() { margin: 2px; .item { width: 80px; - height: 80px; + height: 120px; margin-bottom: 12px; border-radius: 2px; color: var(--primary-color);