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 = []; // 所有操作按钮