提交 ff154786 编写于 作者: Mosher's avatar Mosher

update:更新工作流参数

上级 fd40efff
...@@ -86,9 +86,10 @@ import WFDynaEditViewEngine from '@engine/view/mob-wfdyna-edit-view-engine'; ...@@ -86,9 +86,10 @@ import WFDynaEditViewEngine from '@engine/view/mob-wfdyna-edit-view-engine';
* @memberof ${srfclassname('${view.codeName}')}Base * @memberof ${srfclassname('${view.codeName}')}Base
*/ */
public async getWFLinkModel(): Promise<any> { public async getWFLinkModel(): Promise<any> {
let datas: any[] = []; let datas: any = {};
if (Object.keys(this.viewparams).length > 0) { if (Object.keys(this.viewparams).length > 0) {
Object.assign(datas, { 'taskDefinitionKey': this.viewparams.userTaskId }); Object.assign(datas, { 'processDefinitionKey': this.viewparams.processDefinitionKey });
Object.assign(datas, { 'taskDefinitionKey': this.viewparams.taskDefinitionKey });
} }
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) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册