diff --git a/src/views/plugin/workflow/mixins/ex-form.js b/src/views/plugin/workflow/mixins/ex-form.js index 1e0577a..3a27617 100644 --- a/src/views/plugin/workflow/mixins/ex-form.js +++ b/src/views/plugin/workflow/mixins/ex-form.js @@ -72,11 +72,14 @@ export default { const vars = [] column.forEach(col => { let c = taskForm.find(s => s.id == col[props.prop]) - if (c && c.readable || !c) { - if (!c) { // 未重新点击节点设计表单字段可读可写。 - if ((this.process.isOwner && this.process.status == 'todo') || !this.process.hasOwnProperty('isOwner')) c = { readable: true, writable: true } - else c = { readable: true, writable: false } - } + if (c && c.readable) { + // /** + // * @deprecated 与节点配置可读可写冲突 + // */ + // if (!c) { // 未重新点击节点设计表单字段可读可写。 + // if ((this.process.isOwner && this.process.status == 'todo') || !this.process.hasOwnProperty('isOwner')) c = { readable: true, writable: true } + // else c = { readable: true, writable: false } + // } let event = ['change', 'blur', 'click', 'focus'] if (c.writable) { // 可写,记录需要提交的字段、处理字段默认值 vars.push(col[props.prop])