|
@@ -256,7 +256,6 @@ function renderPushData(){
|
|
|
return getPushInfo().then(res =>{
|
|
|
hasCompleteTnterface++
|
|
|
if(res.data.code == "0"){
|
|
|
- console.log(1)
|
|
|
const result = res.data.data
|
|
|
let diagPush = result.dis ||{}
|
|
|
let lisPush = result.lis || []
|
|
@@ -622,11 +621,10 @@ function renderItemWrapper(list, showNum, type, hasInfo) {
|
|
|
}
|
|
|
|
|
|
function renderPushItem(item, type) {
|
|
|
-
|
|
|
+ const infoIcon = `${ item.hasInfo == "1" ? `<img class="infoImg" src="${infoImg}">` : "" }`;
|
|
|
str = `<span class="pushItemBox" data-name="${item.name}" data-type="${type}">`
|
|
|
- str += `${item.hasScale == "0" ? `<span class="pushItemName">${type == 8 ? ('【' + item.name + '】') : item.name}</span>` : item.hasScale == "1" ? `<span class="pushItemName evaluationtitle">${type == 8 ? ('【' + item.name + '】') : item.name}</span>` : `<span class="pushItemName">${type == 8 ? ('【' + item.name + '】') : item.name}</span>`}`
|
|
|
- str += `${ item.hasInfo == "1" ? `<img class="infoImg" src="${infoImg}">` : "" }`
|
|
|
- str += '</span >'
|
|
|
+ str += `<span class="pushItemName ${item.hasScale == "1" ? 'evaluationtitle':''}"><i>${type == 8 ? ('【' + item.name + '】') : item.name}</i> ${infoIcon}</span>`
|
|
|
+ str+=`</span>`;
|
|
|
return str
|
|
|
}
|
|
|
|