Przeglądaj źródła

Merge branch 'nursePush220401' into testNew

1178232204@qq.com 3 lat temu
rodzic
commit
a8264e4737
2 zmienionych plików z 6 dodań i 8 usunięć
  1. 1 1
      src/css/cdssHorizontal.less
  2. 5 7
      src/js/cdssHorizontal.js

+ 1 - 1
src/css/cdssHorizontal.less

@@ -143,7 +143,7 @@
 .moduleItem {
   padding: 0 0 0 110px;
   box-sizing: border-box;
-  line-height: 21px;
+  line-height: 23px;
   span,
   div {
     font-size: 12px;

+ 5 - 7
src/js/cdssHorizontal.js

@@ -416,7 +416,7 @@ function renderPushData() {
 }
 function renderpushByMayDisease(name, i, inx,e) {
   return pushByDisease(name, i).then(res => {
-    $(".loading").hide();
+    // $(".loading").hide();
     hasCompleteTnterface++
     if (res.data.code == "0") {
       const result = res.data.data
@@ -455,7 +455,7 @@ function renderpushByMayDisease(name, i, inx,e) {
         renderMayPush(treatPush, medicinesPush, operationsPush, nursePush, inx)
         bindOpenInfo()
         moreInfo()
-        // bindSlide();
+        bindSlide();
         if ($(".maydiagnose .item").children('div').length == 0) {
           $.toast('toast3', '', 3000, '.maydiagnose', i);
           $(".maydiagnose .item").css("display", "none")
@@ -468,7 +468,7 @@ function renderpushByMayDisease(name, i, inx,e) {
 }
 function renderpushByHasDisease(name, i, inx,e) {
   return pushByDisease(name, i).then(res => {
-    $(".loading").hide();
+    // $(".loading").hide();
     hasCompleteTnterface++
     if (res.data.code == "0") {
       const result = res.data.data
@@ -507,7 +507,7 @@ function renderpushByHasDisease(name, i, inx,e) {
         renderHasPush(treatPush, medicinesPush, operationsPush, nursePush, inx)
         bindOpenInfo()
         moreInfo()
-        // bindSlide();
+        bindSlide();
         if ($(".hasdiagnose .item").children('div').length == 0) {
           $.toast('toast3', '', 3000, '.hasdiagnose', i);
           $(".hasdiagnose .item").css("display", "none")
@@ -567,7 +567,7 @@ function renderDiagList(list) {
     const index = $(this).parent().parent().next().attr('data-i')
     const showList = $(".maydiagnose .item").css("display")
     if (showList == "none" || index != i) {
-      $(".loading").show();
+      // $(".loading").show();
       $(".maydiagnose .item").html('')
       $(".maydiagnose .item").css("display", "none")
       $(this).parent().parent().next().css("display", "block")
@@ -576,7 +576,6 @@ function renderDiagList(list) {
     } else {
       $(".maydiagnose .item").css("display", "none")
     }
-    // $(".leftWrapper").scrollTop($(this).offset().top);
   });
 }
 function renderAffListList(list) {
@@ -622,7 +621,6 @@ function renderAffListList(list) {
     } else {
       $(".hasdiagnose .item").css("display", "none")
     }
-    // $('.leftWrapper').scrollTop($(this).offset().top);
   });
 }
 function renderMayVitalPush(list, inx) {