1178232204@qq.com 3 vuotta sitten
vanhempi
commit
322be0999c

+ 1 - 1
src/css/deptQualifiedPhysician.less

@@ -289,7 +289,7 @@
         margin-left: 30px;
     }
     
-    .deptItem:hover{
+    .deptItem:hover,.physicianItem:hover{
         background-color: #EEF4FF;
         cursor: pointer;
     }

+ 1 - 1
src/css/qualifiedPhysician.less

@@ -290,7 +290,7 @@
         margin-left: 30px;
     }
     
-    .deptItem:hover{
+    .deptItem:hover,.physicianItem:hover{
         background-color: #EEF4FF;
         cursor: pointer;
     }

+ 9 - 6
src/html/deptQualifiedPhysician.html

@@ -5,14 +5,14 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
-  <title></title>
+  <title>医师病案首页合格率占比</title>
 
 </head>
 
 <body>
   <div class="managerContainer physician">
     <div class="partTitle">
-      <p><a href="deptConsole.html">控制台(科室) / </a>病案首页合格率医师占比</p>
+      <p><a href="deptConsole.html">控制台(科室) / </a>医师病案首页合格率占比</p>
       <!-- <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>
@@ -33,7 +33,7 @@
         </span>
         <span class="filterItem typeFilter deptListWrap">
           <span style="overflow:hidden">医师类别:</span>
-          <span class="selectPhysician ellipsis" data-id=" "><i>全部</i></span>
+          <span class="selectPhysician ellipsis" data-id=" ">全部</span>
           <ul class="physicianList filterDropList">
             <li class="physicianItem  ellipsis" title="全部" data-id="" data-name="全部">全部</li>
             <li class="physicianItem  ellipsis" title="住院医师" data-name="住院医师">住院医师</li>
@@ -65,9 +65,12 @@
           <span class="datapickerBox fl"><input type="text" placeholder="请选择时间" id="datepicker2" autocomplete="off"
               readonly /></span>
         </span>
-        <span class="filter">查询</span>
-        <span class="filterclear abnormalClear">重置</span>
-        <span class="exportData">导出</span>
+        <span class="filterItem typeFilter clearfix dataSelectLight">
+          <span class="filter">查询</span>
+          <span class="filterclear abnormalClear">重置</span>
+          <span class="exportData">导出</span>
+        </span>
+        
       </div>
       <div class="deptScoreDetailControlTable">
         <table>

+ 8 - 5
src/html/qualifiedPhysician.html

@@ -5,13 +5,13 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
-  <title>病案首页合格率医师占比</title>
+  <title>医师病案首页合格率占比</title>
 </head>
 
 <body>
   <div class="container deptScoreDetailControl">
     <div class="partTitle">
-      <p><a href="console.html">控制台 / </a>病案首页合格率医师占比</p>
+      <p><a href="console.html">控制台 / </a>医师病案首页合格率占比</p>
       <!-- <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>
@@ -63,9 +63,12 @@
           <span class="datapickerBox fl"><input type="text" placeholder="请选择时间" id="datepicker2" autocomplete="off"
               readonly /></span>
         </span>
-        <span class="filter">查询</span>
-        <span class="filterclear abnormalClear">重置</span>
-        <span class="export">导出</span>
+        <span class="filterItem typeFilter clearfix dataSelectLight">
+          <span class="filter">查询</span>
+          <span class="filterclear abnormalClear">重置</span>
+          <span class="export">导出</span>
+        </span>
+        
       </div>
       <div class="deptScoreDetailControlTable">
         <table>

+ 3 - 2
src/js/dept/qcListCopyDept.js

@@ -73,6 +73,7 @@ if(docName){
     doctorNameTemp = docName
     doctorName = docName
     $('.doctorInp').val(docName)
+    $('.doctorInp').prop('disabled',true)
 }
 if (doctorNumPram){
     doctorNumTemp = doctorNumPram
@@ -1426,7 +1427,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1445,7 +1446,7 @@ function bindSaveColPort(param,exportURL){
         }
         param.radioCheck = radioCheck||1
         expJson(exportURL,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text()+".xls")
         })
     })

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

