提交 28a35220 编写于 作者: tony001's avatar tony001

zpc --- 完善实体工作流动态编辑视图

上级 7c473177
...@@ -18,14 +18,13 @@ export default class WFDynaEditViewEngine extends EditViewEngine { ...@@ -18,14 +18,13 @@ export default class WFDynaEditViewEngine extends EditViewEngine {
} }
/** /**
* 引擎加载 * 表单加载完成
* *
* @param {*} [opts={}] * @param {*} args
* @memberof WFDynaEditViewEngine * @memberof WFDynaEditViewEngine
*/ */
public load(opts: any = {},isnotify:boolean=false): void { public onFormLoad(arg: any): void {
this.view.getWFLinkModel().then((res:any) =>{ super.onFormLoad(arg);
super.load(opts); this.view.getWFLinkModel();
})
} }
} }
\ No newline at end of file
...@@ -759,7 +759,7 @@ export default class EntityService { ...@@ -759,7 +759,7 @@ export default class EntityService {
* @memberof EntityService * @memberof EntityService
*/ */
public async GetWFLink(context: any = {},data: any = {}, isloading?: boolean): Promise<any> { public async GetWFLink(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
return Http.getInstance().get(`/wfcore/${this.SYSTEMNAME}-app-${this.APPNAME}/${this.APPDENAME}/${data[this.APPDEKEY]}/usertasks/${data['taskDefinitionKey']}/ways`); return Http.getInstance().get(`/wfcore/${this.SYSTEMNAME}-app-${this.APPNAME}/${this.APPDENAME}/${context[this.APPLYDEKEY]}/usertasks/${data['taskDefinitionKey']}/ways`);
} }
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册