|
|
|
@ -163,7 +163,7 @@ export default { |
|
|
|
|
stopTime: this.form.endTime, |
|
|
|
|
searchContent: this.core.encodeString(this.keyword), |
|
|
|
|
status: this.form.status, |
|
|
|
|
pageNum: this.pageNo, |
|
|
|
|
pageNum: 1, |
|
|
|
|
pageSize: 10000, |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.stuAssessmentByScreen,data).then(res => { |
|
|
|
@ -187,6 +187,12 @@ export default { |
|
|
|
|
result.push(n) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.listDataAll = result |
|
|
|
|
this.totals = result.length |
|
|
|
|
this.getRecord() |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}, |
|
|
|
|
getRecord(){ |
|
|
|
|
this.$post(this.api.fictitiousRecord, { |
|
|
|
|
classId: '', |
|
|
|
|
userId: this.userId, |
|
|
|
@ -196,18 +202,17 @@ export default { |
|
|
|
|
source: 2, |
|
|
|
|
systemId: 3 |
|
|
|
|
}).then(res => { |
|
|
|
|
let list = this.listDataAll |
|
|
|
|
let recordList = res.data.list |
|
|
|
|
result.map(n => { |
|
|
|
|
list.map(n => { |
|
|
|
|
let same = recordList.find(e => e.className == n.className) |
|
|
|
|
if(same){ |
|
|
|
|
n.reportId = same.reportId |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.listDataAll = result |
|
|
|
|
this.totals = result.length |
|
|
|
|
this.listDataAll = list |
|
|
|
|
this.handlePage() |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}).catch(res => {}); |
|
|
|
|
}, |
|
|
|
|
handlePage(){ |
|
|
|
|
let list = this.listDataAll |
|
|
|
|