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