提交 83ed50f1 编写于 作者: KK's avatar KK

移动端工作流标识调整

上级 85cfac1f
...@@ -53,8 +53,8 @@ import { toastController, alertController } from '@ionic/core'; ...@@ -53,8 +53,8 @@ import { toastController, alertController } from '@ionic/core';
const response: any = await this.appEntityService.GetWFLink({ ...this.context }, datas); const response: any = await this.appEntityService.GetWFLink({ ...this.context }, datas);
if (response && response.status === 200) { if (response && response.status === 200) {
this.linkModel = response.data; this.linkModel = response.data;
if(response.headers && response.headers['process-form']){ if(response.headers && response.headers['process-mobform']){
this.computeActivedForm(response.headers['process-form']); this.computeActivedForm(response.headers['process-mobform']);
}else{ }else{
this.computeActivedForm(null); this.computeActivedForm(null);
} }
...@@ -108,10 +108,10 @@ import { toastController, alertController } from '@ionic/core'; ...@@ -108,10 +108,10 @@ import { toastController, alertController } from '@ionic/core';
* @memberof ${srfclassname('${view.codeName}')}Base * @memberof ${srfclassname('${view.codeName}')}Base
*/ */
public async openSrfwfmemo(linkItem:any,datas:any) :Promise<any>{ public async openSrfwfmemo(linkItem:any,datas:any) :Promise<any>{
if(linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@Mob${r'${linkItem.sequenceflowview}'}`]){ if(linkItem && linkItem.sequenceflowmobview && this.viewRefData[`WFACTION@Mob${r'${linkItem.sequenceflowmobview}'}`]){
let tempContext:any = this.$util.deepCopy(this.context); let tempContext:any = this.$util.deepCopy(this.context);
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform}; let tempViewParam:any = {actionView:linkItem.sequenceflowmobview,actionForm:linkItem.sequenceflowmobform};
let targetView:any = this.viewRefData[`WFACTION@Mob${r'${linkItem.sequenceflowview}'}`]; let targetView:any = this.viewRefData[`WFACTION@Mob${r'${linkItem.sequenceflowmobview}'}`];
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;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册