|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="taskList">
|
|
|
- <list-frame :title="pageTitle" @query="search" :needFilter="false" :needAdd="false" :needPag="false">
|
|
|
+ <list-frame :title="pageTitle" @query="search" :needFilter="false" :needAdd="false" :needPag="false" :returns="toreturn">
|
|
|
<el-col :span="24" class="total">
|
|
|
<p>
|
|
|
班级人数:<span>{{ stuTotal }}</span> 作业人数:<span>{{ total }}</span>
|
|
@@ -72,6 +72,9 @@ export default {
|
|
|
let res = await this.stuQuery({ classid: this.id });
|
|
|
if (res.errcode == 0) this.$set(this, `stuTotal`, res.total);
|
|
|
},
|
|
|
+ toreturn() {
|
|
|
+ window.history.go(-1);
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
defaultOption: {
|