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

3.x
ssc 3 years ago
parent cd0b9f3954
commit 87ed491bdf
  1. 2
      src/views/plugin/workflow/pages/external/Leave/detail.vue
  2. 4
      src/views/plugin/workflow/pages/process/form/detail.vue

@ -235,7 +235,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 || []

@ -193,7 +193,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 || []
@ -231,7 +231,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'))

Loading…
Cancel
Save