Просмотр исходного кода

样式调整,重置默认首个科室

luolei 4 лет назад
Родитель
Сommit
77e365f414

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

@@ -417,10 +417,10 @@ $(".abnormalClear").on("click", function(e){
         changeYear: true,
         dateFormat:"yy/mm/dd"
     }).datepicker( "setDate","");
-    if(from == 2||from==3||from==10 || from == 6){
+    if(from == 2||from==3||from==10 || from == 6 || from == 9){
         $('.selectDept ').html(deptListDept[0].deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
         deptName = deptNameTemp = deptListDept[0].deptName
-    } else if (from == 4 || from == 9 || from == 8){
+    } else if (from == 4 || from == 8){
         $('.selectDept').html(deptNamePram).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
         deptName = deptNameTemp = deptNamePram
         $('.selectDept ').attr('title',deptNamePram)

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

@@ -74,9 +74,11 @@ if(from==2){
     if(inner == 2){
         // $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a>入院人数统计`)
         $(".inorout").css('display','none')
+        $(".filter-toggler").css("left","830px")
     }else{
         // $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a>出院人数统计`)
         $(".inorout").css('display','block')
+        $(".filter-toggler").css("left","1077px")
     }
 }else if(from==3){
 //   $(".partTitle .titlePic ").html(`<a href="keyItemFlawControl.html">关键条目缺陷占比 / </a>缺陷详情`)

+ 1 - 1
src/js/dept/quexianDetailControlDept.js

@@ -51,7 +51,7 @@ $(function(){
         })
         setDatePicker($("#datepicker"),$("#datepicker2"),2)
     }else if(isReject == 3){
-        $(".doctorType").html(doctorName)
+        $(".doctorType").html(doctorName||'全部')
         setDatePicker($("#datepicker"),$("#datepicker2"),3,new Date(startDateParam),new Date(endDateParam))
     }
     if(!isReject){