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