Index: arms/js/analysis/api/resourceApi.js =================================================================== diff -u -r4fe8174d4c9e74beb1e1117fb4f532ffa9e14c98 -r2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa --- arms/js/analysis/api/resourceApi.js (.../resourceApi.js) (revision 4fe8174d4c9e74beb1e1117fb4f532ffa9e14c98) +++ arms/js/analysis/api/resourceApi.js (.../resourceApi.js) (revision 2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa) @@ -24,6 +24,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (data) { //console.log("=== === === 작업자 상태 집계 시작=== === ===") Index: arms/js/analysisResource.js =================================================================== diff -u -r671f6e48b559aa51c33b5f063109fdc321179e29 -r2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa --- arms/js/analysisResource.js (.../analysisResource.js) (revision 671f6e48b559aa51c33b5f063109fdc321179e29) +++ arms/js/analysisResource.js (.../analysisResource.js) (revision 2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa) @@ -317,6 +317,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (data) { ////////////////////////////////////////////////////////// @@ -414,6 +415,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (apiResponse) { const data = apiResponse.response; @@ -504,6 +506,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (data) { //요구사항,연결이슈 파이차트용 데이터배열 @@ -596,6 +599,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (data) { let assigneesArr = data["검색결과"]["group_by_assignee.assignee_emailAddress.keyword"]; @@ -618,45 +622,7 @@ }); } -function getAssigneeInfo2(pdservice_id, pdServiceVersionLinks) { - mailAddressList = []; - $.ajax({ - url: "/auth-user/api/arms/analysis/resource/workerStatus/"+pdservice_id, - type: "GET", - data: { - "pdServiceLink": pdservice_id, - "pdServiceVersionLinks": pdServiceVersionLinks, - "메인그룹필드": "assignee.assignee_emailAddress.keyword", - "컨텐츠보기여부": true, - "크기" : 1000, - "하위크기": 1000 - }, - contentType: "application/json;charset=UTF-8", - dataType: "json", - progress: true, - statusCode: { - 200: function (data) { - let assigneesArr = data["검색결과"]["group_by_assignee.assignee_emailAddress.keyword"]; - if (data["전체합계"] === 0) { //담당자(작업자) 없음. - refreshDetailChart(); //상세 바차트 초기화 - } else { - assigneesArr.forEach((element,idx) =>{ - mailAddressList.push(element["필드명"]); - }); - } - - //모든작업자 - 상세차트 - drawDetailChartForAll(pdservice_id, pdServiceVersionLinks,mailAddressList); - }, - error: function (e) { - jError("Resource Status 조회에 실패했습니다. 나중에 다시 시도 바랍니다."); - } - } - }); -} -// isServerSide: true 하면 페이지 사이즈 만큼만 가져온다. 체크 -------------------------------- - function refreshDetailChart() { // 차트8개 초기화 disposeDetailChartInstance(); resourceSet.clear(); @@ -900,6 +866,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (apiResponse) { const data = apiResponse.response; Index: arms/js/analysisScope.js =================================================================== diff -u -rc4eb42539b40fdf938b83ce08a8ac7bf54d75023 -r2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa --- arms/js/analysisScope.js (.../analysisScope.js) (revision c4eb42539b40fdf938b83ce08a8ac7bf54d75023) +++ arms/js/analysisScope.js (.../analysisScope.js) (revision 2fb81732801fa3bfc78e3f8bb8aba2c6ccb3e7aa) @@ -534,6 +534,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (json) { pdServiceData = json; @@ -553,7 +554,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, - async: true, + async: false, statusCode: { 200: function (data) { // 버전 선택 시 데이터 파싱 @@ -1157,6 +1158,7 @@ dataType: "json", data: {"pdServiceVersionLinks" : pdServiceVersionLinks}, progress: true, + async: false, statusCode: { 200: function (result) { console.log("[ analysisScope :: getReqStatusAndInvolvedAssignees ] :: result"); @@ -1207,6 +1209,7 @@ contentType: "application/json;charset=UTF-8", dataType: "json", progress: true, + async: false, statusCode: { 200: function (result) { console.log("[ analysisScope :: getReqPerMappedVersions ] :: result"); @@ -1339,7 +1342,8 @@ type: "GET", contentType: "application/json;charset=UTF-8", dataType: "json", - progress: true + progress: true, + async: false }) .done(function (apiResponse) { const data = apiResponse.response;