|
@@ -169,16 +169,21 @@
|
|
|
this.picList=response.imageUrl.split(",")
|
|
|
}
|
|
|
this.isLoading = false;
|
|
|
+ this.getExaminePerson();
|
|
|
}).catch(error => {
|
|
|
this.isLoading = false;
|
|
|
mui.toast(error);
|
|
|
})
|
|
|
},
|
|
|
getExaminePerson(){
|
|
|
- API_sp.examinePersonObj({
|
|
|
+ var obj={
|
|
|
formId:this.tjForm.formId,
|
|
|
days:this.daytime
|
|
|
- }).then(response => {
|
|
|
+ }
|
|
|
+ if(this.tjForm.leaveType){
|
|
|
+ obj.leaveType=this.tjForm.leaveType
|
|
|
+ }
|
|
|
+ API_sp.examinePersonObj(obj).then(response => {
|
|
|
this.examinePerson=response
|
|
|
}).catch(error => {
|
|
|
|
|
@@ -333,6 +338,7 @@
|
|
|
picker.show(function(selectItems) {
|
|
|
_this.tjForm.leaveType = selectItems[0].value;
|
|
|
_this.typeName = selectItems[0].text;
|
|
|
+ _this.getExaminePerson()
|
|
|
})
|
|
|
},
|
|
|
checkWorkOverTime(){
|