Browse Source

bug(4614)

zhangxc 5 years ago
parent
commit
7b2dae4417
4 changed files with 20 additions and 2 deletions
  1. 6 0
      src/js/qcList.js
  2. 7 1
      src/js/qcListDept.js
  3. 6 0
      src/js/qcListPerson.js
  4. 1 1
      src/js/utils.js

+ 6 - 0
src/js/qcList.js

@@ -20,6 +20,7 @@ let statisticsType = getUrlArgObjectNew("dateType",srcUrl)||getUrlArgObjectNew("
 let chengdu = getUrlArgObjectNew("chengdu",srcUrl)||""
 let deptIdPram = getUrlArgObjectNew("deptId",srcUrl)||""
 let deptNamePram = getUrlArgObjectNew("deptName",srcUrl)||""
+let docName = getUrlArgObjectNew("docName",srcUrl)||""
 $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,
@@ -32,6 +33,11 @@ if(chengdu){
     $(".levelList").css("display", "none")
     $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 }
+if(docName){
+    doctorNameTemp = docName
+    doctorName = docName
+    $('.doctorInp').val(docName)
+}
 if(deptIdPram&&deptNamePram){
     deptIdTemp = deptIdPram
     deptId = deptIdPram

+ 7 - 1
src/js/qcListDept.js

@@ -24,13 +24,14 @@ let statisticsType = getUrlArgObjectNew("dateType",srcUrl)||getUrlArgObjectNew("
 let chengdu = getUrlArgObjectNew("chengdu",srcUrl)||""
 let deptIdPram = getUrlArgObjectNew("deptId",srcUrl)||""
 let deptNamePram = getUrlArgObjectNew("deptName",srcUrl)||""
-
+let docName = getUrlArgObjectNew("docName",srcUrl)||""
 let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,nameTemp = "",
   behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName="", doctorNameTemp="", doctorNum="", doctorNumTemp="",data_desc=["leave_hospital_date"],data_asc=[];
 //   $(".abnormalClear").click(function(){
 //     window.location.reload()
 // })
 
+console.log('docName',docName)
 if(chengdu){
     levelTemp = chengdu
     level = chengdu
@@ -38,6 +39,11 @@ if(chengdu){
     $(".levelList").css("display", "none")
     $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 }
+if(docName){
+    doctorNameTemp = docName
+    doctorName = docName
+    $('.doctorInp').val(docName)
+}
 if(deptIdPram&&deptNamePram){
     deptIdTemp = deptIdPram
     deptId = deptIdPram

+ 6 - 0
src/js/qcListPerson.js

@@ -29,6 +29,7 @@ let statisticsType = getUrlArgObjectNew("dateType",srcUrl)||getUrlArgObjectNew("
 let chengdu = getUrlArgObjectNew("chengdu",srcUrl)||""
 let deptIdPram = getUrlArgObjectNew("deptId",srcUrl)||""
 let deptNamePram = getUrlArgObjectNew("deptName",srcUrl)||""
+let docName = getUrlArgObjectNew("docName",srcUrl)||""
 
 let tabList = [], name = "", behospitalCode="", behosDateStart="", level="",behosDateEnd="", scoreSum = 0,nameTemp = "",
   behospitalCodeTemp="",levelTemp="", deptId="",deptIdTemp="", doctorName=doctorName_global, doctorNameTemp=doctorName_global,data_desc=["leave_hospital_date"],data_asc=[];
@@ -41,6 +42,11 @@ if(chengdu){
     $(".levelList").css("display", "none")
     $(".selectLevel").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 }
+if(docName){
+    doctorNameTemp = docName
+    doctorName = docName
+    $('.selectDoctor').html(docName)
+}
 if(deptIdPram&&deptNamePram){
     deptIdTemp = deptIdPram
     deptId = deptIdPram

+ 1 - 1
src/js/utils.js

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