Browse Source

参数传参获取

luolei 5 years ago
parent
commit
bfd4742c34
4 changed files with 4 additions and 4 deletions
  1. 1 1
      src/js/qcList.js
  2. 1 1
      src/js/qcListDept.js
  3. 1 1
      src/js/qcListPerson.js
  4. 1 1
      src/js/utils.js

+ 1 - 1
src/js/qcList.js

@@ -249,7 +249,7 @@ function renderTab(data,hisId){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${hid}&code=${code}`)
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 1 - 1
src/js/qcListDept.js

@@ -267,7 +267,7 @@ function renderTab(data){
 }
 
 function scoreDetail(id,age,code){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}`)
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}`)
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 1 - 1
src/js/qcListPerson.js

@@ -266,7 +266,7 @@ function renderTab(data){
 }
 
 function scoreDetail(id,age,code){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}`)
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}`)
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 1 - 1
src/js/utils.js

@@ -2,7 +2,7 @@ const qs = require('qs');
 const $ = require("jquery");
 const axios = require("axios")
 var Utils = require('./rePromise');
-const baseUrl = "http://192.168.2.236:5858"
+const baseUrl = "http://192.168.2.121:5858"
 //页面映射
 const pageMap={
   'YH-KZT':'console.html',