From 89fd9ab312c0aef9fcab89fbbaee4add5baa7c57 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期二, 27 十月 2026 09:43:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue b/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue
index 043938a..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 => {
})
--
Gitblit v1.9.3