提交 71c39cd8 编写于 作者: KK's avatar KK

去除工作流提交拦截

上级 9e54f64c
...@@ -1040,10 +1040,6 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1040,10 +1040,6 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
* @memberof ${srfclassname('${ctrl.codeName}')} * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
protected async wfstart(data: any): Promise<any> { protected async wfstart(data: any): Promise<any> {
if (!this.WFStartAction) {
this.$notice.error(this.viewName+this.$t('app.view')+this.$t('app.ctrl.form')+'WFStartAction'+ this.$t('app.notConfig'));
return Promise.reject();
}
const _this: any = this; const _this: any = this;
const arg: any = { ...data }; const arg: any = { ...data };
Object.assign(arg, this.viewparams); Object.assign(arg, this.viewparams);
...@@ -1065,10 +1061,6 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1065,10 +1061,6 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
* @memberof ${srfclassname('${ctrl.codeName}')} * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
protected async wfsubmit(data: any): Promise<any> { protected async wfsubmit(data: any): Promise<any> {
if (!this.WFSubmitAction) {
this.$notice.error(this.viewName+this.$t('app.view')+this.$t('app.ctrl.form')+'WFSubmitAction'+ this.$t('app.notConfig'));
return Promise.reject();
}
const _this: any = this; const _this: any = this;
const arg: any = { ...data }; const arg: any = { ...data };
Object.assign(arg, this.viewparams); Object.assign(arg, this.viewparams);
......
<#assign created_block>
if(this.appEntityService){
this.appEntityService.GetWFHistory(this.context).then((res:any) =>{
if(res && (res.status === 200)){
}
})
}
</#assign>
<#assign self_content> <#assign self_content>
/** /**
...@@ -62,7 +52,7 @@ ...@@ -62,7 +52,7 @@
} }
const { data: _data } = response; const { data: _data } = response;
if (this.viewdata) { if (this.viewparams) {
this.$emit('viewdataschange', [{ ..._data }]); this.$emit('viewdataschange', [{ ..._data }]);
this.$emit('close'); this.$emit('close');
} else if (this.$tabPageExp) { } else if (this.$tabPageExp) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册