This commit is contained in:
BianLzhaoMin 2025-11-19 13:34:59 +08:00
parent db33507392
commit b4ec0b6805
2 changed files with 9 additions and 10 deletions

View File

@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 10000,
timeout: 60000,
})
// request拦截器

View File

@ -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`,
)
},
//