luolei 4 年 前
コミット
9a8675501a
2 ファイル変更3 行追加9 行削除
  1. 1 7
      src/js/dept/qcListCopyDept.js
  2. 2 2
      src/js/dept/uccDeptDetail.js

+ 1 - 7
src/js/dept/qcListCopyDept.js

@@ -115,13 +115,7 @@ if(from==2){
     $(".defectDetail").on("click", function () {
         $(parent.document).find("#contentIframe").attr("src", "quexianDetailControlDept.html?deptName=" + `${deptNamePram == "全部" ? "全院" : deptNamePram}` + "&deptId=" + deptIdPram + "&from=1&" + "&shijian=3"  + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam+"&doctorName="+doctorName)
     })
-} else if (from == 8 || from == 7) {
-    // 来自 质控核查统计的跳转
-    $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="checkControlDept.html?from=2">质控核查统计 / </a>病历列表`)
-    $(".defectDetail").on("click", function () {
-        $(parent.document).find("#contentIframe").attr("src", "checkControlDept.html?deptName=" + `${deptNamePram == "全部" ? "全院" : deptNamePram}` + "&deptId=" + deptIdPram + "&from=1&" + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam)
-    })
-} else if (from == 6) {
+} else if (from == 6||from == 8 || from == 7) {
     // 来自 质控核查统计的跳转 ---改善数量的跳转
     $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP initCheckControlDept" href="checkControlDept.html?from=2">质控核查统计 / </a>病历列表`)
     $(".initCheckControlDept").on("click", function () {

+ 2 - 2
src/js/dept/uccDeptDetail.js

@@ -37,7 +37,7 @@ let deptListDept = JSON.parse(getCookie("deptList"))||[]
 let isInspection = getUrlArgObjectNew("isInspection", srcUrl) || ""
 let doctorNameUrl = getUrlArgObjectNew("doctorName", srcUrl) || ""
 let currentPage;
-deptNameTemp = docName = doctorNameUrl
+docNameTemp = docName = doctorNameUrl
 listenScroll()
 let deptListArr = JSON.parse(getCookie("deptList"))||[]
 $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
@@ -68,7 +68,7 @@ if(docName){
     doctorName = docName
     $('.doctorInp').val(docName)
 }
-if(deptIdPram&&deptNamePram){
+if(deptNamePram){
     deptIdTemp = deptIdPram = deptIdPram
     deptName = deptNameTemp = deptNamePram
     $('.selectDept').val(deptNamePram)