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

工作流参数调整

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