Ver Fonte

延长数据响应时间

洪海涛 há 4 anos atrás
pai
commit
4a5c351db2
1 ficheiros alterados com 4 adições e 0 exclusões
  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
   })
 }