|
@@ -39,7 +39,7 @@
|
|
|
<div class="pb_left" v-else-if="!(IsFollow && tType == 2)">
|
|
|
<!-- <div class="courseTitle">{{ courseDetail.title }}</div> -->
|
|
|
<div style="border-bottom: 1px solid #cad1dc; width: 100%">
|
|
|
- <div class="courseTitle">
|
|
|
+ <div class="courseTitle" :style="{ margin: tcid && inviteCode && '10px auto 0px'}">
|
|
|
<div
|
|
|
style="
|
|
|
max-width: calc(100% - 40px);
|
|
@@ -70,7 +70,7 @@
|
|
|
<div
|
|
|
class="inviteBox"
|
|
|
v-if="tcid && inviteCode"
|
|
|
- style="padding: 0 0 15px 0"
|
|
|
+ style="padding: 0 0 8px 0"
|
|
|
>
|
|
|
<div>
|
|
|
<span>随机码:{{ inviteCode }}</span>
|
|
@@ -86,7 +86,9 @@
|
|
|
<div
|
|
|
class="stageBoxCss"
|
|
|
@click="get(stageIndex)"
|
|
|
- :class="{ stageBoxIsCss: item.isOpen }"
|
|
|
+ :class="{
|
|
|
+ // stageBoxIsCss: stageIndex == courseType,
|
|
|
+ }"
|
|
|
>
|
|
|
<div class="stageItemTitle" :class="{ stageNav: item.isOpen }">
|
|
|
<div>阶段{{ stageIndex + 1 }}</div>
|
|
@@ -100,10 +102,10 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- <div class="closeTri" v-if="item.isOpen">
|
|
|
+ <!-- <div class="closeTri" v-if="stageIndex == courseType" :style="{transform:item.isOpen ? 'rotate(0deg)' : 'rotate(-90deg)'}">
|
|
|
<img src="../assets/icon/newIcons/downC.png" alt />
|
|
|
- </div>
|
|
|
- <div class="closeTri" v-else>
|
|
|
+ </div> -->
|
|
|
+ <div class="closeTri" :style="{transform:item.isOpen ? 'rotate(90deg)' : 'rotate(0deg)'}">
|
|
|
<img src="../assets/icon/newIcons/right.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -723,9 +725,6 @@
|
|
|
<span v-if="vitem.text">{{ vitem.text }}-</span
|
|
|
>{{ vitem.name }}
|
|
|
</div>
|
|
|
- <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
- <img src="../assets/icon/newIcon/down.png" alt />
|
|
|
- </div>
|
|
|
<div
|
|
|
class="downIcon"
|
|
|
@click="checkFileFull1(vitem.type, vitem)"
|
|
@@ -735,15 +734,15 @@
|
|
|
alt
|
|
|
/>
|
|
|
</div>
|
|
|
+ <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <img src="../assets/icon/newIcon/down.png" alt />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 12">
|
|
|
<div class="navText" @click="downloadFile2(vitem)">
|
|
|
<span v-if="vitem.text">{{ vitem.text }}-</span
|
|
|
>{{ vitem.name }}
|
|
|
</div>
|
|
|
- <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
- <img src="../assets/icon/newIcon/down.png" alt />
|
|
|
- </div>
|
|
|
<div
|
|
|
class="downIcon"
|
|
|
@click="checkFileFull1(vitem.type, vitem)"
|
|
@@ -753,6 +752,9 @@
|
|
|
alt
|
|
|
/>
|
|
|
</div>
|
|
|
+ <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <img src="../assets/icon/newIcon/down.png" alt />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 13">
|
|
|
<div
|
|
@@ -884,7 +886,7 @@
|
|
|
<div class="bzBox">
|
|
|
<div class="yCss"></div>
|
|
|
<div :ref="'bz' + toolIndex" :id="'gj' + toolIndex">
|
|
|
- 步骤{{ toolIndex + 1 }}
|
|
|
+ 工具{{ toolIndex + 1 }}
|
|
|
</div>
|
|
|
<div
|
|
|
v-if="timeWorkList[toolIndex].length > 0"
|
|
@@ -1305,21 +1307,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="tooldetail" v-if="tool.toolDetail != ''">
|
|
|
+ <div class="tooldetail" v-if="tool.toolDetail != ''" :class="{isUpdateToolDetailClass:toolDetailIndex == toolIndex}">
|
|
|
<!-- <div class="toolTitle">工具描述</div> -->
|
|
|
- <div
|
|
|
+ <div style="height:100%;"
|
|
|
v-html="contentConvent(tool.toolDetail)"
|
|
|
v-if="toolDetailIndex != toolIndex"
|
|
|
- @click.stop="updateToolDetail(toolIndex)"
|
|
|
+ @click.stop="updateToolDetail(toolIndex, 2)"
|
|
|
></div>
|
|
|
- <div v-else @click.stop="">
|
|
|
- <el-input
|
|
|
- type="textarea"
|
|
|
- :rows="3"
|
|
|
- resize="none"
|
|
|
- v-model="updateToolDetailInner"
|
|
|
- placeholder="请输入任务描述"
|
|
|
- ></el-input>
|
|
|
+ <div v-else @click.stop="" style="height:100%;">
|
|
|
+ <textarea @change="() => { $forceUpdate() }" class="checkTextArea" rows="3" v-autoHeight="70" type="text" placeholder="请输入任务描述" v-model="updateToolDetailInner"></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-button
|
|
@@ -2303,8 +2299,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -2313,7 +2309,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -2613,7 +2609,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -2871,7 +2867,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -2905,7 +2901,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -3028,7 +3024,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -3062,7 +3058,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -3184,7 +3180,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -3217,7 +3213,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -3510,7 +3506,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -3539,7 +3535,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex]
|
|
|
.isClose == 0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
@click="
|
|
@@ -3694,7 +3690,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -3722,7 +3718,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex]
|
|
|
.isClose == 0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
@click="
|
|
@@ -3789,7 +3785,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -3817,10 +3813,10 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex]
|
|
|
.isClose == 0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
- style="width: 150px;height: 50px;line-height: 50px;"
|
|
|
+ style="width: 160px;height: 65px;line-height: 65px;"
|
|
|
@click="
|
|
|
openTools(
|
|
|
69,
|
|
@@ -3834,7 +3830,6 @@
|
|
|
>
|
|
|
{{ w.sName }}
|
|
|
<img
|
|
|
- v-show="false"
|
|
|
class="deleteImg1"
|
|
|
src="../assets/evaEnglish.png"
|
|
|
@click.stop="openEnglishEva(w.wid,toolIndex)"
|
|
@@ -3883,8 +3878,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -3893,7 +3888,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -4053,7 +4048,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
>
|
|
|
<div
|
|
@@ -4177,8 +4172,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -4187,7 +4182,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -4350,7 +4345,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
>
|
|
|
<!-- @click="previewImg(w.works)" @click="commentOther(w, toolIndex, wIndex)"-->
|
|
@@ -4457,8 +4452,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -4467,7 +4462,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -4630,7 +4625,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
>
|
|
|
<!-- @click="previewImg(w.works)" -->
|
|
@@ -4737,8 +4732,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -4747,7 +4742,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -4910,7 +4905,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
>
|
|
|
<!-- @click="previewImg(w.works)" -->
|
|
@@ -5016,8 +5011,8 @@
|
|
|
<div
|
|
|
class="zuoyeYulan"
|
|
|
v-if="
|
|
|
- worksStudent.length &&
|
|
|
- worksStudent[toolIndex].length > 0
|
|
|
+ (worksStudent.length &&
|
|
|
+ worksStudent[toolIndex].length > 0) || (courseGroup.group && courseGroup.group.length)
|
|
|
"
|
|
|
>
|
|
|
<div class="worksTop">
|
|
@@ -5026,7 +5021,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5189,7 +5184,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
>
|
|
|
<!-- @click="previewImg(w.works)" -->
|
|
@@ -5306,7 +5301,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5335,7 +5330,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -5411,7 +5406,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5446,7 +5441,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -5611,7 +5606,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5638,7 +5633,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
@click="openXz(w, toolIndex)"
|
|
@@ -5859,7 +5854,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5887,7 +5882,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
class="isWorksName2"
|
|
|
@click="openSen(w, toolIndex)"
|
|
@@ -5942,7 +5937,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -5977,7 +5972,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -6169,7 +6164,7 @@
|
|
|
class="corOpen"
|
|
|
@click="contract(toolIndex)"
|
|
|
v-if="
|
|
|
- worksStudent[toolIndex].length > 6 &&
|
|
|
+ worksStudent[toolIndex].length > 3 &&
|
|
|
isCloseList[toolIndex].isClose == 0
|
|
|
"
|
|
|
>
|
|
@@ -6204,7 +6199,7 @@
|
|
|
v-for="(w, wIndex) in isCloseList[toolIndex].isClose ==
|
|
|
0
|
|
|
? worksStudent[toolIndex]
|
|
|
- : worksStudent[toolIndex].slice(0, 6)"
|
|
|
+ : worksStudent[toolIndex].slice(0, 3)"
|
|
|
:key="wIndex"
|
|
|
:class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
>
|
|
@@ -7513,7 +7508,7 @@
|
|
|
>
|
|
|
<div class="e_add_top">
|
|
|
<div class="e_add_title">
|
|
|
- <span>目标管理名称</span>
|
|
|
+ <!-- <span>目标管理名称</span> -->
|
|
|
<span>{{ eTitle }}</span>
|
|
|
<img
|
|
|
src="../assets/line.png"
|
|
@@ -7522,7 +7517,7 @@
|
|
|
width: 125px;
|
|
|
height: 20px;
|
|
|
bottom: -10px;
|
|
|
- left: 120px;
|
|
|
+ left: 5px;
|
|
|
"
|
|
|
/>
|
|
|
<!-- <el-input
|
|
@@ -7535,7 +7530,7 @@
|
|
|
<div class="e_add_content">
|
|
|
<div class="e_add_list_pbox">
|
|
|
<div class="e_add_list_pbox_title">
|
|
|
- <span class="type_title">切换模式</span>
|
|
|
+ <!-- <span class="type_title">切换模式</span> -->
|
|
|
<div class="type_content">
|
|
|
<span
|
|
|
:class="{ active: typeMode == 1 }"
|
|
@@ -7712,13 +7707,13 @@
|
|
|
</div>
|
|
|
<div v-if="pzDialog == true" class="newDialogCss">
|
|
|
<div class="pzTop2">
|
|
|
- <!-- <div>批注</div>
|
|
|
+ <!-- <div>评论</div>
|
|
|
<div @click="pzDialog = false">
|
|
|
<img src="../assets/close1.png" alt="" />
|
|
|
</div> -->
|
|
|
<div class="checkbox">
|
|
|
<div class="check" style="font-size: 25px; position: unset">
|
|
|
- 评课笔记
|
|
|
+ 评论
|
|
|
</div>
|
|
|
<el-select v-model="pzStype" @change="selectPz" class="selectBox">
|
|
|
<el-option label="时间降序" :value="1"></el-option>
|
|
@@ -7732,13 +7727,13 @@
|
|
|
<div class="pzListBox" v-if="pzList && pzList.length">
|
|
|
<div class="pzList" v-for="(pz, pzIndex) in pzList" :key="pzIndex">
|
|
|
<div class="pzNavTop">
|
|
|
- <div>批</div>
|
|
|
+ <div>评</div>
|
|
|
<div>
|
|
|
{{
|
|
|
pz.username && pz.username.length > 5
|
|
|
? pz.username.substring(0, 5) + "..."
|
|
|
: pz.username
|
|
|
- }}的批注
|
|
|
+ }}的评论
|
|
|
</div>
|
|
|
<div
|
|
|
class="pzDelete"
|
|
@@ -7813,7 +7808,7 @@
|
|
|
</div>
|
|
|
<div class="addPzButton">
|
|
|
<div class="addPz" @click="(addPzDialog = true), (pzType = 1)">
|
|
|
- 添加批注
|
|
|
+ 添加评论
|
|
|
</div>
|
|
|
<!-- <div class="img1">
|
|
|
<div @click="(addPzDialog = true), (pzType = 2)">
|
|
@@ -8387,7 +8382,7 @@
|
|
|
<div class="teacherPzImg">
|
|
|
<img src="../assets/icon/teacherPz.png" alt="" />
|
|
|
</div>
|
|
|
- <div style="margin-left: 10px; height: 25px">教师批注</div>
|
|
|
+ <div style="margin-left: 10px; height: 25px">教师评论</div>
|
|
|
</div>
|
|
|
<div @click="addPzDialog = false">
|
|
|
<img src="../assets/close1.png" class="pzClose" alt="" />
|
|
@@ -11277,7 +11272,7 @@
|
|
|
<div>{{ englishList1.engTitle }}</div>
|
|
|
</div>
|
|
|
<div class="engText">
|
|
|
- <div>作文题目:</div>
|
|
|
+ <div>作文内容:</div>
|
|
|
<div class="cont" v-html="englishList1.englishText" @click="checkImg(getImgList(englishList1.englishText))"></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -11376,7 +11371,7 @@
|
|
|
<el-button type="primary" @click="addCorrect">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <englishEva :evaEngJson="evaEngJson" :engEvaDialogVisible.sync="engEvaDialogVisible"></englishEva>
|
|
|
+ <englishEva :evaEngJson="evaEngJson" :engEvaDialogVisible.sync="engEvaDialogVisible" :uid="userid"></englishEva>
|
|
|
<interVideo
|
|
|
:dialogVisibleVideo.sync="dialogVisibleVideo"
|
|
|
:videoJson="videoJson"
|
|
@@ -11521,9 +11516,9 @@ export default {
|
|
|
engUpdateDialogVisible: false,
|
|
|
engEvaDialogVisible: false,
|
|
|
evaEngJson: {
|
|
|
- username: "",
|
|
|
teacherJson: {},
|
|
|
studentJson: {},
|
|
|
+ message: {},
|
|
|
},
|
|
|
isNoUserid:false,
|
|
|
engListLength:0,
|
|
@@ -11904,18 +11899,22 @@ export default {
|
|
|
document.querySelector(".student_body").offsetTop;
|
|
|
}, 500);
|
|
|
},
|
|
|
- updateToolDetail(i) {
|
|
|
- this.toolDetailIndex = i;
|
|
|
- if (!this.isUpdateToolDetail1) {
|
|
|
+ updateToolDetail(i, type) {
|
|
|
+ if (!this.isUpdateToolDetail1 && type == 2) {
|
|
|
+ this.toolDetailIndex = i
|
|
|
this.isUpdateToolDetail1 = true;
|
|
|
- this.updateToolDetailInner = JSON.parse(
|
|
|
- JSON.stringify(
|
|
|
- this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
- this.taskCount
|
|
|
- ].toolChoose[i].toolDetail
|
|
|
- )
|
|
|
- );
|
|
|
- } else {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.updateToolDetailInner = JSON.parse(
|
|
|
+ JSON.stringify(
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
+ this.taskCount
|
|
|
+ ].toolChoose[i].toolDetail
|
|
|
+ )
|
|
|
+ );
|
|
|
+ document.querySelector(".checkTextArea").focus();
|
|
|
+ }, 0);
|
|
|
+ } else if((this.isUpdateToolDetail1 && type != 2)){
|
|
|
+ // this.toolDetailIndex = i;
|
|
|
this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
this.taskCount
|
|
|
].toolChoose[i].toolDetail = JSON.parse(
|
|
@@ -11938,6 +11937,7 @@ export default {
|
|
|
type: "success",
|
|
|
});
|
|
|
this.toolDetailIndex = null;
|
|
|
+
|
|
|
this.updateToolDetailInner = "";
|
|
|
this.getCourseDetail(2);
|
|
|
this.$forceUpdate();
|
|
@@ -11945,6 +11945,46 @@ export default {
|
|
|
.catch((err) => {
|
|
|
console.error(err);
|
|
|
});
|
|
|
+ } else if((this.isUpdateToolDetail1 && type == 2)){
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
+ this.taskCount
|
|
|
+ ].toolChoose[this.toolDetailIndex].toolDetail = JSON.parse(
|
|
|
+ JSON.stringify(this.updateToolDetailInner)
|
|
|
+ );
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ cid: this.id,
|
|
|
+ chapters: JSON.stringify(this.chapInfoList),
|
|
|
+ uid: this.userid,
|
|
|
+ unitIndex: this.courseType,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ this.ajax
|
|
|
+ .post(this.$store.state.api + "updateWorkNew4", params)
|
|
|
+ .then((res) => {
|
|
|
+ this.$message({
|
|
|
+ message: "修改成功",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+
|
|
|
+ this.toolDetailIndex = i;
|
|
|
+ this.isUpdateToolDetail1 = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.updateToolDetailInner = JSON.parse(
|
|
|
+ JSON.stringify(
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
+ this.taskCount
|
|
|
+ ].toolChoose[i].toolDetail
|
|
|
+ )
|
|
|
+ );
|
|
|
+ document.querySelector(".checkTextArea").focus();
|
|
|
+ }, 0);
|
|
|
+ this.getCourseDetail(2);
|
|
|
+ this.$forceUpdate();
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
jumpGj(i, j, k, l) {
|
|
@@ -11959,7 +11999,7 @@ export default {
|
|
|
this.navList[i].task[j].tool[k].isTool =
|
|
|
!this.navList[i].task[j].tool[k].isTool;
|
|
|
var a = document.scrollingElement;
|
|
|
-
|
|
|
+ this.navId = ""
|
|
|
let target = document.querySelector(`#gj${k}`);
|
|
|
if (target) {
|
|
|
target.scrollIntoView(true);
|
|
@@ -11969,7 +12009,7 @@ export default {
|
|
|
}
|
|
|
if (l) {
|
|
|
this.courseType = i;
|
|
|
- this.navId = l;
|
|
|
+ // this.navId = l;
|
|
|
this.taskCount = j;
|
|
|
this.selectPz();
|
|
|
this.getHomeWork();
|
|
@@ -13559,8 +13599,8 @@ export default {
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "selectEngWork", params)
|
|
|
.then((res) => {
|
|
|
+ this.evaEngJson.message = res.data[0][0];
|
|
|
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;
|
|
@@ -15300,7 +15340,7 @@ export default {
|
|
|
this.getCourseDetail(2);
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
- openTask(s, n, i) {
|
|
|
+ openTask(s, n, i,ctype) {
|
|
|
if (this.IsFollow && this.tType == 2) {
|
|
|
this.$message.error("已经开启跟随模式,请认真跟堂听讲");
|
|
|
return;
|
|
@@ -15340,15 +15380,19 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (this.navList[s].task[n].isOpen == true) {
|
|
|
+ if (this.navList[s].task[n].isOpen == true && ctype != 2) {
|
|
|
this.navList[s].task[n].isOpen = !this.navList[s].task[n].isOpen;
|
|
|
return;
|
|
|
}
|
|
|
this.courseType = s;
|
|
|
this.navId = i;
|
|
|
this.taskCount = n;
|
|
|
- this.navList[this.courseType].task[this.taskCount].isOpen =
|
|
|
+ if(ctype == 2){
|
|
|
+ this.navList[s].task[n].isOpen = true
|
|
|
+ }else{
|
|
|
+ this.navList[this.courseType].task[this.taskCount].isOpen =
|
|
|
!this.navList[this.courseType].task[this.taskCount].isOpen;
|
|
|
+ }
|
|
|
if (this.IsLookOpen) {
|
|
|
this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
this.taskCount
|
|
@@ -15379,6 +15423,13 @@ export default {
|
|
|
// window.scrollTo(0, a.offsetTop);
|
|
|
// }
|
|
|
// }, 0);
|
|
|
+ for (var z = 0; z < this.navList.length; z++) {
|
|
|
+ for (var q = 0; q < this.navList[z].task.length; q++) {
|
|
|
+ for (var w = 0; w < this.navList[z].task[q].tool.length; w++) {
|
|
|
+ this.navList[z].task[q].tool[w].isTool = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
this.selectPz();
|
|
|
this.getHomeWork();
|
|
|
this.getCourseDetail(2);
|
|
@@ -15393,9 +15444,11 @@ export default {
|
|
|
// this.navList[k].isOpen = false;
|
|
|
// }
|
|
|
// this.navList[i].isOpen = true;
|
|
|
+ let a = this.navList[i].isOpen
|
|
|
this.navList[i].isOpen = !this.navList[i].isOpen;
|
|
|
+ this.$forceUpdate()
|
|
|
if (this.navList[i].isOpen) {
|
|
|
- this.openTask(i, 0, i + "-0");
|
|
|
+ this.openTask(i, 0, (i + "-0"),2);
|
|
|
}
|
|
|
},
|
|
|
addQuestion() {
|
|
@@ -15990,7 +16043,7 @@ export default {
|
|
|
},
|
|
|
addPz(type, content) {
|
|
|
if (type == "1" && this.pzConText == "") {
|
|
|
- this.$message.error("批注不能为空!");
|
|
|
+ this.$message.error("评论不能为空!");
|
|
|
return;
|
|
|
}
|
|
|
let params = [
|
|
@@ -16058,7 +16111,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
deletePz(id) {
|
|
|
- this.$confirm("确定删除此批注吗?", "提示", {
|
|
|
+ this.$confirm("确定删除此评论吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning",
|
|
@@ -18887,6 +18940,19 @@ export default {
|
|
|
clearInterval(el.__vueSetInterval__);
|
|
|
},
|
|
|
},
|
|
|
+ autoHeight: {
|
|
|
+ update(el, binding) {
|
|
|
+ const { value } = binding
|
|
|
+ if (value && typeof value === 'number') {
|
|
|
+ el.style.height = `${value}px`
|
|
|
+ } else {
|
|
|
+ el.style.height = 'auto'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ componentUpdated(el) {
|
|
|
+ el.style.height = `${el.scrollHeight}px`
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
window.onresize = null;
|
|
@@ -19253,13 +19319,15 @@ export default {
|
|
|
.filebox .tooldetail {
|
|
|
width: calc(100% - 280px);
|
|
|
margin: 0px 12px;
|
|
|
- padding: 12px 25px 0 13px;
|
|
|
+ padding: 12px;
|
|
|
line-height: 30px;
|
|
|
word-break: break-word;
|
|
|
background: #ffffff;
|
|
|
border-radius: 8px 8px 8px 8px;
|
|
|
opacity: 1;
|
|
|
border: 1px solid #cad1dc;
|
|
|
+ overflow:hidden;
|
|
|
+ box-sizing:border-box;
|
|
|
}
|
|
|
|
|
|
.file {
|
|
@@ -19513,7 +19581,7 @@ export default {
|
|
|
|
|
|
.courseTitle {
|
|
|
width: 85%;
|
|
|
- margin: 10px auto 20px auto;
|
|
|
+ margin: 10px auto 26px auto;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
@@ -19532,8 +19600,8 @@ export default {
|
|
|
|
|
|
.inviteBox {
|
|
|
font-size: 14px;
|
|
|
- margin-top: 5px;
|
|
|
- color: #a6cbff;
|
|
|
+ /* margin-top: 5px; */
|
|
|
+ color: #00000099;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
@@ -21110,7 +21178,7 @@ export default {
|
|
|
|
|
|
.type_content {
|
|
|
font-size: 16px;
|
|
|
- margin-left: 30px;
|
|
|
+ /* margin-left: 30px; */
|
|
|
}
|
|
|
|
|
|
.type_content span + span {
|
|
@@ -21563,12 +21631,14 @@ export default {
|
|
|
}
|
|
|
|
|
|
.right_box_xuan {
|
|
|
- background: rgb(0 123 255);
|
|
|
- color: #fff;
|
|
|
border-radius: 5px;
|
|
|
padding: 5px;
|
|
|
margin-left: 10px;
|
|
|
- min-width: 95px;
|
|
|
+ min-width: 85px;
|
|
|
+ background: #fff;
|
|
|
+ color: #0061ff;
|
|
|
+ border: 1px solid #0061ff;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.pButton:hover {
|
|
@@ -22668,8 +22738,8 @@ ol {
|
|
|
}
|
|
|
|
|
|
.mlImg {
|
|
|
- width: 45px !important;
|
|
|
- min-width: 45px;
|
|
|
+ width: 40px !important;
|
|
|
+ min-width: 40px;
|
|
|
cursor: pointer;
|
|
|
transform: rotate(180deg);
|
|
|
}
|
|
@@ -22791,6 +22861,7 @@ ol {
|
|
|
min-width: 15px;
|
|
|
width: 15px;
|
|
|
height: 15px;
|
|
|
+ transition: all .5s;
|
|
|
}
|
|
|
|
|
|
.closeTri1 {
|
|
@@ -23246,12 +23317,13 @@ ol {
|
|
|
|
|
|
.oldText{
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: calc(100% - 35px);
|
|
|
+ overflow: auto;
|
|
|
+ margin: 10px 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
flex-wrap: nowrap;
|
|
|
align-content: center;
|
|
|
- justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
@@ -23266,11 +23338,6 @@ ol {
|
|
|
padding-bottom: 30px;
|
|
|
}
|
|
|
|
|
|
-.oldDetail1>div:last-child{
|
|
|
- max-height: 200px;
|
|
|
- overflow: auto;
|
|
|
-}
|
|
|
-
|
|
|
.oldImg{
|
|
|
width:30px;
|
|
|
height: 30px;
|
|
@@ -23297,4 +23364,22 @@ ol {
|
|
|
max-height: 300px;
|
|
|
overflow: auto;
|
|
|
}
|
|
|
+
|
|
|
+.isUpdateToolDetailClass{
|
|
|
+ padding: 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.isUpdateToolDetailClass textarea{
|
|
|
+ padding:12px;
|
|
|
+ font-size: 16px;
|
|
|
+ min-height:100%;
|
|
|
+ width: 100%;
|
|
|
+ box-sizing:border-box;
|
|
|
+ outline: none;
|
|
|
+ border:none;
|
|
|
+ line-height: 30px;
|
|
|
+ resize: none;
|
|
|
+ font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
|
|
|
+ color: #838383;
|
|
|
+}
|
|
|
</style>
|