forked from xxhjsb/hbt-prevention-ui
fix:修复修改没传流程id的问题
parent
50a660e1a1
commit
a2a366d1e6
|
@ -633,7 +633,7 @@ export default class HiddenDangerClapComponent extends BaseRecordComponent<any>
|
||||||
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(isSubmit){
|
if(isSubmit){
|
||||||
this.startWorkFlow([res.data],[this.updateParams.reformUserId])
|
this.startWorkFlow([this.updateParams.id || res.data],[this.updateParams.reformUserId])
|
||||||
}else{
|
}else{
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue