|
@@ -2798,7 +2798,8 @@
|
|
|
<span>允许学生查看所有作业</span>
|
|
|
<el-switch v-model="sIsOpen" active-text="" class="switchCss" @change="updateSLook"></el-switch>
|
|
|
</div>
|
|
|
- <div class="switch_box" v-if="courseDetail.userid == userid || courseDetail.course_teacher.indexOf(userid) != -1">
|
|
|
+ <div class="switch_box"
|
|
|
+ v-if="courseDetail.userid == userid || courseDetail.course_teacher.indexOf(userid) != -1">
|
|
|
<!-- v-if="courseDetail.userid == userid || courseDetail.course_teacher.indexOf(userid) != -1" -->
|
|
|
<span>禁止学生查看所有阶段</span>
|
|
|
<el-switch v-model="IsLookOpen" active-text="" class="switchCss" @change="updateLookOpen"></el-switch>
|
|
@@ -2971,7 +2972,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="查看文档" :visible.sync="fullDialogVisible" :append-to-body="true" width="100%"
|
|
|
- :before-close="handleClose" :show-close="false" class="dialog_diy full_diy">
|
|
|
+ :before-close="handleClose" :show-close="false" class="dialog_diy full_diy" :class="{ full_diy2: fulltype == 3 }">
|
|
|
<div slot="title" class="header-title">
|
|
|
<div style="color: #fff">查看文档</div>
|
|
|
<div @click="fullDialogVisible = false" style="
|
|
@@ -9619,6 +9620,11 @@ export default {
|
|
|
height: calc(100% - 100px);
|
|
|
}
|
|
|
|
|
|
+.full_diy2>>>.el-dialog__body {
|
|
|
+ height: calc(100% - 50px);
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
.switchCss {
|
|
|
/* width: 100%; */
|
|
|
display: flex;
|
|
@@ -10897,5 +10903,4 @@ ol {
|
|
|
border-radius: 5px;
|
|
|
padding: 5px;
|
|
|
}
|
|
|
-
|
|
|
</style>
|