|
@@ -88,7 +88,7 @@
|
|
|
@click="get(stageIndex)"
|
|
|
:class="{ stageBoxIsCss: item.isOpen }"
|
|
|
>
|
|
|
- <div class="stageItemTitle">
|
|
|
+ <div class="stageItemTitle" :class="{ stageNav: item.isOpen }">
|
|
|
<div>阶段{{ stageIndex + 1 }}</div>
|
|
|
<el-tooltip
|
|
|
effect="light"
|
|
@@ -3435,11 +3435,27 @@
|
|
|
v-for="(item, index) in tool.askJson"
|
|
|
:key="index"
|
|
|
>
|
|
|
- <div>
|
|
|
- <span
|
|
|
- style="word-break: break-all; white-space: normal"
|
|
|
- >{{ index + 1 + "、" + item.askstitle }}</span
|
|
|
+ <div style="width: calc(100% - 30px);">
|
|
|
+ <el-tooltip
|
|
|
+ effect="light"
|
|
|
+ :content="index + 1 + '、' + item.askstitle"
|
|
|
+ placement="top"
|
|
|
+ popper-class="text_tooltip"
|
|
|
>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ width: calc(100% - 130px);
|
|
|
+ display: block;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ word-break: break-word;
|
|
|
+ cursor: pointer;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ index + 1 + "、" + item.askstitle }}
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
|
<div class="right_box_xuan">
|
|
|
<span>正确率</span>
|
|
@@ -3611,11 +3627,27 @@
|
|
|
: 0) + "%"
|
|
|
}}</span>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <span
|
|
|
- style="word-break: break-all; white-space: normal"
|
|
|
- >{{ index + 1 + "、" + item.teststitle }}</span
|
|
|
+ <div style="width: calc(100% - 30px);">
|
|
|
+ <el-tooltip
|
|
|
+ effect="light"
|
|
|
+ :content="index + 1 + '、' + item.teststitle"
|
|
|
+ placement="top"
|
|
|
+ popper-class="text_tooltip"
|
|
|
>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ width: calc(100% - 130px);
|
|
|
+ display: block;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ word-break: break-word;
|
|
|
+ cursor: pointer;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ index + 1 + "、" + item.teststitle }}
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -3788,6 +3820,7 @@
|
|
|
: worksStudent[toolIndex].slice(0, 6)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
+ style="width: 150px;height: 50px;line-height: 50px;"
|
|
|
@click="
|
|
|
openTools(
|
|
|
69,
|
|
@@ -3800,6 +3833,13 @@
|
|
|
"
|
|
|
>
|
|
|
{{ w.sName }}
|
|
|
+ <img
|
|
|
+ v-show="false"
|
|
|
+ class="deleteImg1"
|
|
|
+ src="../assets/evaEnglish.png"
|
|
|
+ @click.stop="openEnglishEva(w.wid,toolIndex)"
|
|
|
+ alt
|
|
|
+ />
|
|
|
<img
|
|
|
class="deleteImg deleteImg2"
|
|
|
src="../assets/deleteworks.png"
|
|
@@ -11238,7 +11278,7 @@
|
|
|
</div>
|
|
|
<div class="engText">
|
|
|
<div>作文题目:</div>
|
|
|
- <div v-html="englishList1.englishText"></div>
|
|
|
+ <div class="cont" v-html="englishList1.englishText" @click="checkImg(getImgList(englishList1.englishText))"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="correctBox" :style="{height: `calc(100% - ${topHeight}px)` }">
|
|
@@ -11250,10 +11290,14 @@
|
|
|
<div>标题:</div>
|
|
|
<div>{{ oldEnglishJson.engTitle }} </div>
|
|
|
</div>
|
|
|
- <div class="oldDetail">
|
|
|
+ <div class="oldDetail1">
|
|
|
<div>正文:</div>
|
|
|
<div v-html="oldEnglishJson.engText"></div>
|
|
|
</div>
|
|
|
+ <div class="oldDetail" v-if="oldEnglishJson.imgList && oldEnglishJson.imgList.length > 0">
|
|
|
+ <div>图片:</div>
|
|
|
+ <div class="oldImg"><img :src="oldEnglishJson.imgList[0].url" alt="" /></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -11332,6 +11376,7 @@
|
|
|
<el-button type="primary" @click="addCorrect">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <englishEva :evaEngJson="evaEngJson" :engEvaDialogVisible.sync="engEvaDialogVisible"></englishEva>
|
|
|
<interVideo
|
|
|
:dialogVisibleVideo.sync="dialogVisibleVideo"
|
|
|
:videoJson="videoJson"
|
|
@@ -11401,6 +11446,7 @@ import axios from "axios";
|
|
|
import JSZip from "jszip";
|
|
|
import FileSaver from "file-saver";
|
|
|
import onlineWrite from "./components/onlineWrite";
|
|
|
+import englishEva from "./components/englishEva";
|
|
|
|
|
|
const getFile = (url) => {
|
|
|
return new Promise((resolve, reject) => {
|
|
@@ -11437,6 +11483,7 @@ export default {
|
|
|
UpdateMore,
|
|
|
wordCloud,
|
|
|
onlineWrite,
|
|
|
+ englishEva,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -11471,7 +11518,13 @@ export default {
|
|
|
dialogVisibleVideo: false,
|
|
|
dialogVisiblePickPeople: false,
|
|
|
engDialogVisible: false,
|
|
|
- engUpdateDialogVisible:false,
|
|
|
+ engUpdateDialogVisible: false,
|
|
|
+ engEvaDialogVisible: false,
|
|
|
+ evaEngJson: {
|
|
|
+ username: "",
|
|
|
+ teacherJson: {},
|
|
|
+ studentJson: {},
|
|
|
+ },
|
|
|
isNoUserid:false,
|
|
|
engListLength:0,
|
|
|
engWid:"",
|
|
@@ -13499,6 +13552,23 @@ export default {
|
|
|
].toolChoose[toolindex].rateJson;
|
|
|
this.studentEvalDialogVisible = true;
|
|
|
},
|
|
|
+ openEnglishEva(id,i){
|
|
|
+ let params = {
|
|
|
+ wid: id
|
|
|
+ };
|
|
|
+ this.ajax
|
|
|
+ .get(this.$store.state.api + "selectEngWork", params)
|
|
|
+ .then((res) => {
|
|
|
+ this.evaEngJson.studentJson = JSON.parse(res.data[0][0].content);
|
|
|
+ this.evaEngJson.username = res.data[0][0].username;
|
|
|
+ this.evaEngJson.teacherJson = this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount]
|
|
|
+ .toolChoose[i].englishList;
|
|
|
+ this.engEvaDialogVisible = true;
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
deleteWorks(id) {
|
|
|
this.$confirm("确定删除此作业吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -18692,11 +18762,18 @@ export default {
|
|
|
}else{
|
|
|
var a = res.data[0];
|
|
|
if(this.userMes[0].type == 2){
|
|
|
+ var snum = 0;
|
|
|
for(var i = 0;i<a.length;i++){
|
|
|
if(this.userMes[0].userid == a[i].correct){
|
|
|
this.newEnglishList = JSON.parse(a[i].cWork);
|
|
|
+ snum = 1;
|
|
|
}
|
|
|
}
|
|
|
+ if(snum == 0){
|
|
|
+ this.newEnglishList = { engTitle:"",engText:"" };
|
|
|
+ this.newEnglishList.engTitle = z.engTitle;
|
|
|
+ this.newEnglishList.engText = z.engText;
|
|
|
+ }
|
|
|
}else if(this.userMes[0].type == 1){
|
|
|
var num = 0;
|
|
|
for(var w= 0;w<a.length;w++){
|
|
@@ -18953,13 +19030,6 @@ export default {
|
|
|
width: 100% !important;
|
|
|
min-width: unset !important;
|
|
|
}
|
|
|
-
|
|
|
- /* .textTitle >>> .el-form-item__label {
|
|
|
- width: 150px !important;
|
|
|
- } */
|
|
|
- /* .stageItemTitle > div:last-child{
|
|
|
- max-width: 50px;
|
|
|
- } */
|
|
|
}
|
|
|
|
|
|
.evaCssMax {
|
|
@@ -21969,7 +22039,7 @@ ol {
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
-.deleteImg {
|
|
|
+.deleteImg,.deleteImg1 {
|
|
|
width: 25px !important;
|
|
|
height: 25px !important;
|
|
|
cursor: pointer;
|
|
@@ -21979,12 +22049,19 @@ ol {
|
|
|
}
|
|
|
|
|
|
.deleteImg2 {
|
|
|
- width: 15px !important;
|
|
|
- height: 15px !important;
|
|
|
+ width: 23px !important;
|
|
|
+ height: 23px !important;
|
|
|
top: 5px;
|
|
|
right: 5px;
|
|
|
}
|
|
|
|
|
|
+.deleteImg1{
|
|
|
+ width: 23px !important;
|
|
|
+ height: 23px !important;
|
|
|
+ top: 5px !important;
|
|
|
+ right: 30px !important;
|
|
|
+}
|
|
|
+
|
|
|
.rightW {
|
|
|
right: 40px;
|
|
|
}
|
|
@@ -22695,14 +22772,13 @@ ol {
|
|
|
margin-left: 15px;
|
|
|
width: calc(100% - 50px);
|
|
|
}
|
|
|
+.stageNav{
|
|
|
+ /* font-weight: bold; */
|
|
|
+}
|
|
|
.stageItemTitle > div:first-child {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
min-width: 55px;
|
|
|
}
|
|
|
.stageItemTitle > div:last-child {
|
|
|
- font-size: 15px;
|
|
|
- font-weight: 600;
|
|
|
max-width: 242px;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
@@ -22782,7 +22858,7 @@ ol {
|
|
|
background: #ffffff;
|
|
|
border-radius: 4px;
|
|
|
width: 100%;
|
|
|
- margin: 10px auto 0;
|
|
|
+ margin: 10px auto;
|
|
|
position: relative;
|
|
|
height: 40px;
|
|
|
display: flex;
|
|
@@ -23186,10 +23262,25 @@ ol {
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
-.oldDetail{
|
|
|
+.oldDetail,.oldDetail1{
|
|
|
padding-bottom: 30px;
|
|
|
}
|
|
|
|
|
|
+.oldDetail1>div:last-child{
|
|
|
+ max-height: 200px;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
+.oldImg{
|
|
|
+ width:30px;
|
|
|
+ height: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.oldImg>img{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
.allName{
|
|
|
min-width: 200px;
|
|
|
white-space: nowrap;
|
|
@@ -23201,4 +23292,9 @@ ol {
|
|
|
border: 1px solid #bcc2cc;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
+
|
|
|
+.engUpTop{
|
|
|
+ max-height: 300px;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
</style>
|