提交 0de1f6c1 编写于 作者: tony001's avatar tony001

zpc---调整表单提交流程逻辑

上级 5cbe7ba3
...@@ -1168,7 +1168,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1168,7 +1168,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
if(this.viewparams){ if(this.viewparams){
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
} }
const result: Promise<any> = this.service.wfsubmit(_this.WFSubmitAction, JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator); const result: Promise<any> = this.service.wfsubmit(_this.WFSubmitAction, JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator,localdata);
result.then((response: any) => { result.then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
this.$Notice.error({ title: '', desc: '工作流提交失败, ' + response.info }); this.$Notice.error({ title: '', desc: '工作流提交失败, ' + response.info });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册