11wqe1 1 месяц назад
Родитель
Сommit
533d6b4753

+ 4 - 21
src/components/pages/studentManageNew/component/table.vue

@@ -1441,27 +1441,10 @@ export default {
       }
       }
 
 
       this.EditStubox = this.cascaderDataPath.map(item => item[1]).join(",");
       this.EditStubox = this.cascaderDataPath.map(item => item[1]).join(",");
-      // console.log(box);
-
-      // console.log("this.stuEditInfo", this.stuEditInfo);
 
 
       this.deltypy = 10;
       this.deltypy = 10;
       this.popBoxdia = true;
       this.popBoxdia = true;
-      // this.$confirm(
-      //   `确定要修改 ${this.stuEditInfo.username} 的学生信息吗?`,
-      //   "提示",
-      //   {
-      //     confirmButtonText: "确定",
-      //     cancelButtonText: "取消",
-      //     type: "warning",
-      //   }
-      // )
-      //   .then(() => {
-      //     this.update_Student(box);
-      //   })
-      //   .catch(() => {
-      //     return;
-      //   });
+   
     },
     },
     // 修改学生信息
     // 修改学生信息
     update_Student(cid) {
     update_Student(cid) {
@@ -1540,9 +1523,9 @@ export default {
     // 刷新
     // 刷新
     refresh() {
     refresh() {
       // 将tab表格页数重置
       // 将tab表格页数重置
-      this.page = 1;
-      this.pageSize = 10;
-      this.total = 0;
+      // this.page = 1;
+      // this.pageSize = 10;
+      // this.total = 0;
       // 清除表格数据
       // 清除表格数据
       this.tableData = [];
       this.tableData = [];
       this.interestTableData = [];
       this.interestTableData = [];

+ 2 - 0
src/components/pages/studentManageNew/index.vue

@@ -333,6 +333,8 @@ export default {
       this.boxType = index;
       this.boxType = index;
       this.activeId = id;
       this.activeId = id;
       this.activeinfo = item;
       this.activeinfo = item;
+      this.$refs.tableLref.pageSize = 10;
+      this.$refs.tableLref.page = 1;
       if (index == 1 && this.$refs.tableLref.interestType == 1) {
       if (index == 1 && this.$refs.tableLref.interestType == 1) {
         this.$refs.tableLref.interestType = 0;
         this.$refs.tableLref.interestType = 0;
         this.$refs.tableLref.refresh();
         this.$refs.tableLref.refresh();