1178232204@qq.com 3 lat temu
rodzic
commit
83da730998

+ 1 - 2
src/css/deptQualifiedPhysician.less

@@ -10,7 +10,7 @@
         height: 54px;
     }
 }
-.deptScoreDetailControl {
+.physician {
     // background-color: #fff;
     .dayFilter {
         .levelList {
@@ -21,7 +21,6 @@
         }
     }
     .filterItem.deptListWrap {
-        display: none;
         .selectDept,.deptList,.physicianList {
             width: 180px;
         }

+ 7 - 2
src/html/deptQualifiedPhysician.html

@@ -10,7 +10,7 @@
 </head>
 
 <body>
-  <div class="managerContainer mukuai">
+  <div class="managerContainer physician">
     <div class="partTitle">
       <p><a href="deptConsole.html">控制台(科室) / </a>病案首页合格率医师占比</p>
       <!-- <div class="monthYear">
@@ -34,7 +34,12 @@
         <span class="filterItem typeFilter">
           <span>医师类别:</span>
           <input type="text" class="selectPhysician canEditDept" value="全部">
-          <ul class="physicianList filterDropList"></ul>
+          <ul class="physicianList filterDropList">
+            <li class="physicianItem  ellipsis" title="全部" data-id="" data-name="全部">全部</li>
+            <li class="physicianItem  ellipsis" title="住院医师" data-name="住院医师">住院医师</li>
+            <li class="physicianItem  ellipsis" title="主治医师" data-name="主治医师">主治医师</li>
+            <li class="physicianItem  ellipsis" title="主任医师" data-name="主任医师">主任医师</li>
+          </ul>
         </span>
         <span class="filterItem">
           <span>医师姓名:</span>

+ 6 - 1
src/html/qualifiedPhysician.html

@@ -32,7 +32,12 @@
         <span class="filterItem typeFilter">
           <span>医师类别:</span>
           <input type="text" class="selectPhysician canEditDept" value="全部">
-          <ul class="physicianList filterDropList"></ul>
+          <ul class="physicianList filterDropList">
+            <li class="physicianItem  ellipsis" title="全部" data-id="" data-name="全部">全部</li>
+            <li class="physicianItem  ellipsis" title="住院医师" data-name="住院医师">住院医师</li>
+            <li class="physicianItem  ellipsis" title="主治医师" data-name="主治医师">主治医师</li>
+            <li class="physicianItem  ellipsis" title="主任医师" data-name="主任医师">主任医师</li>
+          </ul>
         </span>
         <span class="filterItem">
           <span>医师姓名:</span>

+ 0 - 1
src/js/dept/partDetailControlDept.js

@@ -311,7 +311,6 @@ function renderTab(data, hisId, activePage) {
     // initScroll("partDetail","YX",1)
     // 不合格数跳转至 病历列表详情页
     $(".goHomeDetail1").click(function () {
-
         let index = $(this).parent().attr("data-index")
         let docName = $(this).parent().attr("data-doc")
         let docId = $(this).parent().attr("data-docId")

+ 1 - 3
src/js/dept/qcListCopyUnqualifiedDept.js

@@ -88,8 +88,6 @@ $(function(){
         $('.selectDept').html(deptNamePram).attr('title',deptNamePram).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
         $(".deptList").css("display", "none")
     }
-
-    console.log(deptIdPram);
 })
 
 if(from==2){
@@ -163,7 +161,7 @@ function getTabData(activePage){
         ruleType:ruleType,
         isReject: isSingleReject,
         doctorName: doctorName,
-        doctorId: doctorNum,
+        doctorId: doctorNum || '',
         checkStatus: qcCheckStatus?Number(qcCheckStatus):qcCheckStatus, //病历核查状态
         mrStatus: fpCheckStatus?Number(fpCheckStatus):fpCheckStatus,   //首页核查状态(1:已核查,0:未核查)
         chName: qcCheckName,   //病历核查人员

+ 23 - 20
src/js/deptQualifiedPhysician.js

@@ -1,5 +1,5 @@
 const $ = require('jquery');
-require("../css/mukuai.less");
+require("../css/deptQualifiedPhysician.less");
 require('./../resource/jquery-ui/jquery-ui.min.js');
 require('./modal.js');
 const { api } = require('./api.js')
@@ -11,7 +11,7 @@ const iconUp = require("./../images/arrow_up.png")
 const arrowLeft = require("./../images/arrow_left.png")
 const arrowRight = require("./../images/arrow_right.png")
 
-listenScroll('.mukuai')
+listenScroll('.physician')
 let casesId = "", name = "", isReject = "", isUsed = "", casesIdTemp = "", nameTemp = "", isRejectTemp = "", data_asc = [], data_desc = ['deptName'], isUsedTemp = "", from = "", deptIdTemp = "", deptItemId = "", deptId = "", professor = ""
 $(".selectModuleType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 $(".selectReject").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
@@ -112,16 +112,17 @@ $('.selectPhysician').on("input", function (e) {
 //获取医师类别
 getDoctorProfessorList()
 function getDoctorProfessorList(val) {
-  post(api.getDoctorProfessorList, { inputStr: val == "全部" ? "" : val || "", }).then(res => {
-    if (res.data.code == '0') {
-      const physicianList = res.data.data || []
-      rendePhysicianList(physicianList)
-    } else {
-      rendePhysicianList([])
-    }
-  }).catch((e) => {
+  // post(api.getDoctorProfessorList, { inputStr: val == "全部" ? "" : val || "", }).then(res => {
+  //   if (res.data.code == '0') {
+  //     const physicianList = res.data.data || []
+  //     rendePhysicianList(physicianList)
+  //   } else {
+  //     rendePhysicianList([])
+  //   }
+  // }).catch((e) => {
 
-  })
+  // })
+  bindPhysicianSelect()
 }
 function rendePhysicianList(physicianList) {
   if (physicianList.length == 0) {
@@ -208,12 +209,12 @@ getDeptList()
 function getDeptList() {
   let str = ``
   if (deptList.length <= 0) return
-  $(".mukuai .selectDept").attr("data-id", deptList[0].deptName).find("i").html(deptList[0].deptName)
+  $(".physician .selectDept").attr("data-id", deptList[0].deptName).find("i").html(deptList[0].deptName)
   for (let i = 0; i < deptList.length; i++) {
     let tmp = deptList[i]
     str += `<li class="deptItem ellipsis" title="${tmp.deptName}" data-id="${tmp.deptName}" data-name="${tmp.deptName}">${tmp.deptName}</li>`
   }
-  $(".mukuai .filterDropList").html(str)
+  $(".physician .deptList").html(str)
 }
 //判断有无某一权限
 function hasData(data) {
@@ -376,22 +377,22 @@ function renderTab(data, activePage) {
         <td >${item.deptName || "-"}</td>
         <td >${item.professor || "-"}</td>
         <td >${item.doctorName || "-"}</td>
-        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-ruleType="" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
+        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-docId="${item.doctorId || ""}" data-ruleType="" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
             ${item.entryNum || "-"}
             ${item.entrySameNum < 0 ? '<img class="updownimg" src="' + jiantou_down + '"/>' : item.entrySameNum > 0 ? '<img class="updownimg" src="' + jiantou_up + '"/>' : ''}
         </td>
-        <td class="goHomeDetailQuexian goHomeDetail1" data-doctorName="${item.doctorName || ""}" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
+        <td class="goHomeDetailQuexian goHomeDetail1" data-doctorName="${item.doctorName || ""}" data-docId="${item.doctorId || ""}" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
             ${item.secondLevelNum}
         </td>
-        <td class="goHomeDetailQuexian goHomeDetail1" data-doctorName="${item.doctorName || ""}" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
+        <td class="goHomeDetailQuexian goHomeDetail1" data-doctorName="${item.doctorName || ""}" data-docId="${item.doctorId || ""}" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
             ${item.firstLevelNum}
         </td>
         <td >${item.firstLevelPercentStr}</td>
-        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-ruleType="1" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
+        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-docId="${item.doctorId || ""}" data-ruleType="1" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
             ${item.emptyNum}
         </td>
         <td >${item.emptyPercentStr}</td>
-        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-ruleType="2" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
+        <td class="goHomeDetailQuexian goHomeDetail" data-doctorName="${item.doctorName || ""}" data-docId="${item.doctorId || ""}" data-ruleType="2" data-dept="${item.deptName || ""}" dept-id="${item.deptId || ""}">
             ${item.errorNum}
         </td>
         <td >${item.errorPercentStr}</td>
@@ -406,8 +407,9 @@ function renderTab(data, activePage) {
     let deptName = $(this).attr("data-dept")
     let ruleType = $(this).attr("data-ruleType")
     let doctorName = $(this).attr("data-doctorName")
+    let docId = $(this).attr("data-docId")
     let deptId = data[index].deptId
-    $(parent.document).find("#contentIframe").attr("src", "quexianDetailControlHome.html?deptName=" + deptName + "&deptId=" + deptId + "&from=1&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&docName=" + doctorName)
+    $(parent.document).find("#contentIframe").attr("src", "quexianDetailHome.html?deptName=" + deptName + "&deptId=" + deptId + "&from=1&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&docName=" + doctorName + "&docId=" + docId)
   })
   // 不合格数跳转至 病历列表详情页
   $(".goHomeDetail1").click(function () {
@@ -415,10 +417,11 @@ function renderTab(data, activePage) {
     let deptName = $(this).attr("data-dept")
     let titleName = $(this).attr("data-title")
     let doctorName = $(this).attr("data-doctorName")
+    let docId = $(this).attr("data-docId")
     // let ruleType = $(this).attr("data-ruleType")
     let deptId = data[index].deptId
     // $(parent.document).find("#contentIframe").attr("src", "qcListCopy.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&defectName=" + defectName)
-    $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualified.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName + "&docName=" + doctorName)
+    $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName + "&docName=" + doctorName + "&docId=" + docId)
   })
   // initScroll("deptScoreDetailControl","YX",1)
 }

+ 11 - 10
src/js/qualifiedPhysician.js

@@ -511,16 +511,17 @@ $('.selectPhysician').on("input", function (e) {
 //获取医师类别
 getDoctorProfessorList()
 function getDoctorProfessorList(val) {
-  post(api.getDoctorProfessorList, { inputStr: val == "全部" ? "" : val || "", }).then(res => {
-    if (res.data.code == '0') {
-      const physicianList = res.data.data || []
-      rendePhysicianList(physicianList)
-    } else {
-      rendePhysicianList([])
-    }
-  }).catch((e) => {
-
-  })
+  // post(api.getDoctorProfessorList, { inputStr: val == "全部" ? "" : val || "", }).then(res => {
+  //   if (res.data.code == '0') {
+  //     const physicianList = res.data.data || []
+  //     rendePhysicianList(physicianList)
+  //   } else {
+  //     rendePhysicianList([])
+  //   }
+  // }).catch((e) => {
+
+  // })
+  bindPhysicianSelect()
 }
 function rendePhysicianList(physicianList) {
   if (physicianList.length == 0) {

+ 1 - 1
src/js/quexianDetailHome.js

@@ -266,7 +266,7 @@ $(".moduleItemInp").on("input", function(e){
     nameTemp = val
 })
 $(".filter").on("click", function(e){
-    casesId=casesIdTemp, name=nameTemp, isReject =isRejectTemp, isUsed =isUsedTemp,deptId = deptIdTemp
+    casesId=casesIdTemp, name=nameTemp, isReject =isRejectTemp, isUsed =isUsedTemp
     getTabData(1)
 })
 $(".filterclear").on("click", function(e){