Commit 6cda1f25 by NGO THI HONG

#50202 fix bug direct detail form for routine report

parent 3afcff19
......@@ -349,6 +349,7 @@ CHK_pu.createReportWithWarning = function(operationListOld, isSearched = false)
for (var i = 0; i < operationList.length; i++) {
//TODO aタグlist.html 転移処理
var operationNameLi;
var startDateStr;
switch (operationList[i].reportType)
{
case 0:
......@@ -361,9 +362,10 @@ 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(/ /, "") + "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','" + operationList[i].taskKey + "');\" class='d-block px-3 py-2 text-decoration-none text-dark'>"
+ " ', null ,'DETAIL_FORM_INPUT' ,'REPORT_WARNING','" + startDateStr + "');\" class='d-block px-3 py-2 text-decoration-none text-dark'>"
+"<div class='title'>" + operationList[i].operationName
+ "</div> <div class='sub-title-wrap'> <div class='fs-8 text-secondary mr-2'><div class='sub-title'>" + CHK_pu.getInspectDate(operationList[i].reportStartDateString) + " ~ " + CHK_pu.getInspectDate(operationList[i].reportEndDateString)
+ "</div></div> </div> <i class='fas fa-chevron-right fs-12'></i> </a></li>");
......
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