Browse Source

月报2.0改造(5.8)

洪海涛 4 năm trước cách đây
mục cha
commit
47e31390dd
1 tập tin đã thay đổi với 10 bổ sung4 xóa
  1. 10 4
      src/api/qualityMonthlyReport/edit.js

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

@@ -20,6 +20,7 @@ export function delMonthlyReport(reportId) {
   return request({
     url: projectManagementUrl + '/monthlyReport/delete',
     method: 'get',
+    timeout: '100000',
     params: {
       reportId
     }
@@ -67,6 +68,7 @@ export function updateAnalyticFeedback(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/updateAnalyticFeedback',
     method: 'post',
+    timeout: '100000',
     data
   })
 }
@@ -105,6 +107,7 @@ export function sendSubConfirm(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/confirm',
     method: 'post',
+    timeout: '100000',
     data
   })
 }
@@ -114,6 +117,7 @@ export function returnReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/returnReport',
     method: 'post',
+    timeout: '100000',
     data
   })
 }
@@ -132,6 +136,7 @@ export function publishReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/publish',
     method: 'post',
+    timeout: '100000',
     data
   })
 }
@@ -150,7 +155,7 @@ export function pullDataAgain(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/pullDataAgain',
     method: 'post',
-    timeout: '20000',
+    timeout: '100000',
     data
   })
 }
@@ -159,6 +164,7 @@ export function pullDataAgain(data) {
 export function getOverallOverview(reportId) {
   return request({
     url: projectManagementUrl + '/monthlyReport/getOverallOverview?reportId=' + reportId,
+    timeout: '100000',
     method: 'get'
   })
 }
@@ -203,7 +209,7 @@ export function getDeptCharge(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/getDeptCharge',
     method: 'post',
-    timeout: '20000',
+    timeout: '100000',
     data
   })
 }
@@ -212,7 +218,7 @@ export function getDeptCharge(data) {
 export function downloadMonthlyReport(reportId) {
   return request({
     url: projectManagementUrl + '/monthlyReport/downloadMonthlyReport?id=' + reportId,
-    timeout: '200000',
+    timeout: '100000',
     method: 'get'
   })
 }
@@ -222,7 +228,7 @@ export function pullSubTitle(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/pullSubTitle',
     method: 'post',
-    timeout: '20000',
+    timeout: '100000',
     data
   })
 }