Forráskód Böngészése

rename - 考试批次

deason 4 éve
szülő
commit
08093cc368

+ 1 - 1
src/constants/constants.js

@@ -66,7 +66,7 @@ export const PUBLISH_STATUS = [
 ];
 //公告接受规则类型
 export const NOTICE_RECEIVER_RULE_TYPE = [
-  { code: "STUDENTS_OF_EXAM", name: "学生-按考试批次选择" },
+  { code: "STUDENTS_OF_EXAM", name: "学生-按考试选择" },
   { code: "ALL_STUDENTS_OF_ROOT_ORG", name: "学生-学校中所有学生" },
   { code: "TEACHER_OF_MARK_WORK", name: "老师-按评卷老师选择" },
   { code: "COMMON_USERS_OF_ROLE", name: "老师-学习中心老师" }

+ 18 - 18
src/modules/examwork/view/examStudent.vue

@@ -157,14 +157,6 @@
               @click="openAddingDialog"
               >新增</el-button
             >
-            <el-button
-              v-if="rolePrivileges.del_examStudent"
-              size="small"
-              type="danger"
-              icon="el-icon-delete"
-              @click="deleteStuByExam"
-              >批次删除</el-button
-            >
             <el-button
               v-if="rolePrivileges.copy_examStudent"
               size="small"
@@ -173,6 +165,14 @@
               @click="copy"
               >复制</el-button
             >
+            <el-button
+              v-if="rolePrivileges.del_examStudent"
+              size="small"
+              type="danger"
+              icon="el-icon-delete"
+              @click="deleteStuByExam"
+              >按考试删除</el-button
+            >
           </el-form-item>
         </el-form>
 
@@ -604,7 +604,7 @@
             :inline="true"
             label-width="120px"
           >
-            <el-form-item label="源考试批次" prop="sourceExamId">
+            <el-form-item label="源考试" prop="sourceExamId">
               <el-select
                 class="input"
                 :remote-method="queryExams4CopyFrom"
@@ -623,7 +623,7 @@
                 ></el-option>
               </el-select>
             </el-form-item>
-            <el-form-item label="目标考试批次" prop="targetExamId">
+            <el-form-item label="目标考试" prop="targetExamId">
               <el-select
                 class="input"
                 :remote-method="queryExams4CopyTo"
@@ -1128,7 +1128,7 @@ export default {
           {
             type: "number",
             required: true,
-            message: "请选择源考试批次",
+            message: "请选择源考试",
             trigger: "change"
           }
         ],
@@ -1136,7 +1136,7 @@ export default {
           {
             type: "number",
             required: true,
-            message: "请选择目标考试批次",
+            message: "请选择目标考试",
             trigger: "change"
           }
         ]
@@ -1497,19 +1497,19 @@ export default {
         });
       });
     },
