luolei 4 years ago
parent
commit
12901790c5
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/js/qcScore.js

+ 4 - 3
src/js/qcScore.js

@@ -11,7 +11,6 @@ $(function(){
 //本页全局变量
   let global_flawData = {};    //缺陷数据
   let global_flawDataPay = {};    //缺陷数据
-  let global_title = {};    //缺陷数据
   const global_id=getUrlArgObject("id");
   const global_age = getUrlArgObject("age");
   let global_check;
@@ -121,7 +120,7 @@ function getRecordDetail(){
       initMenu(JSON.parse(result.menuData));
       // $(".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");
+      global_activeTab=$(".sub-menu .page.active").attr("code");
       initPatientInfo(info);
       initContent(result.pageData);
       initList(msg);
@@ -706,9 +705,11 @@ function formatFlawKeys(data){
     });
   }
   function checkQc(){
+    console.log('global_activeTab',global_activeTab)
     const param={
       behospitalCode:getUrlArgObject("id"),
-      hospitalId:getUrlArgObject("hid")
+      hospitalId:getUrlArgObject("hid"),
+      checkType: ''
     };
     post(api.checkQc,param).then((res)=>{
       if(res.data.code==='0') {