diff --git a/app/view/component/flow/editNode.html b/app/view/component/flow/editNode.html
index 5fd5822..c3d428d 100644
--- a/app/view/component/flow/editNode.html
+++ b/app/view/component/flow/editNode.html
@@ -60,7 +60,7 @@
class="jh-v-input"
label="可写模板"
multiple
- v-model="node.formId"
+ v-model="node.formIdEdit"
>
diff --git a/app/view/page/todo.html b/app/view/page/todo.html
index 04f9c3e..04f5351 100644
--- a/app/view/page/todo.html
+++ b/app/view/page/todo.html
@@ -124,7 +124,7 @@
-
+
备注
@@ -320,6 +320,7 @@
this.updateItem = _.cloneDeep(funObj);
this.updateItem.workflowConfig = JSON.parse(funObj.workflowConfig);
this.updateItem.currentNode = this.updateItem.workflowConfig.nodeList.find(e => e.id === this.updateItem.taskConfigId);
+ this.updateItem.readonlyFormIdList = this.updateItem.taskFormInput.formList.map(form => form.id).filter(formId => (this.updateItem.currentNode.formIdEdit || '').indexOf(formId) === -1);
this.updateItem.taskHistoryList = []; // 审核历史
this.updateItem.taskComment = ''; // 备注
this.lineTypeList = []; // 所有操作按钮
diff --git a/sql/init.sql b/sql/init.sql
index c205b05..e1015fb 100644
--- a/sql/init.sql
+++ b/sql/init.sql
@@ -176,7 +176,7 @@ INSERT INTO `_resource` (accessControlTable,resourceHook,pageId,actionId,`desc`,
(NULL,'','workflowManagement','selectGroupList','✅查询-组列表','sql',NULL,'{"table": "_group", "operation": "select"}','','','update','vscode','vscode','2022-07-04T22:27:58+08:00'),
(NULL,NULL,'workflowManagement','selectItemList','✅workflowManagement查询-查询列表','sql','{}','{"table": "workflow", "operation": "select"}','','','insert',NULL,NULL,NULL),
(NULL,'{"before":[{"service":"workflow","serviceFunction":"createWorkflowId"}]}','workflowManagement','insertItem','✅workflowManagement查询-添加成员','sql','{"type":"object","required":["actionData"],"properties":{"actionData":{"type":"object","required":["workflowName","workflowId","workflowConfig","workflowForm"],"properties":{"workflowName":{"type":"string"},"workflowId":{"type":"number"},"workflowConfig":{"type":"string"},"workflowForm":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}','{"table": "workflow", "operation": "jhInsert"}','','','insert',NULL,NULL,NULL),
- (NULL,NULL,'workflowManagement','updateItem','✅workflowManagement查询-更新成员','sql','{"type":"object","required":["actionData"],"properties":{"actionData":{"type":"object","required":["workflowName","workflowId","workflowConfig","workflowForm","mode"],"properties":{"workflowName":{"type":"string"},"workflowId":{"type":"number"},"workflowConfig":{"type":"string"},"workflowForm":{"type":"string"},"mode":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}','{"table": "workflow", "operation": "jhUpdate"}','','','insert',NULL,NULL,NULL);
+ (NULL,NULL,'workflowManagement','updateItem','✅workflowManagement查询-更新成员','sql','{"type":"object","required":["actionData"],"properties":{"actionData":{"type":"object","required":["workflowName","workflowId","workflowConfig","workflowForm"],"properties":{"workflowName":{"type":"string"},"workflowId":{"type":"number"},"workflowConfig":{"type":"string"},"workflowForm":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}','{"table": "workflow", "operation": "jhUpdate"}','','','insert',NULL,NULL,NULL);
INSERT INTO `_resource` (accessControlTable,resourceHook,pageId,actionId,`desc`,resourceType,appDataSchema,resourceData,requestDemo,responseDemo,operation,operationByUserId,operationByUser,operationAt) VALUES
(NULL,NULL,'todo','selectItemList','✅查询列表','sql','{}','{ "table": "task", "operation": "select" }',NULL,NULL,'insert',NULL,NULL,NULL),
(NULL,NULL,'todo','submitNode','✅更新','service','{}','{ "service": "task", "serviceFunction": "submitNode" }',NULL,NULL,'insert',NULL,NULL,NULL),