bug
This commit is contained in:
@@ -81,7 +81,15 @@
|
||||
getInfo (id) {
|
||||
this.instance.post(`/app/appexaminationinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
this.info = {
|
||||
...res.data,
|
||||
questions: res.data.questions.map(v => {
|
||||
return {
|
||||
...v,
|
||||
answer: v.items.filter(v => v.checked === '1').map(v => v.content).join(',')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.assessmentsName = res.data.assessments.map(v => {
|
||||
return `${this.dict.getLabel('qjEAType', v.assessmentType)} ${this.dict.getLabel('qjEACondition', v.upCondition)} ${v.upScore} `
|
||||
|
||||
Reference in New Issue
Block a user