|
@@ -762,10 +762,9 @@ function renderPushItem(item, name, index, totalItems) {
|
|
|
|
|
|
const infoIcon = `${item.hasInfo == "1" ? `<img class="infoImg" src="${infoImg}">` : ""}`;
|
|
|
let signalStr = "";
|
|
|
- const percentage = (index / totalItems) * 100;
|
|
|
- // const percentage = item.count * 100;
|
|
|
- // const queryImg = `<a href="http://172.16.8.57:4500/#/kgrt/entry?keyword=${item.name}" target="_blank"><img class="queryImg" src="${queryIcon}"></a>`
|
|
|
- const queryImg = ""
|
|
|
+ // const percentage = (index / totalItems) * 100;
|
|
|
+ const percentage = item.count * 100;
|
|
|
+ const queryImg = `<a href="http://172.16.8.57:4500/#/kgrt/entry?keyword=${item.name}" target="_blank"><img class="queryImg" src="${queryIcon}"></a>`
|
|
|
|
|
|
// 根据百分比添加不同的信号格图片
|
|
|
if (name === "可能诊断") {
|