查询考试提示问题

This commit is contained in:
daihh
2022-12-29 12:35:39 +08:00
parent d54da7dcb9
commit 7901cbc595
3 changed files with 15 additions and 5 deletions

View File

@@ -295,7 +295,7 @@
</div>
<div>
<div style="text-align: center;padding-top: 10px; overflow-y: auto;">
<el-table style="100%" height="480" :data="usePaper.list" border stripe>
<el-table :empty-text="emptyText" style="100%" height="480" :data="usePaper.list" border stripe>
<el-table-column prop="testName" label="考试名称"></el-table-column>
<el-table-column prop="sysCreateTime" label="创建时间"></el-table-column>
<el-table-column prop="sysCreateBy" label="创建人" width="80px" ></el-table-column>
@@ -705,6 +705,7 @@
paperName:'',//选择的试卷的名称
paperJson:{items:[]},
},
emptyText:'加载中...',
exam:{
show:1,
content:{id:'',contentType:61,sortIndex:3},
@@ -1300,8 +1301,10 @@
this.exam.show=2;
this.exam.info.paperType=2; //选择试卷
this.exam.info.paperId='';
this.findExamPapers();
},
findExamPapers(){ //查询已有的考试试卷
this.emptyText='加载中...';
this.usePaper.pageIndex=1;
this.loadExamPapers();
},
@@ -1318,6 +1321,7 @@
}else{
this.$message.error('查询可用试卷失败');
}
this.emptyText='暂无搜索内容';
})
},
changePaperPage(pindex){