|
@@ -290,15 +290,20 @@ export default {
|
|
|
this.personnelList = res.data.hr
|
|
|
},
|
|
|
leaveChange(){
|
|
|
+ this.person = ''
|
|
|
if (this.isleave){
|
|
|
this.dataParam.content.where.isleave = this.isleave
|
|
|
+ this.dataParam.content.dataid = -1
|
|
|
this.projectParam.content.where.isleave = this.isleave
|
|
|
+ this.projectParam.content.dataid = -1
|
|
|
this.depmentParam.content.isleave = this.isleave
|
|
|
this.personData()
|
|
|
this.getProportionOfFileModel()
|
|
|
}else {
|
|
|
this.dataParam.content.where.isleave = 0
|
|
|
+ this.dataParam.content.dataid = -1
|
|
|
this.projectParam.content.where.isleave = 0
|
|
|
+ this.projectParam.content.dataid = -1
|
|
|
this.depmentParam.content.isleave = 0
|
|
|
this.personData()
|
|
|
this.getProportionOfFileModel()
|