| | |
| | | ] |
| | | for (let i = 0; i < arr.length; i++) { |
| | | const item = arr[i] |
| | | item.questionTypeList = questionTypeList |
| | | item.questionTypeList = JSON.parse(JSON.stringify(questionTypeList)) |
| | | for (let j = 0; j < zrr.length; j++) { |
| | | const ele = zrr[j] |
| | | const qusObj = item.question.find((citem) => citem.cmsItemId == ele.id) |
| | |
| | | } |
| | | } |
| | | item.questionTypeList = item.questionTypeList.filter((item) => item.data.length > 0) |
| | | if (!item.userName) { |
| | | item.userName = '-' |
| | | } |
| | | newData.push(item) |
| | | } |
| | | return newData.filter((item) => item.questionTypeList.length > 0) |