forked from xxhjsb/hbt-prevention-ui
fix:修复草稿会发起流程的问题
parent
5dc82ff6ee
commit
e6f9182c0d
|
@ -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)=>{
|
||||||
// 验证不需要走下一步
|
// 验证不需要走下一步
|
||||||
|
|
Loading…
Reference in New Issue