@@ -72,6 +72,7 @@ if(docName){
     doctorNameTemp = docName
     doctorName = docName
     $('.doctorInp').val(docName)
+    $('.doctorInp').prop('disabled', true)
 }
 if (doctorNumPram) {
     doctorNumTemp = doctorNumPram
@@ -92,7 +93,9 @@ $(function(){
 
 if(from==2){
     // $(".qcFiliterItem").css("display","none")
-    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html?from=2">病案首页合格率医师占比 / </a>病历列表`)
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html?from=2">病案首页合格率占比 / </a>病历列表`)
+} else if (from == 13){
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html?from=2">医师病案首页合格率占比 / </a>病历列表`)
 }
 $(".partTitle .consoleD").click(function(){
     //初始菜单选中   
@@ -1279,7 +1282,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        // $(".divModal",parent.document).html("")
+        // $(".divModal", parent.document).remove()
         $(".divModal", parent.document).remove();
     })
 }
@@ -1305,7 +1308,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(url,param).then(res =>{
-            // $(".divModal",parent.document).html("")
+            // $(".divModal", parent.document).remove()
             $(".divModal", parent.document).remove();
             downloadExportedData(res.data, $(".partTitle").text() + ".xls")
         })

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

@@ -1281,7 +1281,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1300,7 +1300,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.leaveHosMrPageExportByDept,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text()+".xls")
         })
     })

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

@@ -1327,7 +1327,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1349,7 +1349,7 @@ function bindSaveColPort(param){
             param = { ...param, casesEntryName: ''}
         }
         expJson(!isInspection ? api.unModifyMRPageExportByDept : api.medicalCheckInnerExport , param).then(res => {
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text() + ".xls")
         })
     })

+ 8 - 3
src/js/deptQualifiedPhysician.js

@@ -77,6 +77,7 @@ $(function () {
     setDatePicker($("#datepicker"), $("#datepicker2"), "default")
     deptId = deptIdTemp = deptList[0] && deptList[0].deptName
     name = ""
+    professor = "";
     data_asc = []
     professor = "";
     doctorName = "";
@@ -87,6 +88,10 @@ $(function () {
       "data-id": '',
       "title": ''
     })
+    $(".selectPhysician").html('全部').attr({
+      "data-id": "",
+      "title": "全部"
+    }).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
     $(".selectDept").html(deptId).attr({
       "data-id": deptId,
       "title": deptId
@@ -416,7 +421,7 @@ function renderTab(data, activePage) {
     let doctorName = $(this).attr("data-doctorName")
     let docId = $(this).attr("data-docId")
     let deptId = data[index].deptId
-    $(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 +"&code=XY")
+    $(parent.document).find("#contentIframe").attr("src", "quexianDetailHome.html?deptName=" + deptName + "&deptId=" + deptId + "&from=13&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&docName=" + doctorName + "&docId=" + docId +"&code=XY")
   })
   // 不合格数跳转至 病历列表详情页
   $(".goHomeDetail1").click(function () {
@@ -428,7 +433,7 @@ function renderTab(data, activePage) {
     // 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", "qcListCopyUnqualifiedDept.html?deptName=" + deptName + "&deptId=" + deptId + "&from=2&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName + "&docName=" + doctorName + "&docId=" + docId +"&code=XY")
+    $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualifiedDept.html?deptName=" + deptName + "&deptId=" + deptId + "&from=13&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName + "&docName=" + doctorName + "&docId=" + docId +"&code=XY")
   })
   // initScroll("deptScoreDetailControl","YX",1)
 }
@@ -734,7 +739,7 @@ $(function () {
       "endDate": endDateParam
     };
     expJson(api.homePageLevelXYExportByDept, param).then(res => {
-      downloadExportedData(res.data, "病案首页合格率医师占比(科室).xls")
+      downloadExportedData(res.data, "医师病案首页合格率占比(科室).xls")
     })
   })
 });

+ 4 - 4
src/js/partDetailControl.js

@@ -207,8 +207,8 @@ function renderTab(data,hisId,activePage){
         let index =  $(this).parent().attr("data-index")
         let deptName = $(this).attr("data-dept")
         let ruleType = $(this).attr("data-ruleType")
-        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)
+        let deptId = data[index].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)
     })
     // 不合格数跳转至 病历列表详情页
     $(".goHomeDetail1").click(function () {
@@ -216,9 +216,9 @@ function renderTab(data,hisId,activePage){
         let deptName = $(this).attr("data-dept")
         let titleName = $(this).attr("data-title")
         // let ruleType = $(this).attr("data-ruleType")
-        let deptId = data[index].deptId
+        let deptId = data[index].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 )
+        $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualified.html?deptName=" + deptName + "&deptId=" + deptId + "&from=4&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName)
     })
     // initScroll("partDetailControl","YX",1)
 }

+ 8 - 2
src/js/qcListCopy.js

@@ -98,6 +98,12 @@ if(from==2){
     $(".defectDetail").on("click",function(){
         $(parent.document).find("#contentIframe").attr("src","quexianDetailControlHome.html?deptName="+`${deptNamePram=="全部" ?"全院":deptNamePram}`+"&deptId="+deptIdPram+"&from=1&casesId=243"+"&shijian=3"+"&ruleType="+ruleType+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam) 
     })
+} else if (from == 12) {
+    // 来自 各科室缺陷占比的跳转
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetailControl.html?from=1">医师病案首页合格率占比 / </a><a class="defectDetail" href="quexianDetailControl.html">缺陷列表 / </a>病历列表`)
+    $(".defectDetail").on("click", function () {
+        $(parent.document).find("#contentIframe").attr("src", "quexianDetailControl.html?deptName=" + `${deptNamePram == "全部" ? "全院" : deptNamePram}` + "&deptId=" + deptIdPram + "&from=1&" + "&shijian=3" + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam)
+    })
 }else if(from==9){
     // 来自 各科室缺陷占比的跳转
     $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetailControl.html?from=1">各科室缺陷占比 / </a><a class="defectDetail" href="quexianDetailControl.html">缺陷列表 / </a>病历列表`)
@@ -1366,7 +1372,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1385,7 +1391,7 @@ function bindSaveColPort(param,exportURL){
         }
         param.radioCheck = radioCheck||1
         expJson(exportURL,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text()+".xls")
         })
     })

+ 6 - 0
src/js/qcListCopyUnqualified.js

@@ -30,6 +30,7 @@ let docName = getUrlArgObjectNew("docName",srcUrl)||"";
 let startDateParam = getUrlArgObjectNew("startDate",srcUrl)||"";
 let endDateParam = getUrlArgObjectNew("endDate",srcUrl)||"";
 let from = getUrlArgObjectNew("from",srcUrl)||"";
+let type = getUrlArgObjectNew("type", srcUrl) || "";
 let defectName = getUrlArgObjectNew("defectName",srcUrl)||"";
 let casesEntryId = getUrlArgObjectNew("casesEntryId",srcUrl)|| "";
 let casesId = getUrlArgObjectNew("casesId",srcUrl)|| "";
