Explorar o código

延长数据响应时间

洪海涛 %!s(int64=4) %!d(string=hai) anos
pai
achega
4a5c351db2
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/api/qualityMonthlyReport/edit.js

+ 4 - 0
src/api/qualityMonthlyReport/edit.js

@@ -7,6 +7,7 @@ export function getMonthlyReport(reportId) {
   return request({
     url: projectManagementUrl + '/monthlyReport/get',
     method: 'get',
+    timeout: '10000',
     params: {
       reportId
     }
@@ -29,6 +30,7 @@ export function updateMonthlyReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/update',
     method: 'post',
+    timeout: '10000',
     data
   })
 }
@@ -38,6 +40,7 @@ export function updateSubReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/subReport/update',
     method: 'post',
+    timeout: '10000',
     data
   })
 }
@@ -107,6 +110,7 @@ export function getSubReport(params) {
   return request({
     url: projectManagementUrl + '/monthlyReport/subReport/get',
     method: 'get',
+    timeout: '10000',
     params
   })
 }