Browse Source

权限去掉

luolei 4 years ago
parent
commit
1d3011af08
2 changed files with 4 additions and 3 deletions
  1. 3 3
      src/js/dept/readmissionDept.js
  2. 1 0
      src/js/qcScore.js

+ 3 - 3
src/js/dept/readmissionDept.js

@@ -268,7 +268,7 @@ function renderTab(data, hisId, activePage) {
           <td class="textCenter delete">${item.sex || '-'}</td> 
           <td class="textCenter">${item.details[1].level || '-'}</td> 
           <td class="textCenter">${item.details[1].scoreRes || '-'}</td> 
-          <td class="textCenter">${item.details[1].behDeptName || '-'}</td> 
+          <td class="textCenter">${item.details[1].doctorName || '-'}</td> 
           <td class="textCenter delete">${item.diagnose || '-'}</td> 
           <td class="textCenter">${item.details[1].behospitalDate || '-'}</td> 
           <td class="textCenter">${item.details[1].leaveHospitalDate || '-'}</td> 
@@ -455,7 +455,7 @@ function bindDeptSelect() {
   $('body').on('click', '.deptItem', function() {
     const deptItemName = $(this).attr('data-name');
     const deptItemId = $(this).attr('data-id');
-    deptIdTemp = deptItemId;
+    deptId=deptIdTemp = deptItemId;
     if (deptItemName.length > 10) {
       $('.selectDept').html(deptItemName.substring(0, 8) + '...');
     } else {
@@ -576,7 +576,7 @@ $('.patientNumInp').on('input', function(e) {
   const val = $(this)
     .val()
     .trim();
-  deptName = val;
+    deptId =deptName = val;
 });
 
 // 获取病人姓名  patientRecordInp

+ 1 - 0
src/js/qcScore.js

@@ -130,6 +130,7 @@ function iframeShow(title){
 }
 //判断有无某一权限
 function hasData(data){
+  return true
   let trdObj = JSON.parse(getCookie("trdObj"))
   let lis = trdObj[global_code]
   if(!lis){