@@ -91,6 +92,11 @@ if(from==4){
     $(".defectDetail").on("click",function(){
         $(parent.document).find("#contentIframe").attr("src","quexianDetailControlHome.html?deptName="+`${deptNamePram=="全部" ?"全院":deptNamePram}`+"&deptId="+deptIdPram+"&from=1&casesId=243"+"&shijian=3"+"&ruleType="+ruleType+"&startDateParam="+startDateParam+"&endDateParam="+endDateParam) 
     })
+} else if (from == 12){
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html?from=1">医师病案首页合格率占比 / </a>病历列表`)
+    $(".defectDetail").on("click", function () {
+        $(parent.document).find("#contentIframe").attr("src", "quexianDetailControlHome.html?deptName=" + `${deptNamePram == "全部" ? "全院" : deptNamePram}` + "&deptId=" + deptIdPram + "&from=1&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam)
+    })
 }
 $(".partTitle .consoleD").click(function(){
     //初始菜单选中   

+ 2 - 2
src/js/qcListDept.js

@@ -1186,7 +1186,7 @@ $((function($){
 })($));
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1205,7 +1205,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.exportQcListDept,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })

+ 3 - 3
src/js/qcListDeptYw.js

@@ -1189,7 +1189,7 @@ $((function($){
             return
         }
         expJson(api.qualityControlExportByDept,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
         /*$.alerModal({type:"radio",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
@@ -1201,7 +1201,7 @@ $((function($){
 })($));
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1220,7 +1220,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.qualityControlExportByDept,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })

+ 2 - 2
src/js/qcListDocteam.js

@@ -1096,7 +1096,7 @@ $((function($){
 })($));
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1115,7 +1115,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.exportQcDocteam,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })

+ 2 - 2
src/js/qcListOutHospital.js

@@ -1305,7 +1305,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1324,7 +1324,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.leaveHosMrPageExport,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text()+".xls")
         })
     })

+ 2 - 2
src/js/qcListPerson.js

@@ -1170,7 +1170,7 @@ $((function($){
 })($));
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1189,7 +1189,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.exportQcresultByPerson,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })

+ 3 - 3
src/js/qcListYw.js

@@ -1198,14 +1198,14 @@ $((function($){
             return
         }
         expJson(api.qualityControlExport,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })
 })($));
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1224,7 +1224,7 @@ function bindSaveColPort(param){
         }
         param.radioCheck = radioCheck||1
         expJson(api.qualityControlExport,param).then(res =>{
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, behosDateStart.slice(0,10).replace(/-/g,"")+"-"+behosDateEnd.slice(0,10).replace(/-/g,"")+"抽查住院病历质量情况.xls")
         })
     })

+ 9 - 6
src/js/qualifiedPhysician.js

@@ -73,15 +73,17 @@ $(".abnormalClear").click(function () {
   deptName = deptNameTemp = "";
   leaveHosType = "";
   leaveHosTypeTemp = "";
-  professor = "";
   doctorName = "";
+  professor = "";
   data_desc = ['deptName'];
   data_asc = [];
   $('.selectLeaveHosType').html('全部')
   $(".leaveHosTypeList").css("display", "none")
   $(".selectLeaveHosType").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
   $(".selectDept").attr({ 'title': "全部", 'data-id': '' }).val("全部")
+  $(".selectPhysician").attr({ 'title': "全部", 'data-id': '' }).val("全部")
   $(".patientNumInp").val("")
+  $(".moduleItemInp").val("")
   getTabData(1)
   getDeptList()
   getDoctorProfessorList()
@@ -168,6 +170,7 @@ function getTabData(activePage) {
     "ascs": data_asc,
     "descs": data_desc,
     "doctorName": doctorName,
+    "deptId": deptId,
     "name": behospitalCode || "",
     "deptClass": leaveHosType || '',
     "deptName": deptName == "全部" ? "" : deptName || "",
@@ -299,7 +302,7 @@ function renderTab(data, hisId, activePage) {
     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 + "&code=XY"+"&docId=" +docId)
+    $(parent.document).find("#contentIframe").attr("src", "quexianDetailControlHome.html?deptName=" + deptName + "&deptId=" + deptId + "&from=12&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDateParam=" + startDateParam + "&endDateParam=" + endDateParam + "&docName=" + doctorName + "&code=XY"+"&docId=" +docId)
   })
   // 不合格数跳转至 病历列表详情页
   $(".goHomeDetail1").click(function () {
@@ -311,7 +314,7 @@ function renderTab(data, hisId, activePage) {
     // 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 + "&code=XY" + "&docId=" + docId)
+    $(parent.document).find("#contentIframe").attr("src", "qcListCopyUnqualified.html?deptName=" + deptName + "&deptId=" + deptId + "&from=12&casesId=243" + "&shijian=3" + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&titleName=" + titleName + "&docName=" + doctorName + "&code=XY" + "&docId=" + docId)
   })
   // initScroll("deptScoreDetailControl","YX",1)
 }
@@ -570,7 +573,7 @@ function rendeDeptList(deptList) {
     $('.deptList').html("")
     return
   }
-  let str = `<li class="deptItem " data-id=" " data-name="全部">全部</li>`
+  let str = `<li class="deptItem " data-id="" data-name="全部">全部</li>`
   for (let i = 0; i < deptList.length; i++) {
     str += `<li class="deptItem ellipsis" title=${deptList[i].deptName} data-id=${deptList[i].deptId} data-name=${deptList[i].deptName}> ${deptList[i].deptName}</li>`
   }
@@ -582,7 +585,7 @@ function bindDeptSelect() {
   $('.deptItem').on("mousedown", function () {
     const deptItemName = $(this).attr("data-name")
     const deptItemId = $(this).attr("data-id")
-    deptIdTemp = deptItemId
+    deptId = deptIdTemp = deptItemId
     deptNameTemp = deptItemName === "全部" ? "" : deptItemName;
     $('.selectDept').val(deptItemName)
     $('.selectDept ').attr('title', deptItemName)
@@ -761,7 +764,7 @@ $(function () {
     };
     const url = api.homePageLevelXYExport
     expJson(url, param).then(res => {
-      downloadExportedData(res.data, "病案首页合格率医师占比.xls")
+      downloadExportedData(res.data, "医师病案首页合格率占比.xls")
     })
   })
 });

+ 19 - 19
src/js/quexianDetailControlHome.js

@@ -64,25 +64,25 @@ $(function(){
     if(!isReject){
         setDatePicker($("#datepicker"),$("#datepicker2"),"default")
     }
-    // if(from == 1){
-    //     $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html">病案首页合格率占比 / </a>缺陷列表`)
-    //     $(".partTitle .consoleD").click(function(){
-    //         $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
-    //         $(".container",parent.document).addClass("console-cont");
-    //     })
-    // }else{
-    //     $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetailControl.html">各科室缺陷占比 / </a>缺陷列表`)
-    //     $(".partTitle .consoleD").click(function(){
-    //         $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
-    //         $(".container",parent.document).addClass("console-cont");
-    //     })
-    // }
+    if(from == 1){
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html">病案首页合格率占比 / </a>缺陷列表`)
+        $(".partTitle .consoleD").click(function(){
+            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            $(".container",parent.document).addClass("console-cont");
+        })
+    } else if (from == 12){
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetailControl.html">医师病案首页合格率占比 / </a>缺陷列表`)
+        $(".partTitle .consoleD").click(function(){
+            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            $(".container",parent.document).addClass("console-cont");
+        })
+    }
     // 解决浏览器跳转 会跳转至 各科室缺陷占比bug
-    $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html">病案首页合格率占比 / </a>缺陷列表`)
-    $(".partTitle .consoleD").click(function () {
-        $(".menu .page", parent.document).removeClass("active").eq(0).addClass("active");
-        $(".container", parent.document).addClass("console-cont");
-    })
+    // $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetailControl.html">医师病案首页合格率占比 / </a>缺陷列表`)
+    // $(".partTitle .consoleD").click(function () {
+    //     $(".menu .page", parent.document).removeClass("active").eq(0).addClass("active");
+    //     $(".container", parent.document).addClass("console-cont");
+    // })
     getTabData(1)//条目缺陷
     
     $(".abnormalClear").click(function(){
@@ -343,7 +343,7 @@ function renderTab(data,activePage){
         // let ruleType = $(this).attr("data-ruleType")
         let index = $(this).parent().attr("data-index")
         let defectName = data[index].name
-        $(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+"&docName=" + docName +"&docId=" + docId)
+        $(parent.document).find("#contentIframe").attr("src", "qcListCopy.html?deptName=" + deptName + "&deptId=" + deptId + "&from=" +from+"&casesId=243" + "&shijian=3" + "&ruleType=" + ruleType + "&startDate=" + startDateParam + "&endDate=" + endDateParam + "&defectName=" + defectName+"&docName=" + docName +"&docId=" + docId)
     })
 }
 

+ 2 - 2
src/js/quexianDetailHome.js

@@ -63,8 +63,8 @@ $(function(){
         setDatePicker($("#datepicker"),$("#datepicker2"),"default")
     }
     from = getUrlArgObjectNew("from",srcUrl)||""
-    if(from == 1){
-        $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html">病案首页合格率医师占比 / </a>缺陷列表`)
+    if(from == 13){
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html">医师病案首页合格率占比 / </a>缺陷列表`)
         $(".partTitle .consoleD").click(function(){
             focusMenuItem('YH-KZTKS')
             $(".container",parent.document).addClass("console-cont");

+ 2 - 2
src/js/uccDetail.js

@@ -1264,7 +1264,7 @@ $(function($){
 });
 function closeRadio(){
     $(".colSetBox .iconClose,.colSetBox .cancalColSet", parent.document ).off("click").on("click",function(){
-        $(".divModal",parent.document).html("")
+        $(".divModal", parent.document).remove()
     })
 }
 function radioSelect(){
@@ -1286,7 +1286,7 @@ function bindSaveColPort(param){
             param = { ...param, casesEntryName: ''}
         }
         expJson(!isInspection ? api.unModifyMRPageExport : api.medicalCheckInnerExport , param).then(res => {
-            $(".divModal",parent.document).html("")
+            $(".divModal", parent.document).remove()
             downloadExportedData(res.data, $(".partTitle").text() + ".xls")
         })
     })