From e0840398a505c912bd35c92cb1d0d6c40c35620c Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期三, 30 十月 2024 20:15:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/class-management/ClassStaff.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/class-management/ClassStaff.vue b/src/views/class-management/ClassStaff.vue
index 762f043..92f1cfa 100644
--- a/src/views/class-management/ClassStaff.vue
+++ b/src/views/class-management/ClassStaff.vue
@@ -5,7 +5,7 @@
       <div style="padding-bottom:20px">
         <span class="item">{{ this.$route.query.className }}</span>
         <el-button class="item" @click="handlerAddStudent" type="primary" size="small">鏂板瀛﹀憳</el-button>
-        <el-button class="item" @click="open = true" type="primary" size="small">瀛﹀憳璋冩暣</el-button>
+        <el-button class="item" @click="openManage" type="primary" size="small">瀛﹀憳璋冩暣</el-button>
       </div>
       <div>
         <el-form :inline="true" :model="searchForm" class="demo-form-inline">
@@ -220,6 +220,10 @@
     this.getStudentList()
   },
   methods: {
+    openManage () {
+      this.getClassesCurrentUserList(this.classes.id)
+      this.open = true
+    },
     handlerEditStudent (row) {
       this.studentForm = row
       this.studentTitle = '缂栬緫瀛﹀憳'
@@ -238,7 +242,6 @@
             editClassesUser(this.studentForm).then(res => {
               this.addOpen = false
               this.$message.success(res.data.message)
-              this.submitForm()
               this.page()
               this.resetStudentForm()
             })

--
Gitblit v1.8.0