diff --git a/src/views/basic/test/list.vue b/src/views/basic/test/list.vue index ed15e8e..755b118 100644 --- a/src/views/basic/test/list.vue +++ b/src/views/basic/test/list.vue @@ -46,10 +46,11 @@ - - · - + + + @@ -265,6 +266,19 @@ export default { }, }); }, + //删除即时测考试 + async removeReport(obj, index) { + this.tableData[index].loading = true; + const { data, status, info } = await this.$request.deleteReport({ + id: obj.id, + }); + if (status === 0) { + this.$message.success("删除成功!"); + this.tableData.splice(index, 1); + } else { + this.$message.error(info); + } + }, async _QueryGdClass() { const fetchClassList = @@ -356,6 +370,10 @@ div::-webkit-scrollbar-thumb { }