洪海涛 4 жил өмнө
parent
commit
4a5c351db2

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

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