1178232204@qq.com vor 3 Jahren
Ursprung
Commit
669459dab4
1 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. 2 6
      src/js/cdssHorizontal.js

+ 2 - 6
src/js/cdssHorizontal.js

@@ -378,7 +378,6 @@ function renderPushData() {
           $(".rightWrapper").css("width", '100%');
         }
       } else if ($(".leftWrapper .moduleItem:visible").length !== 0) {
-        console.log(2)
         $(".empty-box").hide();
         $(".leftWrapper").css({
           borderRight: "0px",
@@ -386,7 +385,6 @@ function renderPushData() {
         })
       }
       if ($(".moduleItem.general,.moduleItem.medicine,.moduleItem.operation,.moduleItem.nurse").length === 0 && $(".leftWrapper .moduleItem:visible").length !== 0) {
-        console.log(3)
         $(".rightWrapper").css("display", "none")
         $(".empty-box").hide();
         $(".leftWrapper").css({
@@ -501,7 +499,6 @@ function renderpushByHasDisease(name, i, inx) {
 function empty() {   //显示空状态
   setTimeout(function () {
     if ((!$(".rightWrapper .rightBoxTitle").html()) && $(".leftWrapper .moduleItem:visible").length !== 0) {
-      console.log(4)
       $(".leftWrapper").css({
         borderRight: "0px",
         width: "100%"
@@ -511,7 +508,7 @@ function empty() {   //显示空状态
       $(".empty-box,.leftWrapper").hide();
       $(".empty-null").show();
     }
-  }, 300);
+  }, 500);
 }
 function renderDiagList(list, showNum) {
   if (list.length === 0) {
@@ -640,7 +637,6 @@ function renderMaySymptomPush(list, inx) {
     }
   }
   if (list.length > 0 && state != 0) {
-    console.log(778);
     let { shortStr, longStr } = renderItemWrapper(list, num, '症状')
     $(".moduleItem .item[data-index=" + inx + "]").append("<div class='maysymptom'></div>")
     $(".moduleItem .item[data-index=" + inx + "] .maysymptom").append(shortStr)
@@ -1293,7 +1289,7 @@ function renderItemWrapper(list, showNum, name, type) {
     longStr += `<span class="showLess"><img class="iconArrowImg"  src="${collapseImg}"></span>`
     return {
       shortStr: `<div class="shortBox clearfix"><span>${name ? name + ':' : ''}</span>${shortStr}</div>`,
-      longStr: `<div class="longBox clearfix"<span>${name ? name + ':' : ''}</span>${longStr}</div>`
+      longStr: `<div class="longBox clearfix"<span></span>${longStr}</div>`
     }
   }
 }