|
@@ -274,6 +274,7 @@ export default {
|
|
|
orderGoodsId: "",
|
|
|
details: [],
|
|
|
getInfoRecord: [],
|
|
|
+ firstCome:true,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -288,6 +289,10 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
this.details = res.data;
|
|
|
+ if(res.data.length){
|
|
|
+ this.activeName = res.data[0].examId
|
|
|
+ this.ActiveName(res.data[0].examId)
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
computed: {
|
|
@@ -356,6 +361,10 @@ export default {
|
|
|
for (let i = 0; i < this.details.length; i++) {
|
|
|
if (this.details[i].examId === val) {
|
|
|
this.$set(this.details[i], "recordList", res.rows);
|
|
|
+ if(this.firstCome){
|
|
|
+ this.activeRecordId(res.rows[0])
|
|
|
+ this.firstCome = false
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
}
|