review 清理,变量方法名修改

This commit is contained in:
yuebenshan committed 2023-02-14 22:01:11 +08:00
1 parent 5d4aac843b
commit 47c871a740
10 files changed
+524 -3088

No files matched your search

+5 -3
View File
@@ -52,6 +52,8 @@ class WorkflowService extends Service {
tableName: tableEnum.workflow,
columnName: "workflowId"
});
console.log("cesni")
}
async assignTplData() {
@@ -87,12 +89,12 @@ class WorkflowService extends Service {
const { actionData } = this.ctx.request.body.appData;
const { jianghuKnex } = this.app;
const { formItemList, workflowConfigCustom, workflowId } = actionData;
let workflow = await jianghuKnex(tableEnum.workflow, this.ctx).where({workflowId}).first();
if(!workflow) {
throw new BizError(errorInfoEnum.workflow_not_found);
}
actionData.workflowConfigCustom = workflowConfigCustom;
actionData.workflowId = workflow.workflowId;
actionData.taskTitle = workflow.workflowName;
@@ -106,7 +108,7 @@ class WorkflowService extends Service {
}
/**
* 获取节点审批历史
* @returns
* @returns
*/
async getTaskHistory() {
const { taskId } = this.ctx.request.body.appData.actionData;