fix:修复草稿会发起流程的问题

feature1.0
吴延福 2023-07-04 10:39:42 +08:00
parent 5dc82ff6ee
commit e6f9182c0d
1 changed files with 4 additions and 2 deletions

View File

@ -983,8 +983,10 @@ export default class HiddenDangerManagerComponent extends BaseRecordComponent<an
this.tableService.addOrUpdate(this.updateParams,!this.updateParams.id).then(res=>{ this.tableService.addOrUpdate(this.updateParams,!this.updateParams.id).then(res=>{
this.$message.success(!this.updateParams.id?"新增成功":"编辑成功"); this.$message.success(!this.updateParams.id?"新增成功":"编辑成功");
if(!preStatus && isSubmit){ if(!preStatus){
if(isSubmit){
this.startWorkFlow([res.data],[this.updateParams.reformUserId]) this.startWorkFlow([res.data],[this.updateParams.reformUserId])
}
}else{ }else{
this.workFlowService.taskHandle(handleParams).then((data)=>{ this.workFlowService.taskHandle(handleParams).then((data)=>{
// //