Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -4
index.html
CHANGED
@@ -345,9 +345,7 @@
|
|
345 |
var tableBody = (checked_task === "progress") ? $('#table-progress tbody') : $('#table-past tbody');
|
346 |
tableBody.empty(); // ๊ธฐ์กด ๋ด์ฉ์ ๋น์๋๋ค.
|
347 |
var rowNum = 0
|
348 |
-
// var data = JSON.parse(response);
|
349 |
response.forEach(function(item) {
|
350 |
-
// console.log(item['taskOrdtmNm'])
|
351 |
rowNum = rowNum + 1
|
352 |
var row = $('<tr>').attr('data-taskid', item['taskOrdtmId']);
|
353 |
// var row = $('<tr>');
|
@@ -388,7 +386,7 @@
|
|
388 |
dataType: 'JSON',
|
389 |
contentType: "application/json",
|
390 |
success: function(response) {
|
391 |
-
|
392 |
var hrArea = now_task === "progress" ? $('#hr-area-progress') : $('#hr-area-past');
|
393 |
hrArea.empty();
|
394 |
hrArea.html("<br><br><hr class=\"custom-hr\"><br>");
|
@@ -407,7 +405,6 @@
|
|
407 |
var formattedTaskInfo = response.taskOrdtmInfo.description;
|
408 |
formattedTaskInfo = decodeHtml(formattedTaskInfo)
|
409 |
|
410 |
-
// console.log(response.task_name)
|
411 |
taskNameDiv.html(response.taskOrdtmInfo.name);
|
412 |
taskPeriodDiv.html(response.taskOrdtmInfo.taskOrdtmBgngDt + " - " + response.taskOrdtmInfo.taskOrdtmEndDt);
|
413 |
if (formattedTaskInfo != null){
|
|
|
345 |
var tableBody = (checked_task === "progress") ? $('#table-progress tbody') : $('#table-past tbody');
|
346 |
tableBody.empty(); // ๊ธฐ์กด ๋ด์ฉ์ ๋น์๋๋ค.
|
347 |
var rowNum = 0
|
|
|
348 |
response.forEach(function(item) {
|
|
|
349 |
rowNum = rowNum + 1
|
350 |
var row = $('<tr>').attr('data-taskid', item['taskOrdtmId']);
|
351 |
// var row = $('<tr>');
|
|
|
386 |
dataType: 'JSON',
|
387 |
contentType: "application/json",
|
388 |
success: function(response) {
|
389 |
+
|
390 |
var hrArea = now_task === "progress" ? $('#hr-area-progress') : $('#hr-area-past');
|
391 |
hrArea.empty();
|
392 |
hrArea.html("<br><br><hr class=\"custom-hr\"><br>");
|
|
|
405 |
var formattedTaskInfo = response.taskOrdtmInfo.description;
|
406 |
formattedTaskInfo = decodeHtml(formattedTaskInfo)
|
407 |
|
|
|
408 |
taskNameDiv.html(response.taskOrdtmInfo.name);
|
409 |
taskPeriodDiv.html(response.taskOrdtmInfo.taskOrdtmBgngDt + " - " + response.taskOrdtmInfo.taskOrdtmEndDt);
|
410 |
if (formattedTaskInfo != null){
|