zhangjie 1 년 전
부모
커밋
eeff592c95
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      src/features/examwork/StudentManagement/StudentManagement.vue
  2. 1 1
      src/features/invigilation/common/mixins/summaryLineMixin.js

+ 5 - 0
src/features/examwork/StudentManagement/StudentManagement.vue

@@ -249,6 +249,11 @@ export default {
       this.searchForm();
     },
     async resetStudentPassword(user) {
+      const confirm = await this.$confirm(`确定重置当前学生密码吗?`, "提示", {
+        type: "warning",
+      }).catch(() => {});
+      if (confirm !== "confirm") return;
+
       await resetStudentPassword({
         id: user.id,
         password: "123456",

+ 1 - 1
src/features/invigilation/common/mixins/summaryLineMixin.js

@@ -16,7 +16,7 @@ const paramInfo = {
     unit: "%",
   },
   prepare: {
-    name: "待考",
+    name: "当前待考",
     param: "prepareCount",
     desc: "已进入待考界面等待开考的考生。",
     unit: "人",