|
@@ -28,6 +28,7 @@ $(function(){
|
|
|
deptId = deptIdTemp = getUrlArgObjectNew("deptName",srcUrl)||""
|
|
|
let startDateParam = getUrlArgObjectNew("startDateParam",srcUrl)||""
|
|
|
let endDateParam = getUrlArgObjectNew("endDateParam",srcUrl)||""
|
|
|
+ let from = getUrlArgObjectNew("from",srcUrl)||""
|
|
|
if(statisticsType == 1){
|
|
|
$(".monthYear .mon").css({
|
|
|
backgroundColor:'#00A1FF',
|
|
@@ -63,7 +64,13 @@ $(function(){
|
|
|
}else{
|
|
|
getDeptList(1)
|
|
|
}
|
|
|
-
|
|
|
+ if(from != 2){
|
|
|
+ deptId=deptIdTemp = deptList[0]&&deptList[0].deptName
|
|
|
+ $(".selectDept").html(deptId).attr({
|
|
|
+ "data-id":deptId,
|
|
|
+ "title":deptId
|
|
|
+ }).append(`<img class="arrow" src=${iconDown} alt="下拉">`)
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
$(".abnormalClear").click(function(){
|