zhouna 4 years ago
parent
commit
1ecf52e01e
2 changed files with 5 additions and 3 deletions
  1. 1 0
      src/css/qcScore.less
  2. 4 3
      src/js/qcScore.js

+ 1 - 0
src/css/qcScore.less

@@ -319,6 +319,7 @@
   background: @disColor;
   /*height: 100%;*/
   .content-box{
+    display: none;
     width:78%;
     height: 100%;
     background: #fff;

+ 4 - 3
src/js/qcScore.js

@@ -164,6 +164,7 @@ function getRecordDetail(){
       // $(".sub-menu>ul>li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
       $(".subMenu >li:first-child.page,.menu-mini>ul>li:first-child.page").addClass("active");
       global_activeTab=$(".sub-menu .page.active").attr("code");
+      $(".operation").show()
       initPatientInfo(info);
       initContent(result.pageData);
       initList(msg);
@@ -226,7 +227,7 @@ function initContent(data){
   formatSpecPage(obj["谈话告知书"],"谈话告知书");
   formatSpecPage(obj["知情同意书"],"知情同意书");
   // formatSpecPage(obj["医嘱信息"],"医嘱信息");
-  
+  $(".content-box").show();
   for(let k in obj){
     if(k==="谈话告知书"||k==="知情同意书"){
       continue;
@@ -837,9 +838,9 @@ function formatFlawKeys(data){
         global_modules=data;
         getRecordDetail();
         $("#loading").hide();
-        setTimeout(function(){
+        /*setTimeout(function(){
           $(".operation").show()
-        },50)
+        },50)*/
       }
     });
   }