Commit c221d78c by NGO THI HONG

Update code

parent 5e4c6cef
......@@ -362,7 +362,12 @@ CHK_pu.createReportWithWarning = function(operationListOld, isSearched = false)
+ "</div></div> <i class='fas fa-chevron-right fs-12'></i> </a></li>");
break;
case 1:
startDateStr = operationList[i].reportStartDateString.replace(/\//g, "-").replace(/-/g, "").replace(/:/g, "").replace(/ /, "") + "00";
if(CHK.isWindows){
startDateStr = operationList[i].reportStartDateString.replace(/\//g, "-").replace(/:/g, "").replace(/ /, "") + "00";
}
else{
startDateStr = operationList[i].reportStartDateString.replace(/\//g, "").replace(/-/g, "").replace(/:/g, "").replace(/ /, "") + "00";
}
operationNameLi = $("<li class='item list-unstyled rounded border mb-2' id = 'list_" + operationList[i].taskKey
+ "'><a href=\"javascript:CHK_L.sendAppCommand('goOperation', '" + operationList[i].operationId + "', '" + operationList[i].contentId
+ " ', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','" + startDateStr + "');\" class='d-block px-3 py-2 text-decoration-none text-dark'>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment