|
@@ -149,19 +149,8 @@
|
|
>
|
|
>
|
|
全屏
|
|
全屏
|
|
</div> -->
|
|
</div> -->
|
|
- <div
|
|
|
|
- class="returnBtn"
|
|
|
|
- @click="refreshCourse"
|
|
|
|
- >
|
|
|
|
- 刷新
|
|
|
|
- </div>
|
|
|
|
- <div
|
|
|
|
- class="returnBtn"
|
|
|
|
- @click="setPz"
|
|
|
|
- v-if="tType == 1"
|
|
|
|
- >
|
|
|
|
- 评课
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="returnBtn" @click="refreshCourse">刷新</div>
|
|
|
|
+ <div class="returnBtn" @click="setPz" v-if="tType == 1">评课</div>
|
|
<div
|
|
<div
|
|
class="returnBtn"
|
|
class="returnBtn"
|
|
@click="startRecording"
|
|
@click="startRecording"
|
|
@@ -274,7 +263,11 @@
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
- style="padding: 15px 0 15px 20px; line-height: 29px;font-size:18px;"
|
|
|
|
|
|
+ style="
|
|
|
|
+ padding: 15px 0 15px 20px;
|
|
|
|
+ line-height: 29px;
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ "
|
|
class="cont"
|
|
class="cont"
|
|
v-if="
|
|
v-if="
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
@@ -2521,7 +2514,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -2673,7 +2668,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -2825,7 +2822,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -3064,7 +3063,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -3224,7 +3225,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -3365,7 +3368,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -3455,13 +3460,9 @@
|
|
<div
|
|
<div
|
|
class="answerBg"
|
|
class="answerBg"
|
|
style="border-radius: 15px 15px 0 0"
|
|
style="border-radius: 15px 15px 0 0"
|
|
- @click="commentOther(
|
|
|
|
- w,
|
|
|
|
- toolIndex,
|
|
|
|
- wIndex,
|
|
|
|
- null,
|
|
|
|
- g.id
|
|
|
|
- )"
|
|
|
|
|
|
+ @click="
|
|
|
|
+ commentOther(w, toolIndex, wIndex, null, g.id)
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<div class="answerContent">
|
|
<div class="answerContent">
|
|
{{ JSON.parse(w.works)[0].answer }}
|
|
{{ JSON.parse(w.works)[0].answer }}
|
|
@@ -3658,7 +3659,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -3813,13 +3816,15 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
- @click="commentOther(
|
|
|
|
|
|
+ @click="
|
|
|
|
+ commentOther(
|
|
w,
|
|
w,
|
|
toolIndex,
|
|
toolIndex,
|
|
wIndex,
|
|
wIndex,
|
|
null,
|
|
null,
|
|
g.id
|
|
g.id
|
|
- )"
|
|
|
|
|
|
+ )
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
src="../assets/icon/comment/comment.png"
|
|
src="../assets/icon/comment/comment.png"
|
|
@@ -3931,7 +3936,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -4086,13 +4093,15 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
- @click="commentOther(
|
|
|
|
|
|
+ @click="
|
|
|
|
+ commentOther(
|
|
w,
|
|
w,
|
|
toolIndex,
|
|
toolIndex,
|
|
wIndex,
|
|
wIndex,
|
|
null,
|
|
null,
|
|
g.id
|
|
g.id
|
|
- )"
|
|
|
|
|
|
+ )
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
src="../assets/icon/comment/comment.png"
|
|
src="../assets/icon/comment/comment.png"
|
|
@@ -4204,7 +4213,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -4359,13 +4370,15 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
- @click="commentOther(
|
|
|
|
|
|
+ @click="
|
|
|
|
+ commentOther(
|
|
w,
|
|
w,
|
|
toolIndex,
|
|
toolIndex,
|
|
wIndex,
|
|
wIndex,
|
|
null,
|
|
null,
|
|
g.id
|
|
g.id
|
|
- )"
|
|
|
|
|
|
+ )
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
src="../assets/icon/comment/comment.png"
|
|
src="../assets/icon/comment/comment.png"
|
|
@@ -4477,7 +4490,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -4631,13 +4646,15 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
- @click="commentOther(
|
|
|
|
|
|
+ @click="
|
|
|
|
+ commentOther(
|
|
w,
|
|
w,
|
|
toolIndex,
|
|
toolIndex,
|
|
wIndex,
|
|
wIndex,
|
|
null,
|
|
null,
|
|
g.id
|
|
g.id
|
|
- )"
|
|
|
|
|
|
+ )
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
src="../assets/icon/comment/comment.png"
|
|
src="../assets/icon/comment/comment.png"
|
|
@@ -4749,7 +4766,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -4850,7 +4869,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -4974,7 +4995,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -5139,7 +5162,9 @@
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -5362,7 +5387,9 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -5513,7 +5540,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -5735,7 +5764,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="font-size: 18px" v-if="courseDetail.juri != ''">未提交</div>
|
|
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
<div class="noWorksS">
|
|
<div class="noWorksS">
|
|
<div
|
|
<div
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
@@ -6809,13 +6840,13 @@
|
|
{{ index1 + 1 + "、" }}
|
|
{{ index1 + 1 + "、" }}
|
|
<div
|
|
<div
|
|
v-if="testJson.testJson[index1].type == '1'"
|
|
v-if="testJson.testJson[index1].type == '1'"
|
|
- style="margin-right: 5px"
|
|
|
|
|
|
+ style="margin-right: 5px; min-width: 70px"
|
|
>
|
|
>
|
|
(单选题)
|
|
(单选题)
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
v-if="testJson.testJson[index1].type == '2'"
|
|
v-if="testJson.testJson[index1].type == '2'"
|
|
- style="margin-right: 5px"
|
|
|
|
|
|
+ style="margin-right: 5px; min-width: 70px"
|
|
>
|
|
>
|
|
(多选题)
|
|
(多选题)
|
|
</div>
|
|
</div>
|
|
@@ -6936,13 +6967,13 @@
|
|
{{ index1 + 1 + "、" }}
|
|
{{ index1 + 1 + "、" }}
|
|
<div
|
|
<div
|
|
v-if="testJson.testJson[index1].type == '1'"
|
|
v-if="testJson.testJson[index1].type == '1'"
|
|
- style="margin-right: 5px"
|
|
|
|
|
|
+ style="margin-right: 5px; min-width: 70px"
|
|
>
|
|
>
|
|
(单选题)
|
|
(单选题)
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
v-if="testJson.testJson[index1].type == '2'"
|
|
v-if="testJson.testJson[index1].type == '2'"
|
|
- style="margin-right: 5px"
|
|
|
|
|
|
+ style="margin-right: 5px; min-width: 70px"
|
|
>
|
|
>
|
|
(多选题)
|
|
(多选题)
|
|
</div>
|
|
</div>
|
|
@@ -7628,10 +7659,10 @@
|
|
<div
|
|
<div
|
|
class="wheel"
|
|
class="wheel"
|
|
v-if="
|
|
v-if="
|
|
- fulltype == 2 &&
|
|
|
|
|
|
+ fulltype == 2 &&
|
|
fullUrl.indexOf(
|
|
fullUrl.indexOf(
|
|
'https://view.officeapps.live.com/op/view.aspx?src='
|
|
'https://view.officeapps.live.com/op/view.aspx?src='
|
|
- ) != -1
|
|
|
|
|
|
+ ) != -1
|
|
"
|
|
"
|
|
style="width: 95%; margin: 0 auto"
|
|
style="width: 95%; margin: 0 auto"
|
|
>
|
|
>
|
|
@@ -8491,9 +8522,17 @@
|
|
class="dialog_diy"
|
|
class="dialog_diy"
|
|
>
|
|
>
|
|
<el-form>
|
|
<el-form>
|
|
- <div style="display: flex;align-items: center;justify-content: space-between;">
|
|
|
|
- <span>表格内容</span>
|
|
|
|
- <el-button type="primary" size="small" @click="returnTableText">还原模板</el-button>
|
|
|
|
|
|
+ <div
|
|
|
|
+ style="
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <span>表格内容</span>
|
|
|
|
+ <el-button type="primary" size="small" @click="returnTableText"
|
|
|
|
+ >还原模板</el-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
<Table
|
|
<Table
|
|
v-model="tableJson.text"
|
|
v-model="tableJson.text"
|
|
@@ -8539,9 +8578,17 @@
|
|
class="dialog_diy"
|
|
class="dialog_diy"
|
|
>
|
|
>
|
|
<el-form>
|
|
<el-form>
|
|
- <div style="display: flex;align-items: center;justify-content: space-between;">
|
|
|
|
- <span>文档内容</span>
|
|
|
|
- <el-button type="primary" size="small" @click="returnWordText">还原模板</el-button>
|
|
|
|
|
|
+ <div
|
|
|
|
+ style="
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <span>文档内容</span>
|
|
|
|
+ <el-button type="primary" size="small" @click="returnWordText"
|
|
|
|
+ >还原模板</el-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
<editor-bar
|
|
<editor-bar
|
|
v-model="wordJson.text"
|
|
v-model="wordJson.text"
|
|
@@ -9299,14 +9346,14 @@
|
|
<el-button type="primary" @click="updateName">确 定</el-button>
|
|
<el-button type="primary" @click="updateName">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <interVideo
|
|
|
|
- :dialogVisibleVideo.sync="dialogVisibleVideo"
|
|
|
|
- :videoJson="videoJson"
|
|
|
|
- :userid="userid"
|
|
|
|
- :id="id"
|
|
|
|
- :courseType="courseType"
|
|
|
|
- :taskCount="taskCount"
|
|
|
|
- :toolindex="toolindex"
|
|
|
|
|
|
+ <interVideo
|
|
|
|
+ :dialogVisibleVideo.sync="dialogVisibleVideo"
|
|
|
|
+ :videoJson="videoJson"
|
|
|
|
+ :userid="userid"
|
|
|
|
+ :id="id"
|
|
|
|
+ :courseType="courseType"
|
|
|
|
+ :taskCount="taskCount"
|
|
|
|
+ :toolindex="toolindex"
|
|
></interVideo>
|
|
></interVideo>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -9330,7 +9377,7 @@ import Audio from "./components/audio.vue";
|
|
import ImgDraw from "./tools/imgDraw/imgDraw";
|
|
import ImgDraw from "./tools/imgDraw/imgDraw";
|
|
import { Empty } from "element-ui";
|
|
import { Empty } from "element-ui";
|
|
import RecordRTC from "recordrtc";
|
|
import RecordRTC from "recordrtc";
|
|
-import interVideo from "./interVideo/index.vue"
|
|
|
|
|
|
+import interVideo from "./interVideo/index.vue";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -9347,7 +9394,7 @@ export default {
|
|
Audio,
|
|
Audio,
|
|
ImgDraw,
|
|
ImgDraw,
|
|
Table,
|
|
Table,
|
|
- interVideo
|
|
|
|
|
|
+ interVideo,
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -9372,12 +9419,12 @@ export default {
|
|
dialogVisibleWord: false,
|
|
dialogVisibleWord: false,
|
|
dialogVisibleWordTeacher: false,
|
|
dialogVisibleWordTeacher: false,
|
|
dialogVisibleTable2: false,
|
|
dialogVisibleTable2: false,
|
|
- dialogVisibleTable3:false,
|
|
|
|
|
|
+ dialogVisibleTable3: false,
|
|
dialogVisibleGroupWork: false,
|
|
dialogVisibleGroupWork: false,
|
|
dialogVisibleUpdateGroup: false,
|
|
dialogVisibleUpdateGroup: false,
|
|
dialogVisibleDeleteGroup: false,
|
|
dialogVisibleDeleteGroup: false,
|
|
dialogVisibleSname: false,
|
|
dialogVisibleSname: false,
|
|
- dialogVisibleVideo:false,
|
|
|
|
|
|
+ dialogVisibleVideo: false,
|
|
worksSName: "",
|
|
worksSName: "",
|
|
classJuri: [],
|
|
classJuri: [],
|
|
uploadStudentJuri: [],
|
|
uploadStudentJuri: [],
|
|
@@ -9616,7 +9663,7 @@ export default {
|
|
fullUrl: "",
|
|
fullUrl: "",
|
|
commentIndexJson: {},
|
|
commentIndexJson: {},
|
|
Stbodywidth: 0,
|
|
Stbodywidth: 0,
|
|
- ispzType:0,
|
|
|
|
|
|
+ ispzType: 0,
|
|
pzType: 1,
|
|
pzType: 1,
|
|
wScore: 0,
|
|
wScore: 0,
|
|
scoreDetail: "",
|
|
scoreDetail: "",
|
|
@@ -9638,7 +9685,7 @@ export default {
|
|
courseGroupStudentUid: [],
|
|
courseGroupStudentUid: [],
|
|
courseGroup: {},
|
|
courseGroup: {},
|
|
isGroup: false,
|
|
isGroup: false,
|
|
- videoJson:{},
|
|
|
|
|
|
+ videoJson: {},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -9854,14 +9901,14 @@ export default {
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- returnTableText(){
|
|
|
|
|
|
+ returnTableText() {
|
|
this.$confirm("确定还原此模板吗?", "提示", {
|
|
this.$confirm("确定还原此模板吗?", "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
type: "warning",
|
|
type: "warning",
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- this.tableJson = JSON.parse(JSON.stringify(this.tableJsonO))
|
|
|
|
|
|
+ this.tableJson = JSON.parse(JSON.stringify(this.tableJsonO));
|
|
})
|
|
})
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
@@ -9923,28 +9970,30 @@ export default {
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- returnWordText(){
|
|
|
|
|
|
+ returnWordText() {
|
|
this.$confirm("确定还原此模板吗?", "提示", {
|
|
this.$confirm("确定还原此模板吗?", "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
type: "warning",
|
|
type: "warning",
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- this.wordJson = JSON.parse(JSON.stringify(this.wordJsonO))
|
|
|
|
|
|
+ this.wordJson = JSON.parse(JSON.stringify(this.wordJsonO));
|
|
})
|
|
})
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
addWordWorks() {
|
|
addWordWorks() {
|
|
- let params = [{
|
|
|
|
- uid: this.userid,
|
|
|
|
- cid: this.id,
|
|
|
|
- stage: this.courseType,
|
|
|
|
- task: this.taskCount,
|
|
|
|
- tool: this.toolindex,
|
|
|
|
- content: JSON.stringify(this.wordJson).replaceAll(/%/g, "%25"),
|
|
|
|
- type: 13,
|
|
|
|
- atool: 52,
|
|
|
|
- }];
|
|
|
|
|
|
+ let params = [
|
|
|
|
+ {
|
|
|
|
+ uid: this.userid,
|
|
|
|
+ cid: this.id,
|
|
|
|
+ stage: this.courseType,
|
|
|
|
+ task: this.taskCount,
|
|
|
|
+ tool: this.toolindex,
|
|
|
|
+ content: JSON.stringify(this.wordJson).replaceAll(/%/g, "%25"),
|
|
|
|
+ type: 13,
|
|
|
|
+ atool: 52,
|
|
|
|
+ },
|
|
|
|
+ ];
|
|
console.log(params);
|
|
console.log(params);
|
|
this.ajax
|
|
this.ajax
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
@@ -9964,16 +10013,18 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
addWordWorksTeacher() {
|
|
addWordWorksTeacher() {
|
|
- let params = [{
|
|
|
|
- uid: this.sStudent.userid,
|
|
|
|
- cid: this.id,
|
|
|
|
- stage: this.courseType,
|
|
|
|
- task: this.taskCount,
|
|
|
|
- tool: this.toolindex,
|
|
|
|
- content: JSON.stringify(this.wordJson).replaceAll(/%/g, "%25"),
|
|
|
|
- type: 13,
|
|
|
|
- atool: 52,
|
|
|
|
- }];
|
|
|
|
|
|
+ let params = [
|
|
|
|
+ {
|
|
|
|
+ uid: this.sStudent.userid,
|
|
|
|
+ cid: this.id,
|
|
|
|
+ stage: this.courseType,
|
|
|
|
+ task: this.taskCount,
|
|
|
|
+ tool: this.toolindex,
|
|
|
|
+ content: JSON.stringify(this.wordJson).replaceAll(/%/g, "%25"),
|
|
|
|
+ type: 13,
|
|
|
|
+ atool: 52,
|
|
|
|
+ },
|
|
|
|
+ ];
|
|
console.log(params);
|
|
console.log(params);
|
|
this.ajax
|
|
this.ajax
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
.post(this.$store.state.api + "addCourseWorks3-2", params)
|
|
@@ -11100,7 +11151,7 @@ export default {
|
|
var d = res.data[1];
|
|
var d = res.data[1];
|
|
var e = res.data[2];
|
|
var e = res.data[2];
|
|
var f = res.data[3];
|
|
var f = res.data[3];
|
|
- let _worksStudent = []
|
|
|
|
|
|
+ let _worksStudent = [];
|
|
for (var i = 0; i < a.length; i++) {
|
|
for (var i = 0; i < a.length; i++) {
|
|
_worksStudent[i] = [];
|
|
_worksStudent[i] = [];
|
|
if (
|
|
if (
|
|
@@ -11165,7 +11216,10 @@ export default {
|
|
if (i == b[j].tool) {
|
|
if (i == b[j].tool) {
|
|
if (data.type == 2 && a[i].tool[0] == 4) {
|
|
if (data.type == 2 && a[i].tool[0] == 4) {
|
|
// if(JSON.parse(data.content)[0].anwer){
|
|
// if(JSON.parse(data.content)[0].anwer){
|
|
- var checkL = JSON.parse(data.content)[0].anwer instanceof Array ? JSON.parse(data.content)[0].anwer : JSON.parse(data.content)[0].anwer.split(",");
|
|
|
|
|
|
+ var checkL =
|
|
|
|
+ JSON.parse(data.content)[0].anwer instanceof Array
|
|
|
|
+ ? JSON.parse(data.content)[0].anwer
|
|
|
|
+ : JSON.parse(data.content)[0].anwer.split(",");
|
|
for (var z = 0; z < checkL.length; z++) {
|
|
for (var z = 0; z < checkL.length; z++) {
|
|
if (!this.checkJson[i][z]) {
|
|
if (!this.checkJson[i][z]) {
|
|
this.checkJson[i].push({
|
|
this.checkJson[i].push({
|
|
@@ -11920,7 +11974,7 @@ export default {
|
|
if (this.dialogVisibleGroup && (gindex || gindex === 0)) {
|
|
if (this.dialogVisibleGroup && (gindex || gindex === 0)) {
|
|
this.joinGroup(gindex);
|
|
this.joinGroup(gindex);
|
|
}
|
|
}
|
|
- this.worksStudent = _worksStudent
|
|
|
|
|
|
+ this.worksStudent = _worksStudent;
|
|
this.selectWorksStudent();
|
|
this.selectWorksStudent();
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
@@ -12825,10 +12879,10 @@ export default {
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- refreshCourse(){
|
|
|
|
|
|
+ refreshCourse() {
|
|
// window.location.reload();
|
|
// window.location.reload();
|
|
this.navList = [];
|
|
this.navList = [];
|
|
- this.getCourseDetail(1)
|
|
|
|
|
|
+ this.getCourseDetail(1);
|
|
},
|
|
},
|
|
getCourseDetail(type, gindex) {
|
|
getCourseDetail(type, gindex) {
|
|
let loading;
|
|
let loading;
|
|
@@ -13405,14 +13459,14 @@ export default {
|
|
})
|
|
})
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
- setPz(){
|
|
|
|
- if(this.ispzType == 4){
|
|
|
|
- this.ispzType = 0
|
|
|
|
- this.pzDialog = false
|
|
|
|
|
|
+ setPz() {
|
|
|
|
+ if (this.ispzType == 4) {
|
|
|
|
+ this.ispzType = 0;
|
|
|
|
+ this.pzDialog = false;
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- this.ispzType = 4
|
|
|
|
- this.pzDialog = true
|
|
|
|
|
|
+ this.ispzType = 4;
|
|
|
|
+ this.pzDialog = true;
|
|
this.selectPz();
|
|
this.selectPz();
|
|
},
|
|
},
|
|
selectPz() {
|
|
selectPz() {
|
|
@@ -13727,9 +13781,9 @@ export default {
|
|
},
|
|
},
|
|
onPlayerPlay() {},
|
|
onPlayerPlay() {},
|
|
onPlayerTimeupdate(player) {
|
|
onPlayerTimeupdate(player) {
|
|
- let gklog = player.cache_.currentTime;//当前播放的秒数
|
|
|
|
- let a=player.cache_.duration//视频的总时长
|
|
|
|
- let gklog2 = parseInt(gklog)
|
|
|
|
|
|
+ let gklog = player.cache_.currentTime; //当前播放的秒数
|
|
|
|
+ let a = player.cache_.duration; //视频的总时长
|
|
|
|
+ let gklog2 = parseInt(gklog);
|
|
// if(gklog2 == '3'){
|
|
// if(gklog2 == '3'){
|
|
// player.pause()
|
|
// player.pause()
|
|
// setTimeout(()=>{
|
|
// setTimeout(()=>{
|
|
@@ -13795,7 +13849,7 @@ export default {
|
|
if (url.indexOf("https://") == -1 && url.indexOf("http://") == -1) {
|
|
if (url.indexOf("https://") == -1 && url.indexOf("http://") == -1) {
|
|
url = "https://" + url;
|
|
url = "https://" + url;
|
|
}
|
|
}
|
|
- this.pptImgUrl1 = ""
|
|
|
|
|
|
+ this.pptImgUrl1 = "";
|
|
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.pptImgUrl1 = url;
|
|
this.pptImgUrl1 = url;
|
|
@@ -14606,7 +14660,7 @@ export default {
|
|
)
|
|
)
|
|
)
|
|
)
|
|
: { text: "" };
|
|
: { text: "" };
|
|
- this.tableJsonO = JSON.parse(JSON.stringify(this.tableJson))
|
|
|
|
|
|
+ this.tableJsonO = JSON.parse(JSON.stringify(this.tableJson));
|
|
if (this.worksStudent[i].length) {
|
|
if (this.worksStudent[i].length) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
if (this.userid == this.worksStudent[i][k].userid) {
|
|
if (this.userid == this.worksStudent[i][k].userid) {
|
|
@@ -14627,7 +14681,7 @@ export default {
|
|
)
|
|
)
|
|
)
|
|
)
|
|
: { text: "" };
|
|
: { text: "" };
|
|
- this.wordJsonO = JSON.parse(JSON.stringify(this.wordJson))
|
|
|
|
|
|
+ this.wordJsonO = JSON.parse(JSON.stringify(this.wordJson));
|
|
if (this.worksStudent[i].length) {
|
|
if (this.worksStudent[i].length) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
if (this.userid == this.worksStudent[i][k].userid) {
|
|
if (this.userid == this.worksStudent[i][k].userid) {
|
|
@@ -15934,7 +15988,7 @@ export default {
|
|
padding: 20px;
|
|
padding: 20px;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
word-break: break-word;
|
|
word-break: break-word;
|
|
- font-size:18px;
|
|
|
|
|
|
+ font-size: 18px;
|
|
}
|
|
}
|
|
|
|
|
|
.file {
|
|
.file {
|
|
@@ -16668,8 +16722,6 @@ export default {
|
|
margin: 10px 0;
|
|
margin: 10px 0;
|
|
background: #fff;
|
|
background: #fff;
|
|
padding: 15px;
|
|
padding: 15px;
|
|
- max-height: 400px;
|
|
|
|
- overflow: auto;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.a_add_box {
|
|
.a_add_box {
|
|
@@ -18322,7 +18374,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
/* code 样式 */
|
|
/* code 样式 */
|
|
-.cont{
|
|
|
|
|
|
+.cont {
|
|
/* -webkit-user-modify: read-write; */
|
|
/* -webkit-user-modify: read-write; */
|
|
overflow-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
-webkit-line-break: after-white-space;
|
|
-webkit-line-break: after-white-space;
|
|
@@ -18903,9 +18955,9 @@ ol {
|
|
|
|
|
|
.radioBox {
|
|
.radioBox {
|
|
display: flex;
|
|
display: flex;
|
|
- flex-direction: row;
|
|
|
|
|
|
+ flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
- align-items: center;
|
|
|
|
|
|
+ align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
|
|
.radioBox > div {
|
|
.radioBox > div {
|
|
@@ -18923,6 +18975,15 @@ ol {
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.radioBox >>> .el-radio__label > span {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ white-space: normal !important;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ word-wrap: break-word;
|
|
|
|
+}
|
|
|
|
+
|
|
.inImg {
|
|
.inImg {
|
|
width: 100px;
|
|
width: 100px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|