|
|
|
@ -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,27 +187,32 @@ export default { |
|
|
|
|
result.push(n) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.$post(this.api.fictitiousRecord, { |
|
|
|
|
classId: '', |
|
|
|
|
userId: this.userId, |
|
|
|
|
page: 1, |
|
|
|
|
size: 1000, |
|
|
|
|
searchContent: '', |
|
|
|
|
source: 2, |
|
|
|
|
systemId: 3 |
|
|
|
|
}).then(res => { |
|
|
|
|
let recordList = res.data.list |
|
|
|
|
result.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.handlePage() |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}).catch(res => {}); |
|
|
|
|
this.listDataAll = result |
|
|
|
|
this.totals = result.length |
|
|
|
|
this.getRecord() |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}, |
|
|
|
|
getRecord(){ |
|
|
|
|
this.$post(this.api.fictitiousRecord, { |
|
|
|
|
classId: '', |
|
|
|
|
userId: this.userId, |
|
|
|
|
page: 1, |
|
|
|
|
size: 1000, |
|
|
|
|
searchContent: '', |
|
|
|
|
source: 2, |
|
|
|
|
systemId: 3 |
|
|
|
|
}).then(res => { |
|
|
|
|
let list = this.listDataAll |
|
|
|
|
let recordList = res.data.list |
|
|
|
|
list.map(n => { |
|
|
|
|
let same = recordList.find(e => e.className == n.className) |
|
|
|
|
if(same){ |
|
|
|
|
n.reportId = same.reportId |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.listDataAll = list |
|
|
|
|
this.handlePage() |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}, |
|
|
|
|
handlePage(){ |
|
|
|
|
let list = this.listDataAll |
|
|
|
|