Browse Source

月报2.0改造(2.8)

洪海涛 4 năm trước cách đây
mục cha
commit
940dbaaa12

+ 5 - 5
src/api/qualityMonthlyReport/edit.js

@@ -8,7 +8,7 @@ export function getMonthlyReport(reportId) {
     url: projectManagementUrl + '/monthlyReport/get',
     // url: 'http://localhost:9528/data.json',
     method: 'get',
-    timeout: '10000',
+    timeout: '100000',
     params: {
       reportId
     }
@@ -31,7 +31,7 @@ export function updateMonthlyReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/update',
     method: 'post',
-    timeout: '10000',
+    timeout: '100000',
     data
   })
 }
@@ -41,7 +41,7 @@ export function updateSubReport(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/subReport/update',
     method: 'post',
-    timeout: '10000',
+    timeout: '100000',
     data
   })
 }
@@ -96,7 +96,7 @@ export function sendConfirm(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/sendConfirm',
     method: 'post',
-    timeout: '10000',
+    timeout: '100000',
     data
   })
 }
@@ -123,7 +123,7 @@ export function getSubReport(params) {
   return request({
     url: projectManagementUrl + '/monthlyReport/subReport/get',
     method: 'get',
-    timeout: '10000',
+    timeout: '100000',
     params
   })
 }

+ 7 - 7
src/api/qualityMonthlyReport/index.js

@@ -15,7 +15,7 @@ export function getAvaliableInfo() {
 // 获取月报主页data
 export function monthlyReportIndex(id) {
   return request({
-    timeout: '10000',
+    timeout: '100000',
     url: TeamManagement + `/monthlyReport/monthlyReportIndex?id=${id}`,
     method: 'get'
   })
@@ -124,7 +124,7 @@ export function getOdinNode(id) {
 export function getOdinTree(data) {
   return request({
     url: data !== null ? TeamManagement + `/monthlyReport/getOdinTree?keyWord=${data}` : TeamManagement + `/monthlyReport/getOdinTree`,
-    timeout: '10000',
+    timeout: '100000',
     method: 'get'
   })
 }
@@ -134,7 +134,7 @@ export function addShowOdinNode(data) {
   return request({
     url: TeamManagement + `/monthlyReport/addShowOdinNode`,
     method: 'post',
-    timeout: '10000',
+    timeout: '100000',
     data
   })
 }
@@ -144,7 +144,7 @@ export function createMonthlyReport(data) {
   return request({
     url: TeamManagement + `/monthlyReport/create`,
     method: 'post',
-    timeout: '10000',
+    timeout: '100000',
     data
   })
 }
@@ -153,7 +153,7 @@ export function createMonthlyReport(data) {
 export function getOdinNodeByParentId(id) {
   return request({
     url: TeamManagement + `/monthlyReport/getOdinNodeByParentId?odinId=${id}`,
-    timeout: '10000',
+    timeout: '100000',
     method: 'get'
   })
 }
@@ -162,7 +162,7 @@ export function getOdinNodeByParentId(id) {
 export function getDeptByKeyWord(id) {
   return request({
     url: TeamManagement + `/monthlyReport/getDeptByKeyWord?keyWord=${id}`,
-    timeout: '10000',
+    timeout: '100000',
     method: 'get'
   })
 }
@@ -189,7 +189,7 @@ export function deleteOdinBizRel(data) {
 export function getMonthlyReportVersion(id) {
   return request({
     url: TeamManagement + `/monthlyReport/getMonthlyReportVersion?id=${id}`,
-    timeout: '10000',
+    timeout: '100000',
     method: 'get'
   })
 }