|
|
|
@@ -119,7 +119,6 @@ document.onreadystatechange = function () { |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
//refresh3DInfo(record); |
|
|
|
var recordPrefix = getMsg(record); |
|
|
|
if(record.OpType == "6" || record.OpType == "10" || record.OpType == "12" || record.OpType == "13"){ |
|
|
|
html += recordPrefix + actionName; |
|
|
|
@@ -208,31 +207,6 @@ function getTaskLink(record){ |
|
|
|
return re; |
|
|
|
} |
|
|
|
|
|
|
|
function refresh3DInfo(record){ |
|
|
|
if(record.OpType == "25" || record.OpType == "29" || record.OpType == "31"){ |
|
|
|
//cloudbrain one |
|
|
|
//var lines = $('.rotation3D__line'); |
|
|
|
var span = $('.rotation3D__line').find("span")[0]; |
|
|
|
//console.log(span); |
|
|
|
if(span != null){ |
|
|
|
span.innerText =record.RefName; |
|
|
|
} |
|
|
|
//$('.rotation3D__line').find("span").eq(0).text(record.RefName) |
|
|
|
//console.log("cloudbrain one line length=" + lines.length); |
|
|
|
//lines[0].find("span").text(record.RefName); |
|
|
|
}else if(record.OpType == "26" || record.OpType == "27" || record.OpType == "28"){ |
|
|
|
//cloudbrain two |
|
|
|
//var lines = $('.rotation3D__line'); |
|
|
|
//console.log("cloudbrain two line length=" + lines.length); |
|
|
|
var span = $('.rotation3D__line').find("span")[1]; |
|
|
|
//console.log(span); |
|
|
|
if(span != null){ |
|
|
|
span.innerText =record.RefName; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
function getMsg(record){ |
|
|
|
var html =""; |
|
|
|
html += "<div class=\"swiper-slide item\">"; |
|
|
|
|