From 137bf2c0666b60cfc0d98b1a9ca7ead860ee4e7c Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 28 十月 2026 17:57:29 +0800
Subject: [PATCH] feat(device,supply,satisfaction): 设备计划改造、耗材采购调整与满意度照片上传

---
 src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue b/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue
index 8087746..6a07f31 100644
--- a/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue
+++ b/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue
@@ -124,6 +124,7 @@
     // 鍒囨崲鏁版嵁鏌ョ湅tab鏍�
     handleDataVisibleTab(m, i) {
       this.dataVisibleIndex = i
+      this.pageFile.current = 1
       this.getFileList()
     },
     // 鏌ヨ鍥炶皟
@@ -134,7 +135,7 @@
         this.entity.insOrderId = this.filesLookInfo.quarterOrderId
       }
       this.tableLoadingFile = true
-      const params = { ...this.entity }
+      const params = { ...this.entity, current: this.pageFile.current, size: this.pageFile.size }
       getFileList(params).then(res => {
         this.tableLoadingFile = false
         if (res.code === 200) {
@@ -146,13 +147,14 @@
       })
     },
     paginationFile(page) {
+      this.pageFile.current = page.page
       this.pageFile.size = page.limit
       this.getFileList()
     },
     // 涓嬭浇
     handleDown(row) {
       downFile({ id: row.id, }).then(res => {
-        this.$download.saveAs(res.data.fileUrl, row.fileName);
+        return this.$download.attachment(res.data, row.fileName);
       }).catch(error => {
 
       })
@@ -222,8 +224,8 @@
   line-height: 24px;
   padding: 6px 14px;
   font-size: 14px;
-  color: #333333;
-  border: 1px solid #EEEEEE;
+  color: var(--lims-text);
+  border: 1px solid var(--lims-divider);
   cursor: pointer;
 }
 

--
Gitblit v1.9.3