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

zpc---调整表单流程判断逻辑

上级 e3dc9804
...@@ -1093,10 +1093,10 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1093,10 +1093,10 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
*/ */
protected async wfstart(data: any,localdata?:any): Promise<any> { protected async wfstart(data: any,localdata?:any): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.WFStartAction){ <#-- if(!this.WFStartAction){
this.$Notice.error({ title: '错误', desc: 'WFCIDEditView视图表单WFStartAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'WFCIDEditView视图表单WFStartAction参数未配置' });
return; return;
} } -->
const _this: any = this; const _this: any = this;
const arg: any = data[0]; const arg: any = data[0];
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1153,10 +1153,10 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1153,10 +1153,10 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
*/ */
protected async wfsubmit(data: any,localdata?:any): Promise<any> { protected async wfsubmit(data: any,localdata?:any): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.WFSubmitAction){ <#-- if(!this.WFSubmitAction){
this.$Notice.error({ title: '错误', desc: '${view.getName()}视图表单WFSubmitAction参数未配置' }); this.$Notice.error({ title: '错误', desc: '${view.getName()}视图表单WFSubmitAction参数未配置' });
return; return;
} } -->
const _this: any = this; const _this: any = this;
const arg: any = data[0]; const arg: any = data[0];
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册