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

zpc --- 启动流程刷新表格问题

上级 f4e3f9ef
...@@ -1101,9 +1101,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1101,9 +1101,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
return; return;
} --> } -->
const _this: any = this; const _this: any = this;
const arg: any = data[0]; const post: Promise<any> = _this.save({},false);
Object.assign(arg,{viewparams:this.viewparams});
const post: Promise<any> = Object.is(arg.srfuf, '1')?this.service.update(this.updateAction, JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator):this.service.add(this.createAction,JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator);
post.then((response:any) =>{ post.then((response:any) =>{
const arg:any = response.data; const arg:any = response.data;
if(this.viewparams){ if(this.viewparams){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册