Explorar el Código

批量下载试卷题卡只给考务老师

zhangjie hace 4 años
padre
commit
bdf66f68ac
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/modules/exam/views/TaskPaperManage.vue

+ 3 - 3
src/modules/exam/views/TaskPaperManage.vue

@@ -38,7 +38,7 @@
           >
         </el-form-item>
       </el-form>
-      <div class="part-box-action" v-if="!IS_SCHOOL_ADMIN">
+      <div class="part-box-action" v-if="IS_EXAM_TEACHER">
         <el-button
           icon="el-icon-download"
           type="primary"
@@ -201,9 +201,9 @@ export default {
       IS_QUESTION_TEACHER: this.$ls
         .get("user", { roleList: [] })
         .roleList.includes("QUESTION_TEACHER"),
-      IS_SCHOOL_ADMIN: this.$ls
+      IS_EXAM_TEACHER: this.$ls
         .get("user", { roleList: [] })
-        .roleList.includes("SCHOOL_ADMIN"),
+        .roleList.includes("EXAM_TEACHER"),
       // date-picker
       createTime: [],
       pickerOptions