|
@@ -104,9 +104,8 @@ export default {
|
|
|
|
|
|
},
|
|
|
async onLoad(option) {
|
|
|
- this.id = option.id;
|
|
|
+ this.recordId = option.id;
|
|
|
this.examId = option.examId;
|
|
|
- this.hideBtns = Boolean(option.hideBtns);
|
|
|
|
|
|
this.examWrongRecordWrongNum();
|
|
|
await this.bankExam();
|
|
@@ -249,7 +248,7 @@ export default {
|
|
|
},
|
|
|
examWrongRecordWrongNum() {
|
|
|
return new Promise(resolve => {
|
|
|
- this.$api.examWrongRecordWrongNum(this.id).then(res => {
|
|
|
+ this.$api.examWrongRecordWrongNum(this.recordId).then(res => {
|
|
|
this.wrongRecordWrongNum = res.data.data;
|
|
|
resolve();
|
|
|
});
|
|
@@ -280,7 +279,7 @@ export default {
|
|
|
},
|
|
|
examReport() {
|
|
|
return new Promise(resolve => {
|
|
|
- this.$api.examReport(this.id).then(res => {
|
|
|
+ this.$api.examReport(this.recordId).then(res => {
|
|
|
this.reportdata = res.data.data;
|
|
|
resolve()
|
|
|
});
|