|
@@ -10,7 +10,7 @@
|
|
|
box-sizing: border-box;
|
|
|
"
|
|
|
>
|
|
|
- <div class="btnAllNT" v-if="false">
|
|
|
+ <div class="btnAllNT">
|
|
|
<!-- <img src="../../assets/icon/learn/screen.png" @click="allScrell" /> -->
|
|
|
<img
|
|
|
v-if="
|
|
@@ -236,10 +236,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- :class="{ navLeftCss: !mlDialog }" -->
|
|
|
- <div class="body_student" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
- <div class="new_topFixed" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }"></div>
|
|
|
- <div class="new_top" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
+ <div class="body_student" :class="{ navLeftCss: !mlDialog }">
|
|
|
+ <div class="new_topFixed"></div>
|
|
|
+ <div class="new_top" :class="{ navLeftCss: !mlDialog }">
|
|
|
<div class="courseIndex">
|
|
|
<div>任务{{ taskCount + 1 }}</div>
|
|
|
<el-tooltip
|
|
@@ -8037,22 +8036,6 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
- <classRoomHelper ref="classRoomHelperRef" @setWidth="setClassRoomHelperWidth" @refresh="refreshCourse" @goStep="nextOrpreSteps" @authority="juriVisible = true" @backPage="goTo(
|
|
|
- '/courseDetail?userid=' +
|
|
|
- userid +
|
|
|
- '&oid=' +
|
|
|
- oid +
|
|
|
- '&org=' +
|
|
|
- org +
|
|
|
- '&cid=' +
|
|
|
- classId +
|
|
|
- '&courseId=' +
|
|
|
- id +
|
|
|
- '&tType=' +
|
|
|
- tType +
|
|
|
- '&screenType=' +
|
|
|
- screenType
|
|
|
- )"></classRoomHelper>
|
|
|
</div>
|
|
|
<div
|
|
|
class="pButton"
|
|
@@ -8063,7 +8046,7 @@
|
|
|
<!-- 批 -->
|
|
|
<img src="../assets/mlBtn.png" style="width: 25px" alt="" />
|
|
|
</div>
|
|
|
- <div v-if="pzDialog == true" class="newDialogCss" :style="`right:${commentRight}`">
|
|
|
+ <div v-if="pzDialog == true" class="newDialogCss">
|
|
|
<div class="pzTop2">
|
|
|
<!-- <div>评论</div>
|
|
|
<div @click="pzDialog = false">
|
|
@@ -11870,7 +11853,6 @@ import EnglishVoice from './EnglishVoice2/index.vue'
|
|
|
import checkEnglishVoice from './checkEnglishVoice/index.vue'
|
|
|
import correctText from './components/correctText.vue'
|
|
|
import scoreItem from './scoreList/scoreItem.vue'
|
|
|
-import classRoomHelper from './classRoomHelper/index.vue'
|
|
|
|
|
|
const getFile = (url) => {
|
|
|
return new Promise((resolve, reject) => {
|
|
@@ -11944,8 +11926,7 @@ export default {
|
|
|
EnglishVoice,
|
|
|
checkEnglishVoice,
|
|
|
correctText,
|
|
|
- scoreItem,
|
|
|
- classRoomHelper
|
|
|
+ scoreItem
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -12309,7 +12290,6 @@ export default {
|
|
|
listdata:[],
|
|
|
isScoreList:[],
|
|
|
},
|
|
|
- classRoomHelperWidth: '85px'
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -12350,7 +12330,7 @@ export default {
|
|
|
{
|
|
|
role: "user",
|
|
|
content:
|
|
|
- `Role: 你是一名小学英语作文的老师,根据这篇文章的内容你去批改这篇文章,然后仅输出一篇纠错好的文章。文章:${t}`,
|
|
|
+ `Role: 你是一名小学英语作文的老师,根据这篇文章的内容你去批改这篇文章,然后仅输出一篇纠错好的文章。文章:${t}`,
|
|
|
},
|
|
|
],
|
|
|
uid: this.userid,
|
|
@@ -12745,7 +12725,6 @@ export default {
|
|
|
} else if (document.querySelector(".workd_media")) {
|
|
|
document.querySelector(".workd_media").style.height = "auto";
|
|
|
}
|
|
|
- this.$forceUpdate();
|
|
|
},
|
|
|
openToolAll() {
|
|
|
this.toolDialogVisible = true;
|
|
@@ -16095,7 +16074,7 @@ export default {
|
|
|
}, 0)
|
|
|
})
|
|
|
}
|
|
|
- this.showType = 0;
|
|
|
+ this.showType = 7;
|
|
|
this.isNoHomeWork = false;
|
|
|
(this.studyJuri = [
|
|
|
{
|
|
@@ -19813,10 +19792,7 @@ export default {
|
|
|
.catch((err) => {
|
|
|
console.error(err);
|
|
|
});
|
|
|
- },
|
|
|
- setClassRoomHelperWidth(width){
|
|
|
- this.classRoomHelperWidth = width
|
|
|
- }
|
|
|
+ }
|
|
|
},
|
|
|
directives: {
|
|
|
// 使用局部注册指令的方式
|
|
@@ -19872,15 +19848,6 @@ export default {
|
|
|
: "";
|
|
|
};
|
|
|
},
|
|
|
- commentRight(){
|
|
|
- if(this.$refs["classRoomHelperRef"].type==0){
|
|
|
- return "100px";
|
|
|
- }else if(this.$refs["classRoomHelperRef"].type==1){
|
|
|
- return "502px"
|
|
|
- }else{
|
|
|
- return "0px"
|
|
|
- }
|
|
|
- },
|
|
|
checkUpload() {
|
|
|
return function () {
|
|
|
var studentK = [];
|