|
@ -271,10 +271,13 @@ export default { |
|
|
// } |
|
|
// } |
|
|
arr.forEach((item) => { |
|
|
arr.forEach((item) => { |
|
|
if (item.itemType == 'checkbox') _form[item.columnName] = [] |
|
|
if (item.itemType == 'checkbox') _form[item.columnName] = [] |
|
|
else if (columnName && columnName === item.columnName) _form[item.columnName] = '1' |
|
|
else if (item.queryType == 'resi_category' && columnName ){ |
|
|
|
|
|
_form[item.columnName] = [columnName] |
|
|
|
|
|
} else if (columnName && columnName === item.columnName) _form[item.columnName] = '1' |
|
|
else if (item.itemType == 'inputRange') _form[item.columnName] = { start: '', end: ''} |
|
|
else if (item.itemType == 'inputRange') _form[item.columnName] = { start: '', end: ''} |
|
|
else _form[item.columnName] = '' |
|
|
else _form[item.columnName] = '' |
|
|
}) |
|
|
}) |
|
|
|
|
|
console.log('_form----------rrr', _form) |
|
|
return _form |
|
|
return _form |
|
|
} |
|
|
} |
|
|
let itemList = this.formList.map(item => { |
|
|
let itemList = this.formList.map(item => { |
|
@ -290,7 +293,7 @@ export default { |
|
|
|
|
|
|
|
|
return { |
|
|
return { |
|
|
...item, |
|
|
...item, |
|
|
isChange: this.columnName && this.columnName === item.columnName ? true : false |
|
|
isChange:( item.queryType == 'resi_category' && this.columnName) || this.columnName === item.columnName ? true : false |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
let constForm = { |
|
|
let constForm = { |
|
|