提交 9c6e1ff5 编写于 作者: zcdtk's avatar zcdtk

工作流设置结构支持同步

上级 7ecf0faf
...@@ -405,7 +405,7 @@ export class ${srfclassname(item.getCodeName())}ServiceBase extends EntityServic ...@@ -405,7 +405,7 @@ export class ${srfclassname(item.getCodeName())}ServiceBase extends EntityServic
* @returns {Promise<any>} * @returns {Promise<any>}
* @memberof ${srfclassname(item.getCodeName())}ServiceBase * @memberof ${srfclassname(item.getCodeName())}ServiceBase
*/ */
public get${process.getWFStepValue()}(context: any = {}, data?: any): Promise<any> { public async get${process.getWFStepValue()}(context: any = {}, data?: any): Promise<any> {
return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${process.getWFStepValue()?lower_case}/', data); return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${process.getWFStepValue()?lower_case}/', data);
} }
</#if> </#if>
...@@ -422,7 +422,7 @@ export class ${srfclassname(item.getCodeName())}ServiceBase extends EntityServic ...@@ -422,7 +422,7 @@ export class ${srfclassname(item.getCodeName())}ServiceBase extends EntityServic
* @returns {Promise<any>} * @returns {Promise<any>}
* @memberof ${srfclassname(item.getCodeName())}ServiceBase * @memberof ${srfclassname(item.getCodeName())}ServiceBase
*/ */
public ${wfuiaction.getFullCodeName()}(context: any = {}, data?: any): Promise<any> { public async ${wfuiaction.getFullCodeName()}(context: any = {}, data?: any): Promise<any> {
return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${wfuiaction.getCodeName()?lower_case}/' + context.srfkey, data); return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${wfuiaction.getCodeName()?lower_case}/' + context.srfkey, data);
} }
</#list> </#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册