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