zhouna 4 éve
szülő
commit
c7621fda07
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      src/js/checkTaskList.js

+ 4 - 3
src/js/checkTaskList.js

@@ -308,14 +308,15 @@ function bindScoreDetail() {
         console.log($(this).parent().index())
         const index = $(this).parent().index()
         const id = tabList[index].behospitalCode
+        const name = tabList[index].name
         const age = tabList[index].age;
         const checkStatus = tabList[index].checkStatus
-        scoreDetail(id, age, getCookie("hospitalid"), 'YH-ZKHC-HCRWLB', tabList[index].name)
+        scoreDetail({id, age,name, hid:getCookie("hospitalid"),code:'YH-ZKHC-HCRWLB'})
     });
 }
-function scoreDetail(id, age, hid, code) {
+function scoreDetail(obj) {
 
-    window.open(`./qcScore.html?id=${id}&age=${age}&hid=${hid}&code=${code}`)
+    window.open(`./qcScore.html?id=${obj.id}&age=${obj.age}&name=${obj.name}&hid=${obj.hid}&code=${obj.code}`)
 }
 //病历等级选择
 function bindLeveldSelect() {