+
+
+
+ 返回
+ {{className}}
+
+
+
@@ -21,6 +30,8 @@ export default {
return {
activeName: 'first',
userId: this.$store.state.userId,
+ classId: this.$route.query.classId,
+ className: this.$route.query.className,
tabs: {
first: '学生管理',
second: '成绩管理'
@@ -37,6 +48,9 @@ export default {
methods: {
tabChange(index){
this.activeName = index
+ },
+ goback() {
+ this.$router.back()
}
}
};
diff --git a/src/components/page/ClassStudent.vue b/src/components/page/ClassStudent.vue
index ad667a6..7801ad2 100644
--- a/src/components/page/ClassStudent.vue
+++ b/src/components/page/ClassStudent.vue
@@ -8,22 +8,21 @@
批量删除