|
@ -285,7 +285,7 @@ export default { |
|
|
return _form |
|
|
return _form |
|
|
} |
|
|
} |
|
|
let itemList = this.formList.map(item => { |
|
|
let itemList = this.formList.map(item => { |
|
|
if (item.itemType == 'inputRange' && item.funType == 'agetoyear') { |
|
|
if (item.itemType == 'inputRange' && item.funType == '') { |
|
|
item.columnName = 'age' |
|
|
item.columnName = 'age' |
|
|
} |
|
|
} |
|
|
return { |
|
|
return { |
|
@ -510,11 +510,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
handleAgeChange(val) { |
|
|
handleAgeChange(val) { |
|
|
console.log('val----age---', val) |
|
|
console.log('val----age---', val) |
|
|
if (val.end) { |
|
|
// const s = this.computedBirth(val.end) |
|
|
const s = this.computedBirth(val.end) |
|
|
// const e = this.computedBirth(val.start) |
|
|
const e = this.computedBirth(val.start) |
|
|
|
|
|
this.form.BIRTHDAY = [s, e] |
|
|
this.form.BIRTHDAY = [val.start,val.end ] |
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
handleChangeAgency(val) { |
|
|
handleChangeAgency(val) { |
|
|
let obj = this.$refs["myCascader"].getCheckedNodes()[0].data |
|
|
let obj = this.$refs["myCascader"].getCheckedNodes()[0].data |
|
|