Index: arms/html/analysisResource/content-container.html =================================================================== diff -u -r7815edbbced8f9cbb6dc392592dac3d1ce3a8878 -r8b51507922204f7bef5d8e8060bbbebf51330ab9 --- arms/html/analysisResource/content-container.html (.../content-container.html) (revision 7815edbbced8f9cbb6dc392592dac3d1ce3a8878) +++ arms/html/analysisResource/content-container.html (.../content-container.html) (revision 8b51507922204f7bef5d8e8060bbbebf51330ab9) @@ -1,4 +1,12 @@
+
@@ -62,7 +70,7 @@
-

@@ -112,47 +120,16 @@

-
-
-

- - - 작업자 현황 - -

-
+
+
+
종합 진행 현황
-
-
-
-
-
- - 투입 작업자 수 -
-
-
-
-
- 작업 중 요구사항 평균 : -
-
-
-
-
-
-
- 생성한 연결이슈 평균 : -
-
-
-
-
+
+
-
+

@@ -165,30 +142,31 @@
-
-
+
-
작업 중 요구사항
-
|
+
|
-
-
+
-
작업 대상 요구사항
-
+

-
-
-
+
작업 일정 현황
-
-
+
-
【 일정 】
-
|
+
|
-
-
+
-
【 경과 】
@@ -227,14 +203,46 @@
-
-
-
종합 진행 현황
+
+
+

+ + + 작업자 현황 + +

+
-
-
+
+
+
-
+
+ + 투입 작업자 수 +
+
+
+
+
+ 작업 중 요구사항 평균 : -
+
+
+
+
+
+
+ 생성한 연결이슈 평균 : -
+
+
+
+
+
@@ -617,4 +625,4 @@
- \ No newline at end of file + Index: arms/js/analysisResource.js =================================================================== diff -u -r7815edbbced8f9cbb6dc392592dac3d1ce3a8878 -r8b51507922204f7bef5d8e8060bbbebf51330ab9 --- arms/js/analysisResource.js (.../analysisResource.js) (revision 7815edbbced8f9cbb6dc392592dac3d1ce3a8878) +++ arms/js/analysisResource.js (.../analysisResource.js) (revision 8b51507922204f7bef5d8e8060bbbebf51330ab9) @@ -863,20 +863,26 @@ } } } + + if(earliestStartDate ==="start") { earliestStartDate = new Date(); } + if(lastEndDate ==="end") {lastEndDate = new Date(); } let objectiveDateDiff = getDateDiff(earliestStartDate, lastEndDate); let currentDateDiff = getDateDiff(earliestStartDate, new Date()); + console.log(objectiveDateDiff); + console.log(currentDateDiff); let 목표데이터_배열 = [resource_count, req_count, objectiveDateDiff]; let 현재진행데이터_배열 = [resource_count, req_in_action, currentDateDiff]; let dateDiff = Math.abs(objectiveDateDiff - currentDateDiff).toFixed(0); - $("#progressDateRate").text((currentDateDiff*100/objectiveDateDiff).toFixed(0)+"%"); + $("#progressDateRate").text((currentDateDiff*100/(objectiveDateDiff === 0 ? 1 : objectiveDateDiff)).toFixed(0)+"%"); if(objectiveDateDiff>= currentDateDiff) { $("#remaining_days").text("D-"+dateDiff); } else { $("#remaining_days").text("D+"+dateDiff); $("#remaining_days").css("color", "rgb(219,42,52)"); } drawBasicRadar("radarPart",목표데이터_배열, 현재진행데이터_배열); + } } });