Browse Source

接口不加权限校验

luolei 4 years ago
parent
commit
3177910a2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/js/deptConsole.js

+ 2 - 2
src/js/deptConsole.js

@@ -352,7 +352,7 @@ function getBarData(type){
     getHomePageLevelStatisticsByDept(type)
 }
 function getHomePageLevelStatisticsByDept(type){
-    if(hospital=="长兴医院"&&hasData("FUNC000076")){
+    // if(hospital=="长兴医院"&&hasData("FUNC000076")){
         post(isPlacefile==0?api.casesEntryStatisticsByDept: api.homePageLevelStatisticsByDept,{//病案首页
             "type": dateType||2,//1月2年
             "deptName":curDept,
@@ -367,7 +367,7 @@ function getHomePageLevelStatisticsByDept(type){
                 lineChartSpecial(result1)
             }
         })
-    }
+    // }
 }
 function lineChartSpecial(result1){
     let dataX=[],dataY=[]