fix: 汇总表单汇总节点不配置表单时错误的问题

master
ssc 3 years ago
parent 38ddb9c4a3
commit a6caf3b4ea
  1. 4
      src/views/plugin/workflow/process/components/detail.vue
  2. 2
      src/views/plugin/workflow/process/external/Leave/detail.vue

@ -185,7 +185,7 @@ export default {
handleResolveOption(option, taskForm, status) {
let { column, group } = option
let vars = []
if (taskForm) {
if (taskForm && taskForm.length > 0) {
const columnFilter = this.filterAvueColumn(column, taskForm)
column = columnFilter.column
vars = columnFilter.vars || []
@ -223,7 +223,7 @@ export default {
handleResolveEvent(col, taskForm) {
const _this = this
delete col.value
if (!taskForm) {
if (!taskForm || taskForm.length == 0) {
let event = ['change', 'blur', 'click', 'focus']
event.forEach(e => {
if (col[e]) col[e] = eval((col[e] + '').replace(/this/g, '_this'))

@ -231,7 +231,7 @@ export default {
const option = this.option
option.menuBtn = false
let { column, group } = option
if (taskForm) {
if (taskForm && taskForm.length > 0) {
const columnFilter = this.filterAvueColumn(column, taskForm, true)
column = columnFilter.column
let vars = columnFilter.vars || []

Loading…
Cancel
Save