瀏覽代碼

Revert "修改参数"

This reverts commit cdfb072fccf727be6ed524c24665d36648f34896.
zhangxc 4 年之前
父節點
當前提交
36b42f883a
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      src/js/console.js
  2. 2 2
      src/js/index.js
  3. 1 1
      src/js/utils.js

+ 3 - 3
src/js/console.js

@@ -168,7 +168,7 @@ function getDetails(dateType){
         }
     })
     $(".part01 .partTitlePub").click(function(){
-        if(isPlacefile == 2){
+        if(isPlacefile == 0){
             focusMenuItem("YH-ZKK-RYRSTJ");
             $(parent.document).find("#contentIframe").attr("src","./qcListOutHospital.html?inner=2&from=1&dateType="+dateType+"&lineType="+lineType+"&startDateParam="+behosDateStart+"&endDateParam="+behosDateEnd)
         }
@@ -374,7 +374,7 @@ function getHomeData(name){
         //         lineChartHome(dataX,datay)
         //     }
         // })
-        if(isPlacefile == '2'){
+        if(isPlacefile == '0'){
             // $('.bldjss').html('')
             $(".part03 .partTitlePub .name").html('入院记录24h内未完成')
             post(api.casesEntryStatisticsById,{
@@ -482,7 +482,7 @@ function getBarData(type){
     //     })
     // }
     
-    if(isPlacefile==2){
+    if(isPlacefile==0){
         $(".part01 .partTitlePub .name").html('入院人数统计')
         post(api.beHosCount,{
             startDate:behosDateStart, //起始时间

+ 2 - 2
src/js/index.js

@@ -32,7 +32,7 @@ $(function(){
   $("#changeWord").css("opacity",hasData('FUNC000002')?'1':'0.5').hover(function(){
     $(this).css("color","#777777")
   })
-  if(isPlacefile==2){
+  if(isPlacefile==0){
     $(this).find('i').html('切换病案质控')
     $('.subtitle').html('AI运行质控平台')
     getMenu()
@@ -46,7 +46,7 @@ $(function(){
     if(txt == '切换运行质控'){
       $(this).find('i').html('切换病案质控')
       $('.subtitle').html('AI运行质控平台')
-      setCookie("isPlacefile",2)
+      setCookie("isPlacefile",0)
     }else{
       $(this).find('i').html('切换运行质控')
       $('.subtitle').html('AI病案质控平台')

+ 1 - 1
src/js/utils.js

@@ -114,7 +114,7 @@ const post = function (url, data) {
     window.location.href = "../login.html"
   }
   for(let i = 0;i<$('.typeFilter').children().length;i++){
-    if($('.typeFilter').children().eq(i).html() == '出院日期:' && isPlacefile==2){
+    if($('.typeFilter').children().eq(i).html() == '出院日期:' && isPlacefile==0){
       $('.typeFilter').children().eq(i).html('入院日期:')
     }
   }