|
@@ -55,7 +55,7 @@ $(function(){
|
|
|
if(!statisticsType){
|
|
|
setDatePicker($("#datepicker"),$("#datepicker2"),"default")
|
|
|
}
|
|
|
- if(deptId){
|
|
|
+ if(deptId&&from==2){
|
|
|
$(".selectDept").html(deptId).attr({
|
|
|
"data-id":deptId,
|
|
|
"title":deptId
|
|
@@ -64,13 +64,6 @@ $(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(){
|