画像编辑

This commit is contained in:
shidongli 2024-07-15 16:33:40 +08:00
parent d78c138fad
commit ae4553a3ba

View File

@ -244,7 +244,7 @@ export default {
} }
form.labelFieldAndPartitionDictList = this.getParamslistData form.labelFieldAndPartitionDictList = this.getParamslistData
// emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue) // emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue)
console.log(this.form, 'this.form') console.log(form, 'this.form')
// console.log(emptyItems, 'emptyItems') // console.log(emptyItems, 'emptyItems')
// return // return
@ -279,13 +279,18 @@ export default {
// } // }
}, },
additem(aindex, bindex) { additem(aindex, bindex) {
// console.log(this.form.list,'this.form.list')
const newVal = JSON.parse(JSON.stringify(this.moban[aindex].portraitSnVOList[0])) const newVal = JSON.parse(JSON.stringify(this.moban[aindex].portraitSnVOList[0]))
console.log(newVal,'newVal')
console.log(newVal,'newValnew')
newVal.groupingValues.forEach(e => { newVal.groupingValues.forEach(e => {
e.fieldValue = "" e.fieldValue = ""
e.portraitSn = '' e.portraitSn = ''
}); });
newVal.portraitSn=''
this.getParamslistData[aindex].portraitSnVOList.push(newVal) this.getParamslistData[aindex].portraitSnVOList.push(newVal)
}, },