【修改】先注释掉获取领导
This commit is contained in:
@@ -138,7 +138,7 @@ export default {
|
|||||||
this.$refs.assignFormRef.clearValidate()
|
this.$refs.assignFormRef.clearValidate()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
// this.getLearder()
|
this.getLearder()
|
||||||
}
|
}
|
||||||
else if (this.$route.query.taskDefinitionKey == 'reEdit' ) {
|
else if (this.$route.query.taskDefinitionKey == 'reEdit' ) {
|
||||||
this.taskId = this.$store.getters.handleProcess.taskId
|
this.taskId = this.$store.getters.handleProcess.taskId
|
||||||
@@ -153,7 +153,7 @@ export default {
|
|||||||
this.processForm=JSON.parse(this.processOld.dataJson)
|
this.processForm=JSON.parse(this.processOld.dataJson)
|
||||||
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
||||||
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
||||||
// this.getLearder()
|
this.getLearder()
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (this.$route.query.type == 'yiban') {
|
else if (this.$route.query.type == 'yiban') {
|
||||||
@@ -181,7 +181,7 @@ export default {
|
|||||||
this.isShowSave = false
|
this.isShowSave = false
|
||||||
this.isLevel=false
|
this.isLevel=false
|
||||||
}else{
|
}else{
|
||||||
// this.getLearder()
|
this.getLearder()
|
||||||
this.isLevel = true
|
this.isLevel = true
|
||||||
this.isShowSave = true
|
this.isShowSave = true
|
||||||
}
|
}
|
||||||
@@ -212,15 +212,16 @@ export default {
|
|||||||
this.$api.reportProcess.getLeader({
|
this.$api.reportProcess.getLeader({
|
||||||
userId:this.userId
|
userId:this.userId
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
debugger
|
if(res.data){
|
||||||
|
this.$set(this.assignForm,'oneApprove',res.data[0].usid)
|
||||||
|
this.$set(this.assignForm,'oneApproveName',res.data[0].usname)
|
||||||
|
|
||||||
|
this.checkBtn=true
|
||||||
|
}else{
|
||||||
|
this.checkBtn=false
|
||||||
|
}
|
||||||
})
|
})
|
||||||
// if(res.data){
|
|
||||||
// this.assignForm.oneApprove=res.userId
|
|
||||||
// this.assignForm.oneApproveName=res.userName
|
|
||||||
// this.checkBtn=true
|
|
||||||
// }else{
|
|
||||||
// this.checkBtn=false
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
// 查询文件名称
|
// 查询文件名称
|
||||||
getFileName(){
|
getFileName(){
|
||||||
|
|||||||
Reference in New Issue
Block a user