todo.html: undo the last modification

This commit is contained in:
nothing committed 2023-03-11 16:20:24 +08:00
1 parent 30dfef6625
commit dc7e9bd5c4
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@
class="jh-v-input"
label="可写模板"
multiple
v-model="node.formId"
v-model="node.formIdEdit"
></v-select>
</v-col>
<v-col cols="12" class=" pb-3" >
+2 -1
View File
@@ -124,7 +124,7 @@
<!--抽屉表单-->
<v-row class="mt-0 px-4">
<v-col cols="12" sm="12" md="4" v-for="(formItem, index) in updateItem.taskFormInput.formList" :key="index">
<form-item :form-item="formItem" readonly></form-item>
<form-item :form-item="formItem" :readonly="updateItem.readonlyFormIdList"></form-item>
</v-col>
<v-col cols="12" sm="12" md="12">
<span class="jh-input-label">备注</span>
@@ -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 = []; // 所有操作按钮
+1 -1
View File
@@ -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),