Ver código fonte

Merge remote-tracking branch 'origin/qc_zn' into test

zhouna 5 anos atrás
pai
commit
9af378b5e5
2 arquivos alterados com 4 adições e 3 exclusões
  1. 3 3
      src/js/qcList.js
  2. 1 0
      src/js/qcScore.js

+ 3 - 3
src/js/qcList.js

@@ -198,8 +198,8 @@ function renderTab(data,hisId){
     bindScoreDetail(hisId)
 }
 
-function scoreDetail(id,age,hid,code){
-    window.open(`./qcScore.html?id=${id}&age=${age}&hid=${hid}&code=${code}`)
+function scoreDetail(id,age,hid,code,name){
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${hid}&code=${code}`)
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){
@@ -211,7 +211,7 @@ function bindScoreDetail(hisId){
             $.alerModal({"message":'请先进行评分!',type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
             return
         } else{
-            scoreDetail(id,age,hisId,'YH-BLZK-ZKPF')
+            scoreDetail(id,age,hisId,'YH-BLZK-ZKPF',tabList[index].name)
         }
        
     })

+ 1 - 0
src/js/qcScore.js

@@ -11,6 +11,7 @@ const global_age = getUrlArgObject("age");
 const global_code = getUrlArgObject("code");
 let global_activeTab=$(".sub-menu .page.active").attr("code");  //当前激活菜单项
 let global_modules ={};   //模板数据缓存
+window.document.title="质控评分-"+getUrlArgObject("name");
 
 $(function(){
   //getSubMenu();