|
@@ -519,7 +519,6 @@ function rendergeneraTreatPush(list){
|
|
|
$(".moduleItem.general").append(str)
|
|
|
$(".moduleItem.general").css("display","block")
|
|
|
let generaTreatHei = $(".moduleItem .generalTreatInfo")[0].scrollHeight
|
|
|
- console.log(generaTreatHei,78787)
|
|
|
if(generaTreatHei > 50){
|
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showMoreGeneralTreat">更多<img class="iconArrowImg more" src="${iconArrowDown}"></span>`)
|
|
|
$(".moduleItem .generalTreatInfo").append(`<span class="showLessGeneralTreat">收起<img class="iconArrowImg" src="${iconArrowUp}"></span>`)
|
|
@@ -610,7 +609,7 @@ function renderModuleWrapper(moduleList){
|
|
|
let moduleStr = ''
|
|
|
for(let i = 0; i < moduleList.length; i++){
|
|
|
if(moduleList[i].status !='0'){
|
|
|
- if(moduleList[i].code == 'tips'){
|
|
|
+ if(moduleList[i].code == 'critical'){
|
|
|
moduleStr += `<div class="moduleItem warning" data-num="${moduleList[i].number}" style="display:none"></div>`
|
|
|
moduleStr += `<div class="moduleItem tips" data-num="${moduleList[i].number}" style="display:none"></div>`
|
|
|
}else{
|
|
@@ -619,6 +618,8 @@ function renderModuleWrapper(moduleList){
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ console.log(moduleList,moduleStr)
|
|
|
+
|
|
|
$(".recommendWrap").append(moduleStr)
|
|
|
}
|
|
|
|