1178232204@qq.com 3 anni fa
parent
commit
0cc3a07123
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      src/js/cdssHorizontal.js

+ 4 - 1
src/js/cdssHorizontal.js

@@ -421,8 +421,10 @@ function renderpushByMayDisease(name, i, inx) {
       let nursePush = result.nurse || {}
       if (symptomPush.length == 0 && vitalPush.length == 0 && lisPush.length == 0 && pacsPush.length == 0 && scalePush.length == 0 && disPush.length == 0 && treatPush.length == 0 && medicinesPush.length == 0 && operationsPush.length == 0 && nursePush.length == 0) {
         $.toast('toast3', '', 3000, '.maydiagnose', i);
+        $(".maydiagnose .item").css("display", "none")
       } else if (maydiagnoseType) {
         $.toast('toast3', '', 3000, '.maydiagnose', i);
+        $(".maydiagnose .item").css("display", "none")
       } else {
         renderMaySymptomPush(symptomPush, inx)
         renderMayVitalPush(vitalPush, inx)
@@ -457,8 +459,10 @@ function renderpushByHasDisease(name, i, inx) {
       let nursePush = result.nurse || {}
       if (symptomPush.length == 0 && vitalPush.length == 0 && lisPush.length == 0 && pacsPush.length == 0 && scalePush.length == 0 && disPush.length == 0 && treatPush.length == 0 && medicinesPush.length == 0 && operationsPush.length == 0 && nursePush.length == 0) {
         $.toast('toast3', '', 3000, '.hasdiagnose', i);
+        $(".hasdiagnose .item").css("display", "none")
       } else if (hasdiagnoseType) {
         $.toast('toast3', '', 3000, '.hasdiagnose', i);
+        $(".hasdiagnose .item").css("display", "none")
       } else {
         renderHasSymptomPush(symptomPush, inx)
         renderHasVitalPush(vitalPush, inx)
@@ -839,7 +843,6 @@ function renderHasPush(treatPush, medicinesPush, operationsPush, nursePush, inx)
   renderHasNursePush(nursePush, inx)
   $(".hasdiagnose .item[data-index=" + inx + "] .centerBox ul li").click(function () {
     var i = $(this).index();
-    console.log(123);
     if ($(this).hasClass('actives')) {
       $(this).removeClass('actives');
       $(".hasdiagnose .item[data-index=" + inx + "] .checkBox[data-index=" + i + "]").removeClass('onshow');