From b4ec0b68058728958ab1d805ec166cb62cf03bc3 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 19 Nov 2025 13:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- .../docCenter/components/rightTable.vue | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index a160123..44ee33c 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000, + timeout: 60000, }) // request拦截器 diff --git a/src/views/publicService/docCenter/components/rightTable.vue b/src/views/publicService/docCenter/components/rightTable.vue index 4482c21..ce5509d 100644 --- a/src/views/publicService/docCenter/components/rightTable.vue +++ b/src/views/publicService/docCenter/components/rightTable.vue @@ -558,7 +558,7 @@ export default { this.downloadGet( 'screen/document/downLoad', { - ids: this.selectedRows.map((row) => row.id).join(','), + downIds: this.selectedRows.map((row) => row.id).join(','), }, `文档_${new Date().getTime()}.zip`, ) @@ -566,14 +566,13 @@ export default { // 下载 handleBatchDownload_1(row) { - console.log(row, 9999) - // this.downloadGet( - // 'screen/document/downLoad', - // { - // id: row.id, - // }, - // `文档_${new Date().getTime()}.zip`, - // ) + this.downloadGet( + 'screen/document/downLoad', + { + downIds: row.id, + }, + `文档_${new Date().getTime()}.zip`, + ) }, // 共享