Update dailyInspection.vue
This commit is contained in:
parent
59d96b7d17
commit
5369190b1d
|
@ -282,14 +282,14 @@ const onSubmit = async function () {
|
||||||
ckStandardId: item.selectedID, //已选择的雪花ID
|
ckStandardId: item.selectedID, //已选择的雪花ID
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
|
||||||
if (item.hasOwnProperty('selectedGroup')) {
|
if (item.hasOwnProperty('selectedGroup')) {
|
||||||
item.selectedGroup.forEach((selectedItem) => {
|
item.selectedGroup.forEach((selectedItem) => {
|
||||||
console.log(selectedItem)
|
// console.log(selectedItem)
|
||||||
if (selectedItem != 'null') {
|
// console.log(ele)
|
||||||
|
if (ele.ckItemId != 'null' && selectedItem != 'null') {
|
||||||
assessmentRecordDetails.value.push({
|
assessmentRecordDetails.value.push({
|
||||||
ckGroupId: element.snowFlakeId, //选项的雪花Id
|
ckGroupId: element.snowFlakeId, //选项的雪花Id
|
||||||
ckItemId: item.snowFlakeId, //已选择的ID
|
ckItemId: ele.ckItemId, //已选择的ID
|
||||||
ckStandardId: selectedItem, //已选择的雪花ID
|
ckStandardId: selectedItem, //已选择的雪花ID
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -297,6 +297,7 @@ const onSubmit = async function () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
const assessmentRecordParams = {
|
const assessmentRecordParams = {
|
||||||
assessmentRecordDetails: [] as any[],
|
assessmentRecordDetails: [] as any[],
|
||||||
|
|
Loading…
Reference in New Issue