修改考试中试卷显示,未编辑情况下,未查询 试卷的问题

This commit is contained in:
daihh
2022-08-04 15:54:03 +08:00
parent 07acecf830
commit ba7293b191

View File

@@ -1057,7 +1057,9 @@ export default {
this.$refs.qrcode.innerHTML = '' this.$refs.qrcode.innerHTML = ''
}, },
viewExamInfo(data) { viewExamInfo(data) {
this.examInfoShow = true if(this.questDirOptions.length==0){
this.findPapers();
}
apiTest.detail(data.id).then(res=>{ apiTest.detail(data.id).then(res=>{
if (res.status === 200) { if (res.status === 200) {
this.detailInfo = res.result; this.detailInfo = res.result;
@@ -1065,6 +1067,7 @@ export default {
this.$message.error(res.message); this.$message.error(res.message);
} }
}) })
this.examInfoShow = true
}, },
loadData() { loadData() {
this.params.resOwner1 = this.ownership[0] this.params.resOwner1 = this.ownership[0]