|
@@ -396,7 +396,6 @@ function renderpushByMayDisease(name, i, e) {
|
|
|
moreInfo()
|
|
|
bindSlide();
|
|
|
empty()
|
|
|
- console.log($(e.target).parents('.box').find(".moduleCenter").children('div').length);
|
|
|
if ($(e.target).parents('.box').find(".moduleCenter").children('div').length == 1 && ($(e.target).parents('.box').find(".centerBox").css("display") == "none" || !$(e.target).parents('.box').find(".centerBox").css("display"))) {
|
|
|
$.toast('toast1', '', 3000, '.maydiagnose', i);
|
|
|
|
|
@@ -1377,7 +1376,7 @@ function renderTab(tabList) {
|
|
|
let tabStr = '<ul>'
|
|
|
for (let i = 0; i < tabList.length; i++) {
|
|
|
if (tabList[i].status == '1') {
|
|
|
- tabStr += `<li class="tab" data-name="${tabList[i].code}" ><span>${tabList[i].name}${tabList[i].code == 'auxiliary'?`<span class="numPop"></span>`:''}</span></li>`
|
|
|
+ tabStr += `<li class="tab" data-name="${tabList[i].code}" ><span>${tabList[i].name}${tabList[i].code == 'auxiliary' ? `<span class="numPop"></span>` : ''}</span></li>`
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -1419,7 +1418,7 @@ function bindTabClick() {
|
|
|
|
|
|
// $(".contentWrapper").css("overflowY","auto")
|
|
|
}
|
|
|
- empty()
|
|
|
+ empty(1)
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -1453,8 +1452,13 @@ function bindSlideCaseWriting() {
|
|
|
}
|
|
|
|
|
|
//显示空状态
|
|
|
-function empty() {
|
|
|
- ifInputParam = hasInputParam();
|
|
|
+function empty(flag) {
|
|
|
+ if (flag == 1) {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ ifInputParam = hasInputParam();
|
|
|
+ }
|
|
|
+
|
|
|
if (!ifInputParam) { //没有输入数据时
|
|
|
$(".recommendBox .empty-box").hide();
|
|
|
$(".recommendBox .empty").show();
|