提交 30b2892e 编写于 作者: KK's avatar KK

update:向导面板逻辑调整

上级 d0870b23
......@@ -1130,8 +1130,6 @@ import { Util } from '@/ibiz-core/utils';
*/
protected async save(opt: any = {}, showResultInfo?: boolean, isStateNext: boolean = true): Promise<any> {
showResultInfo = showResultInfo === undefined ? true : false;
opt.saveEmit = opt.saveEmit === undefined ? true : false;
const arg: any = { ...opt };
const data = this.getValues();
Object.assign(arg, data);
......@@ -1171,9 +1169,7 @@ import { Util } from '@/ibiz-core/utils';
if (response && response.status === 200) {
const data = response.data;
this.onFormLoad(data, 'save');
if(opt.saveEmit){
this.$emit('save', data);
}
this.$emit('save', data);
<#if ctrl.getControlType() == 'FORM'>
AppCenterService.notifyMessage({name:"${ctrl.getPSAppDataEntity().getCodeName()}",action:'appRefresh',data:Object.assign(data,{appRefreshAction:action===this.createAction?false:true})});
this.$store.dispatch('viewaction/datasaved', { viewtag: this.viewtag });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册