提交 40048a19 编写于 作者: KK's avatar KK

工作流参数调整

上级 8c5b9bda
......@@ -16,6 +16,7 @@
:createAction="activeForm.createAction"
:WFSubmitAction="activeForm.WFSubmitAction"
:WFStartAction="activeForm.WFStartAction"
:srfwfmemo="srfwfmemo"
name="form"
ref='form'
@save="form_save($event)"
......
......@@ -107,7 +107,7 @@ import { toastController, alertController } from '@ionic/core';
* @returns {Promise<any>}
* @memberof ${srfclassname('${view.codeName}')}Base
*/
public async openSrfwfmemo(linkItem:any,datas:any) :Promise<any>{
public async openSrfwfmemo(linkItem:any,data:any) :Promise<any>{
if(linkItem && linkItem.sequenceflowmobview && this.viewRefData[`WFACTION@${r'${linkItem.sequenceflowmobview}'}`]){
let tempContext:any = this.$util.deepCopy(this.context);
let tempViewParam:any = {actionView:linkItem.sequenceflowmobview,actionForm:linkItem.sequenceflowmobform};
......@@ -115,10 +115,9 @@ import { toastController, alertController } from '@ionic/core';
const result: any = await this.$appmodal.openModal(targetView,tempContext,tempViewParam);
if (result || Object.is(result.ret, 'OK')) {
const { datas } = result;
let tempSubmitData:any = this.$util.deepCopy(datas);
tempSubmitData.forEach((element:any) => {
Object.assign(element,result.datas && result.datas[0]);
});
if(datas[0].srfwfmemo){
this.srfwfmemo = datas[0].srfwfmemo;
}
}
}
return true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册