浏览代码

参数文字修改

luolei 4 年之前
父节点
当前提交
c3fd02906a

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

@@ -554,6 +554,7 @@ function bindDeptSelect(){
         $(".selectDept").append(`<img class="arrow" src=${iconDown} alt="下拉">`)
 
         $(".deptList").css("display", "none")
+        getmoduleTypeList('',deptName)
     })
 }
 $('.selectDept').on("click", function(e){

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

@@ -95,7 +95,7 @@ if(deptNamePram){
     getDeptList(1)
 }
 if(from==2){
-    $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>缺陷列表`)
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="singleVeto.html?from=1">条目缺陷占比 / </a>病历列表`)
 }else if(from==10){
   $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="partDetailControlDept.html?from=10">病案首页合格率占比 / </a><a class="consoleP" href="quexianDetailHome.html?from=10">缺陷列表 / </a>病历列表`)
   $('.selectDept').val(deptName)
@@ -417,7 +417,7 @@ $(".abnormalClear").on("click", function(e){
         changeYear: true,
         dateFormat:"yy/mm/dd"
     }).datepicker( "setDate","");
-    if(from == 2||from==3||from==10){
+    if(from == 2||from==3||from==10 || from == 6){
         $('.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){

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

@@ -70,6 +70,14 @@ if(docName){
 }
 if(from==2){
     $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a> ${isPlacefile==0?'入院人数统计':'出院人数统计'}`)
+    
+    if(inner == 2){
+        // $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a>入院人数统计`)
+        $(".inorout").css('display','none')
+    }else{
+        // $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a>出院人数统计`)
+        $(".inorout").css('display','block')
+    }
 }else if(from==3){
 //   $(".partTitle .titlePic ").html(`<a href="keyItemFlawControl.html">关键条目缺陷占比 / </a>缺陷详情`)
 }else{

+ 8 - 6
src/js/dept/uccDeptDetail.js

@@ -84,7 +84,7 @@ if(from==2){
     deptIdTemp=deptListDept[0]&&deptListDept[0].deptId;
     $('.selectDept').val(deptName)
 }else if(from==3){
-    $(".partTitle .titlePic ").html(`<a href="uncorrectedCasesStatisticsDept.html">时效性相关统计 / </a>病历列表`)
+    $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a href="uncorrectedCasesStatisticsDept.html">时效性相关统计 / </a>病历列表`)
 }else if(from == 4){
     $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a href="uncorrectedCopyDept.html">${isPlacefile==1?'终末病历稽查表':'运行病历稽查表'} / </a>病历列表`)
 }else{
@@ -335,13 +335,15 @@ $(".abnormalClear").on("click", function(e){
         dateFormat:"yy/mm/dd"
     }).datepicker( "setDate","");
     if(from == 2){
-        $('.selectDept ').val(deptListDept[0].deptName)
+        $('.selectDept ').html(deptListDept[0].deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
         deptName = deptNameTemp = deptListDept[0].deptName
     } else if (from == 4 || from == 3){
-        deptName = deptNameTemp = deptNamePram
-        $('.selectDept').val(deptNamePram)
-        $('.selectDept ').attr('title',deptNamePram)
-        $(".deptList").css("display", "none")
+        // deptName = deptNameTemp = deptNamePram
+        // $('.selectDept').html(deptNamePram)
+        // $('.selectDept ').attr('title',deptNamePram)
+        // $(".deptList").css("display", "none")
+        $('.selectDept ').html(deptListDept[0].deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
+        deptName = deptNameTemp = deptListDept[0].deptName
     }else{
         $('.selectDept ').val('全部')
     }

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

@@ -111,7 +111,7 @@ $('.abnormalClear').click(function() {
     .val('全部');
   $('.patientNumInp').val('');
   $('.selectModuleType ').val('全部')
-  $('.selectDept').html('全部').append(`<img class="arrow" src=${iconDown} alt="下拉">`);
+  $('.selectDept').html(deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`);
   $('th[code]').removeClass('asc desc');
   //behospitalCode =behospitalCodeTemp= ""
   getTabData(1);

+ 3 - 3
src/js/singleVeto.js

@@ -53,7 +53,7 @@ $(function(){
     $(".menu .page", parent.document).removeClass("active")
 
     if(from == 2){
-        getDeptList(deptNameParam)
+        getDeptList(deptNameParam,isReject)
         $(".typeFilterDept").css("display","inline-block")
         $(parent.document).find(".menu .page[code=YH-KSZR-TMQXZB_XQ]").addClass("active")
         $(".partTitle a").attr("href","deptConsole.html").html("控制台(科室) / ")
@@ -160,10 +160,10 @@ $('.selectDept').on("click", function(e){
       $(".selectDept .arrow").attr("src",iconDown)
   }
 })
-function getDeptList(dept){
+function getDeptList(dept,isReject){
   let str = ``
   if(deptList.length<=0)return
-  if(dept){
+  if(dept&&isReject==8){
       deptName = deptNameTemp = dept
       $(".selectDept").attr({'title':deptName,'data-id':''}).html(deptName).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
   }else{