FishEye: Tag 1a08782cb1274086bce57aac540c1401a3d9a39d refers to a dead (removed) revision in file `arms/js/analysis/topmenu/topMenu.js'. FishEye: No comparison available. Pass `N' to diff? Index: arms/js/analysisScope.js =================================================================== diff -u -r0f9569c475480848a035497bd8ee5086c181b5d9 -r1a08782cb1274086bce57aac540c1401a3d9a39d --- arms/js/analysisScope.js (.../analysisScope.js) (revision 0f9569c475480848a035497bd8ee5086c181b5d9) +++ arms/js/analysisScope.js (.../analysisScope.js) (revision 1a08782cb1274086bce57aac540c1401a3d9a39d) @@ -194,10 +194,13 @@ getRelationJiraIssueByPdServiceAndVersions($("#selected_pdService").val(), selectedVersionId); // 나이팅게일로즈 차트(pie) - 버전별 요구사항 - getReqPerMappedVersions(selectedPdServiceId, selectedVersionId, versionTag); + getReqPerMappedVersions(selectedPdServiceId, selectedVersionId); treeBar(); + var 요구사항_호출_주소 = "/state-per-version/T_ARMS_REQADD_" + selectedPdServiceId + "/getReqAddListByFilter.do?" + + "pdServiceId="+selectedPdServiceId+"&pdServiceVersionLinks="+selectedVersionId; + 요구사항_현황_데이터_테이블($("#selected_pdService").val(), 요구사항_호출_주소); } }); } @@ -240,7 +243,7 @@ getRelationJiraIssueByPdServiceAndVersions($("#selected_pdService").val(), selectedVersionId); // 나이팅게일로즈 차트(pie) - 버전별 요구사항 - getReqPerMappedVersions(selectedPdServiceId, selectedVersionId, versionTag); + getReqPerMappedVersions(selectedPdServiceId, selectedVersionId); if (data.length > 0) { console.log("display 재설정."); @@ -249,7 +252,8 @@ $(".multiple-select").multipleSelect("refresh"); //요구사항 현황 데이터 테이블 로드 - var 요구사항_호출_주소 = "/T_ARMS_REQADD_" + $("#selected_pdService").val() + "/getNodesWithoutRoot.do"; + var 요구사항_호출_주소 = "/state-per-version/T_ARMS_REQADD_" + selectedPdServiceId + "/getReqAddListByFilter.do?" + + "pdServiceId="+selectedPdServiceId+"&pdServiceVersionLinks="+selectedVersionId; 요구사항_현황_데이터_테이블($("#selected_pdService").val(), 요구사항_호출_주소); ////////////////////////////////////////////////////////// } @@ -1177,7 +1181,7 @@ ///////////////////////////////////////////////////////// // Radial Polar Bar Chart - 제품(서비스)의 버전별 요구사항 수 ///////////////////////////////////////////////////////// -function getReqPerMappedVersions(pdService_id, pdServiceVersionLinks, versionTag) { +function getReqPerMappedVersions(pdService_id, pdServiceVersionLinks) { let reqAddUrl = "/T_ARMS_REQADD_"+ pdService_id +"/getReqAddListByFilter.do?"; $.ajax({ @@ -1548,26 +1552,33 @@ //////////////////////////////////////////////////////////////////////////////////////// function 요구사항_현황_데이터_테이블(selectId, endPointUrl) { var columnList = [ - { name: "pdServiceEntity.c_id", title: "제품(서비스) 아이디", data: "pdServiceEntity.c_id", visible: false, defaultContent: 'N/A' }, + { name: "reqAddEntity.pdServiceEntity.c_id", title: "제품(서비스) 아이디", data: "pdServiceEntity.c_id", visible: false, defaultContent: 'N/A' }, { - name: "c_req_pdservice_versionset_link", + name: "version_name", title: "버전", - data: "c_req_pdservice_versionset_link", + data: "version_name", render: function (data, type, row, meta) { if (isEmpty(data) || data === "unknown") { return "
N/A
"; + } else if (data.includes(",")) { + let verNameArr = data.split(","); + let verHtml = ``; + verNameArr.forEach(verName => { + verHtml += verName+`
`; + }); + return "
" + verHtml + "
"; } else { - return "
" + getStrLimit(data, 25) + "
"; + return "
" + getStrLimit(data, 25) + "
"; } return data; }, className: "dt-body-left", visible: true }, { - name: "c_title", + name: "reqAddEntity.c_title", title: "요구사항", - data: "c_title", + data: "reqAddEntity.c_title", render: function (data, type, row, meta) { if (isEmpty(data) || data === "unknown") { return "
N/A
"; @@ -1580,9 +1591,9 @@ visible: true }, { - name: "reqPriorityEntity.c_title", + name: "reqAddEntity.reqPriorityEntity.c_title", title: "우선순위", - data: "reqPriorityEntity.c_title", + data: "reqAddEntity.reqPriorityEntity.c_title", render: function (data, type, row, meta) { if (isEmpty(data) || data === "unknown") { return "
N/A
"; @@ -1595,9 +1606,9 @@ visible: true }, { - name: "reqDifficultyEntity.c_title", + name: "reqAddEntity.reqDifficultyEntity.c_title", title: "난이도", - data: "reqDifficultyEntity.c_title", + data: "reqAddEntity.reqDifficultyEntity.c_title", render: function (data, type, row, meta) { if (isEmpty(data) || data === "unknown") { return "
N/A
"; @@ -1610,9 +1621,9 @@ visible: true }, { - name: "reqStateEntity.c_title", + name: "reqAddEntity.reqStateEntity.c_title", title: "상태", - data: "reqStateEntity.c_title", + data: "reqAddEntity.reqStateEntity.c_title", render: function (data, type, row, meta) { if (isEmpty(data) || data === "unknown") { return "
N/A
"; @@ -1635,7 +1646,7 @@ ]; var orderList = [[1, "asc"]]; var jquerySelector = "#reqstatustable"; - var ajaxUrl = "/auth-user/api/arms/reqAdd" + endPointUrl; + var ajaxUrl = "/auth-user/api/arms/analysis/scope" + endPointUrl; var jsonRoot = ""; var buttonList = [ "copy",