-    //按批次删除方法
+    //按考试删除方法
     deleteStuByExam() {
       if (!this.formSearch.examId) {
         this.$notify({
           type: "warning",
-          message: "请选择要删除的批次"
+          message: "请选择要删除的考试"
         });
         return;
       }
 
       this.$msgbox({
         title: "提示",
-        message: "是否删除该批次所有考生?",
+        message: "是否删除该考试所有考生?",
         showCancelButton: false,
         confirmButtonText: "确定",
         beforeClose: (action, instance, done) => {
@@ -1708,7 +1708,7 @@ export default {
           ) {
             this.$notify({
               type: "error",
-              message: "源批次与目标批次不能相同"
+              message: "源考试与目标考试不能相同"
             });
             return;
           }
@@ -1790,7 +1790,7 @@ export default {
     checkUpload() {
       if (!this.studentImportForm.examId) {
         this.$notify({
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "error"
         });
         return false;
@@ -1896,7 +1896,7 @@ export default {
             exam.specialSettingsType == "STAGE_BASED"
           ) {
             this.examStageDisabled4Search = false;
-            this.examStageDisabled4Update = false; //编辑同查询一致,考试批次不可修改
+            this.examStageDisabled4Update = false; //编辑同查询一致,考试不可修改
             this.queryExamStages4Search("");
             this.queryExamStages(value, "", "insertOrUpdate");
           } else {

+ 1 - 1
src/modules/examwork/view/examStudentImport.vue

@@ -272,7 +272,7 @@ export default {
     checkUpload() {
       if (!this.studentImportForm.examId) {
         this.$notify({
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "error"
         });
         return false;

+ 3 - 3
src/modules/examwork/view/notice.vue

@@ -295,7 +295,7 @@
             >
             <el-button @click="cancel">关 闭</el-button>
           </div>
-          <!-- 考试批次弹框 start-->
+          <!-- 考试弹框 start-->
           <el-dialog
             width="600px"
             :before-close="handleClose"
@@ -384,7 +384,7 @@
               <el-button @click="examCancel">取消</el-button>
             </div>
           </el-dialog>
-          <!-- 考试批次弹框 end-->
+          <!-- 考试弹框 end-->
           <!-- 阅卷工作弹框 start-->
           <el-dialog
             :before-close="handleClose"
@@ -633,7 +633,7 @@ export default {
     },
     examSelectChange(row) {
       if (this.getAfterAddCount(this.selectedExam, row) > 10) {
-        this.warn("一次最多只能选择10个考试批次!");
+        this.warn("一次最多只能选择10个考试!");
         return;
       }
       this.tempSelectedExam = row;

+ 3 - 3
src/modules/marking/views/MarkWork.vue

@@ -221,13 +221,13 @@
                   </el-option>
                 </el-select>
               </el-form-item>
-              <el-form-item label="考试批次" prop="examIds">
+              <el-form-item label="考试" prop="examIds">
                 <el-select
                   :disabled="examDisabled"
                   v-model="formMarkWork.examIds"
                   filterable
                   multiple
-                  placeholder="考试批次"
+                  placeholder="考试"
                   style="width: 200px;"
                 >
                   <el-option
@@ -285,7 +285,7 @@ export default {
         examIds: [
           {
             required: true,
-            message: "请选择考试批次",
+            message: "请选择考试",
             trigger: "change",
             type: "array"
           }

+ 1 - 1
src/modules/oe/component/commonExport.vue

@@ -28,7 +28,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });

+ 2 - 2
src/modules/oe/component/commonForm.vue

@@ -1,7 +1,7 @@
 <template>
   <el-form :model="form" label-width="70px">
     <el-col :span="6">
-      <el-form-item label="考试批次">
+      <el-form-item label="考试">
         <el-select
           class="form_search_width"
           v-model="form.examId"
@@ -11,7 +11,7 @@
           @change="changeExam"
           clearable
           @clear="getExams"
-          placeholder="请选择考试批次"
+          placeholder="请选择考试"
           size="small"
         >
           <el-option

+ 1 - 1
src/modules/oe/views/absent.vue

@@ -148,7 +148,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });

+ 1 - 1
src/modules/oe/views/alreadyAudited.vue

@@ -399,7 +399,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 2000
         });

+ 1 - 1
src/modules/oe/views/awaitingAudit.vue

@@ -532,7 +532,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 2000
         });

+ 2 - 2
src/modules/oe/views/examDetail.vue

@@ -575,7 +575,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 2000
         });
@@ -632,7 +632,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });

+ 1 - 1
src/modules/oe/views/examScheduling.vue

@@ -577,7 +577,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 2000
         });

+ 3 - 3
src/modules/oe/views/examSummary.vue

@@ -4,7 +4,7 @@
       <el-row>
         <el-col :span="7">
           <el-form>
-            <el-form-item label="考试批次">
+            <el-form-item label="考试">
               <el-select
                 v-model="examId"
                 filterable
@@ -13,7 +13,7 @@
                 clearable
                 @clear="getExams"
                 @change="changeExam"
-                placeholder="请选择考试批次"
+                placeholder="请选择考试"
                 size="small"
               >
                 <el-option
@@ -677,7 +677,7 @@ export default {
       if (!this.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 2000
         });

+ 1 - 1
src/modules/oe/views/export_task_list.vue

@@ -5,7 +5,7 @@
       :inline="true"
       style="border-bottom: 1px solid rgb(221, 221, 221);margin-bottom: 10px;"
     >
-      <el-form-item label="考试名称">
+      <el-form-item label="考试">
         <el-select
           v-model="formSearch.examId"
           :remote-method="getExams"

+ 1 - 1
src/modules/oe/views/illegalityNameList.vue

@@ -280,7 +280,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });

+ 1 - 1
src/modules/oe/views/reexamine.vue

@@ -206,7 +206,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });

+ 2 - 2
src/modules/oe/views/scoreStatistics.vue

@@ -303,7 +303,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });
@@ -345,7 +345,7 @@ export default {
       if (!this.form.examId) {
         this.$notify({
           title: "警告",
-          message: "请选择考试批次",
+          message: "请选择考试",
           type: "warning",
           duration: 1000
         });