|
@@ -1406,7 +1406,7 @@
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -1442,7 +1442,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<div class="workImg" v-if="w.type == 1">
|
|
- <img :src="word" @click="openFile(w.works)" alt />
|
|
|
|
|
|
+ <img :src="word" @click="openFile(w.works,w)" alt />
|
|
<div
|
|
<div
|
|
class="answerScore"
|
|
class="answerScore"
|
|
v-if="w.score"
|
|
v-if="w.score"
|
|
@@ -2124,7 +2124,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2199,7 +2199,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2274,7 +2274,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2349,7 +2349,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2424,7 +2424,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
@@ -2523,7 +2523,7 @@
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2565,7 +2565,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<div class="workImg" v-if="w.type == 1">
|
|
- <img :src="word" @click="openFile(w.works)" alt />
|
|
|
|
|
|
+ <img :src="word" @click="openFile(w.works,w)" alt />
|
|
<!-- @click="openFile(w.works)" -->
|
|
<!-- @click="openFile(w.works)" -->
|
|
<div
|
|
<div
|
|
class="answerScore"
|
|
class="answerScore"
|
|
@@ -2707,7 +2707,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -2776,7 +2776,7 @@
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -2818,7 +2818,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<div class="workImg" v-if="w.type == 1">
|
|
- <img :src="word" @click="openFile(w.works)" alt />
|
|
|
|
|
|
+ <img :src="word" @click="openFile(w.works,w)" alt />
|
|
<!-- @click="openFile(w.works)" -->
|
|
<!-- @click="openFile(w.works)" -->
|
|
<div
|
|
<div
|
|
class="answerScore"
|
|
class="answerScore"
|
|
@@ -2960,7 +2960,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -3272,7 +3272,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -3442,7 +3442,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -3543,7 +3543,7 @@
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -3589,7 +3589,7 @@
|
|
style="cursor: pointer"
|
|
style="cursor: pointer"
|
|
v-if="w.type == 1"
|
|
v-if="w.type == 1"
|
|
>
|
|
>
|
|
- <img :src="word" @click="openFile(w.works)" alt />
|
|
|
|
|
|
+ <img :src="word" @click="openFile(w.works,w)" alt />
|
|
<!-- @click="openFile(w.works)" -->
|
|
<!-- @click="openFile(w.works)" -->
|
|
<div
|
|
<div
|
|
class="answerScore"
|
|
class="answerScore"
|
|
@@ -3692,7 +3692,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4333,7 +4333,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4455,7 +4455,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4579,7 +4579,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -4627,7 +4627,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4695,7 +4695,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -4739,7 +4739,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4863,7 +4863,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -4911,7 +4911,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -4979,7 +4979,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -5023,7 +5023,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -5147,7 +5147,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -5195,7 +5195,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -5263,7 +5263,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -5307,7 +5307,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -5430,7 +5430,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -5478,7 +5478,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -5546,7 +5546,7 @@
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -5590,7 +5590,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -5696,7 +5696,7 @@
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
@@ -5710,7 +5710,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<div class="workImg" v-if="w.type == 1">
|
|
- <img :src="word" @click="openFile(w.works)" alt />
|
|
|
|
|
|
+ <img :src="word" @click="openFile(w.works,w)" alt />
|
|
<img
|
|
<img
|
|
class="deleteImg"
|
|
class="deleteImg"
|
|
src="../assets/deleteworks.png"
|
|
src="../assets/deleteworks.png"
|
|
@@ -5833,7 +5833,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -6402,7 +6402,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -6633,7 +6633,7 @@
|
|
<div
|
|
<div
|
|
class="commentImg"
|
|
class="commentImg"
|
|
@click="
|
|
@click="
|
|
- isLikes(w.wid, userid, 1, null, w.isLikes)
|
|
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -6853,7 +6853,7 @@
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<img
|
|
<img
|
|
:src="w.works"
|
|
:src="w.works"
|
|
- @click="previewImg(w.works)"
|
|
|
|
|
|
+ @click="previewImg(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<div
|
|
<div
|
|
@@ -6899,7 +6899,7 @@
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<div class="workImg" v-if="w.type == 1">
|
|
<img
|
|
<img
|
|
:src="word"
|
|
:src="word"
|
|
- @click="openFile(w.works)"
|
|
|
|
|
|
+ @click="openFile(w.works,w)"
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
<!-- @click="openFile(w.works)" -->
|
|
<!-- @click="openFile(w.works)" -->
|
|
@@ -7053,7 +7053,8 @@
|
|
userid,
|
|
userid,
|
|
1,
|
|
1,
|
|
null,
|
|
null,
|
|
- w.isLikes
|
|
|
|
|
|
+ w.isLikes,
|
|
|
|
+ w.sName
|
|
)
|
|
)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -9776,7 +9777,8 @@
|
|
userid,
|
|
userid,
|
|
1,
|
|
1,
|
|
null,
|
|
null,
|
|
- commentDetail.isLikes
|
|
|
|
|
|
+ commentDetail.isLikes,
|
|
|
|
+ commentDetail.sName
|
|
)
|
|
)
|
|
"
|
|
"
|
|
:src="commentDetail.isLikes == true ? likes : noLikes"
|
|
:src="commentDetail.isLikes == true ? likes : noLikes"
|
|
@@ -9903,7 +9905,7 @@
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
- @click="addComment(commentDetail.wid, userid, 2)"
|
|
|
|
|
|
+ @click="addComment(commentDetail.wid, userid, 2,commentDetail)"
|
|
>确 定</el-button
|
|
>确 定</el-button
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
@@ -10433,7 +10435,7 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
v-if="courseDetail.userid == userid"
|
|
v-if="courseDetail.userid == userid"
|
|
- @click="scoreWork(commentDetail.wid)"
|
|
|
|
|
|
+ @click="scoreWork(commentDetail.wid,commentDetail.sName)"
|
|
>确 定
|
|
>确 定
|
|
</el-button>
|
|
</el-button>
|
|
</span>
|
|
</span>
|
|
@@ -12417,15 +12419,16 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
insertMemorandum(_html){//保存行为操作
|
|
insertMemorandum(_html){//保存行为操作
|
|
- return;
|
|
|
|
//variable
|
|
//variable
|
|
//btn
|
|
//btn
|
|
let params = [{
|
|
let params = [{
|
|
uid:this.userid,
|
|
uid:this.userid,
|
|
- courseId:this.id,
|
|
|
|
|
|
+ courseId:this.id+this.tcid2,
|
|
content:_html
|
|
content:_html
|
|
}]
|
|
}]
|
|
|
|
|
|
|
|
+ console.log(params)
|
|
|
|
+
|
|
this.ajax.post(this.$store.state.api+'insert_systemOperation_countdownBehavior',params).then(res=>{
|
|
this.ajax.post(this.$store.state.api+'insert_systemOperation_countdownBehavior',params).then(res=>{
|
|
if(res.data==1){
|
|
if(res.data==1){
|
|
console.log('保存操作成功')
|
|
console.log('保存操作成功')
|
|
@@ -12713,6 +12716,10 @@ export default {
|
|
this.courseType = i;
|
|
this.courseType = i;
|
|
// this.navId = l;
|
|
// this.navId = l;
|
|
this.taskCount = j;
|
|
this.taskCount = j;
|
|
|
|
+
|
|
|
|
+ this.selectPz();
|
|
|
|
+ this.getHomeWork();
|
|
|
|
+ this.getCourseDetail(2);
|
|
if(flag){
|
|
if(flag){
|
|
if(flag2){
|
|
if(flag2){
|
|
this.insertMemorandum(`选择<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
this.insertMemorandum(`选择<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
@@ -12722,9 +12729,6 @@ export default {
|
|
}else{
|
|
}else{
|
|
this.insertMemorandum(`选择<span class="variable">阶段${this.courseType+1}${this.navList[this.courseType].dyName?':'+this.navList[this.courseType].dyName:''}</span>→<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>→<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
this.insertMemorandum(`选择<span class="variable">阶段${this.courseType+1}${this.navList[this.courseType].dyName?':'+this.navList[this.courseType].dyName:''}</span>→<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>→<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
}
|
|
}
|
|
- this.selectPz();
|
|
|
|
- this.getHomeWork();
|
|
|
|
- this.getCourseDetail(2);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// var b = this.$refs["bz" + k][0];
|
|
// var b = this.$refs["bz" + k][0];
|
|
@@ -12807,9 +12811,11 @@ export default {
|
|
}
|
|
}
|
|
this.dialogVisibleMember = false;
|
|
this.dialogVisibleMember = false;
|
|
},
|
|
},
|
|
- previewImg(url) {
|
|
|
|
- this.$message.info('查看作业-图片')
|
|
|
|
|
|
+ previewImg(url,w=null) {
|
|
this.$hevueImgPreview(url);
|
|
this.$hevueImgPreview(url);
|
|
|
|
+ if(w){
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
|
|
+ }
|
|
},
|
|
},
|
|
checkImg(list) {
|
|
checkImg(list) {
|
|
if (!list.length) {
|
|
if (!list.length) {
|
|
@@ -14062,7 +14068,7 @@ export default {
|
|
this.videoDetail = this.playerOptions1;
|
|
this.videoDetail = this.playerOptions1;
|
|
this.videoVisible = true;
|
|
this.videoVisible = true;
|
|
},
|
|
},
|
|
- isLikes(wid, uid, t, c, isLikes) {
|
|
|
|
|
|
+ isLikes(wid, uid, t, c, isLikes,sName) {
|
|
if (isLikes == false) {
|
|
if (isLikes == false) {
|
|
let params = [
|
|
let params = [
|
|
{
|
|
{
|
|
@@ -14081,6 +14087,7 @@ export default {
|
|
});
|
|
});
|
|
this.selectSWorks();
|
|
this.selectSWorks();
|
|
this.selectStudent();
|
|
this.selectStudent();
|
|
|
|
+ this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">点赞</span>`)
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.$message.error("点赞失败");
|
|
this.$message.error("点赞失败");
|
|
@@ -14134,8 +14141,6 @@ export default {
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
async commentOther(w, toolIndex, wIndex, gindex, gid) {
|
|
async commentOther(w, toolIndex, wIndex, gindex, gid) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(w,1)
|
|
|
|
this.commentIndexJson = {
|
|
this.commentIndexJson = {
|
|
toolIndex: toolIndex,
|
|
toolIndex: toolIndex,
|
|
wIndex: wIndex,
|
|
wIndex: wIndex,
|
|
@@ -14188,8 +14193,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async openScore(w, index) {
|
|
async openScore(w, index) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(w,2)
|
|
|
|
|
|
+
|
|
this.wScore = 0;
|
|
this.wScore = 0;
|
|
this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
|
|
this.wScore = w.score ? JSON.parse(w.score).wScore : 0;
|
|
this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
|
|
this.scoreDetail = w.score ? JSON.parse(w.score).detail : "";
|
|
@@ -14237,8 +14241,10 @@ export default {
|
|
|
|
|
|
this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
|
|
this.englishVoiceJson = JSON.parse(JSON.stringify(englishVoiceJson));
|
|
}
|
|
}
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
},
|
|
},
|
|
- addComment(wid, uid, t) {
|
|
|
|
|
|
+ addComment(wid, uid, t,detail) {
|
|
|
|
+
|
|
if (this.commentText == "") {
|
|
if (this.commentText == "") {
|
|
this.$message.error("请输入评论");
|
|
this.$message.error("请输入评论");
|
|
return;
|
|
return;
|
|
@@ -14274,6 +14280,7 @@ export default {
|
|
this.commentText = "";
|
|
this.commentText = "";
|
|
this.selectSWorks();
|
|
this.selectSWorks();
|
|
this.selectStudent();
|
|
this.selectStudent();
|
|
|
|
+ this.insertMemorandum(`对<span class="variable">${detail.sName}</span>的作业进行<span class="btn">评论</span>`)
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.$message.error("评论失败");
|
|
this.$message.error("评论失败");
|
|
@@ -14286,7 +14293,7 @@ export default {
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- scoreWork(wid) {
|
|
|
|
|
|
+ scoreWork(wid,sName) {
|
|
if (this.wScore == 0) {
|
|
if (this.wScore == 0) {
|
|
this.$message.error("请评分");
|
|
this.$message.error("请评分");
|
|
return;
|
|
return;
|
|
@@ -14312,6 +14319,7 @@ export default {
|
|
this.dialogVisibleScore = false;
|
|
this.dialogVisibleScore = false;
|
|
this.selectSWorks();
|
|
this.selectSWorks();
|
|
this.selectStudent();
|
|
this.selectStudent();
|
|
|
|
+ this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">评分</span>`)
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.$message.error("评分失败");
|
|
this.$message.error("评分失败");
|
|
@@ -14319,8 +14327,7 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
openXz(w, i) {
|
|
openXz(w, i) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(w,3)
|
|
|
|
|
|
+
|
|
this.selectJson = this.chapInfoList[this.courseType].chapterInfo[0]
|
|
this.selectJson = this.chapInfoList[this.courseType].chapterInfo[0]
|
|
.taskJson[this.taskCount].toolChoose[i].selectJson
|
|
.taskJson[this.taskCount].toolChoose[i].selectJson
|
|
? JSON.parse(
|
|
? JSON.parse(
|
|
@@ -14338,17 +14345,18 @@ export default {
|
|
this.selectAnswer = { answer: a, stu: w.sName };
|
|
this.selectAnswer = { answer: a, stu: w.sName };
|
|
this.isSelect = true;
|
|
this.isSelect = true;
|
|
this.dialogVisibleSelect = true;
|
|
this.dialogVisibleSelect = true;
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
},
|
|
},
|
|
openSen(w, i) {
|
|
openSen(w, i) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(w,4)
|
|
|
|
|
|
+ console.log("openSen")
|
|
|
|
+ // this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
this.sentenceList1 = JSON.parse(w.works);
|
|
this.sentenceList1 = JSON.parse(w.works);
|
|
this.sentenceList1.stuName = w.sName;
|
|
this.sentenceList1.stuName = w.sName;
|
|
this.dialogVisibleSentence1 = true;
|
|
this.dialogVisibleSentence1 = true;
|
|
},
|
|
},
|
|
openPj(w, toolindex) {
|
|
openPj(w, toolindex) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(w,5)
|
|
|
|
|
|
+ console.log("openPJ")
|
|
|
|
+ // this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
this.isStar = true;
|
|
this.isStar = true;
|
|
this.eScore = JSON.parse(w);
|
|
this.eScore = JSON.parse(w);
|
|
this.rateJson =
|
|
this.rateJson =
|
|
@@ -16962,12 +16970,13 @@ export default {
|
|
this.pzConText = "";
|
|
this.pzConText = "";
|
|
this.addPzDialog = false;
|
|
this.addPzDialog = false;
|
|
this.selectPz();
|
|
this.selectPz();
|
|
|
|
+ this.insertMemorandum(`使用<span class="btn">评论</span>功能,添加评论`)
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
this.$message.error("添加失败");
|
|
this.$message.error("添加失败");
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
- this.insertMemorandum(`使用<span class="btn">评论</span>功能,添加评论`)
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
setReplyIndex(id, i) {
|
|
setReplyIndex(id, i) {
|
|
this.replyIndex = i;
|
|
this.replyIndex = i;
|
|
@@ -17476,7 +17485,7 @@ export default {
|
|
this.chapTools = this.chapToolList[i][t];
|
|
this.chapTools = this.chapToolList[i][t];
|
|
this.dialogVisible2 = true;
|
|
this.dialogVisible2 = true;
|
|
},
|
|
},
|
|
- async openFile(f) {
|
|
|
|
|
|
+ async openFile(f,w) {
|
|
this.pptImgUrl = "";
|
|
this.pptImgUrl = "";
|
|
var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
|
|
var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
|
|
if (
|
|
if (
|
|
@@ -17495,6 +17504,7 @@ export default {
|
|
this.showPDF = true;
|
|
this.showPDF = true;
|
|
this.dialogVisible3 = true;
|
|
this.dialogVisible3 = true;
|
|
}
|
|
}
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
},
|
|
},
|
|
openTable(f) {
|
|
openTable(f) {
|
|
this.tableJson = JSON.parse(f.works);
|
|
this.tableJson = JSON.parse(f.works);
|
|
@@ -17502,10 +17512,9 @@ export default {
|
|
this.insertMemorandum(`查看<span class="variable">${f.sName}的作业</span>`)
|
|
this.insertMemorandum(`查看<span class="variable">${f.sName}的作业</span>`)
|
|
},
|
|
},
|
|
openWord(f) {
|
|
openWord(f) {
|
|
- this.$message.info("预览作业")
|
|
|
|
- console.log(f,7)
|
|
|
|
this.tableJson = JSON.parse(f.works);
|
|
this.tableJson = JSON.parse(f.works);
|
|
this.dialogVisibleTable3 = true;
|
|
this.dialogVisibleTable3 = true;
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${f.sName}的作业</span>`)
|
|
|
|
|
|
},
|
|
},
|
|
doUrl(url, i) {
|
|
doUrl(url, i) {
|
|
@@ -17917,6 +17926,7 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
openTools(t, i, index, c, sName,id) {
|
|
openTools(t, i, index, c, sName,id) {
|
|
|
|
+
|
|
var z = JSON.parse(c);
|
|
var z = JSON.parse(c);
|
|
this.noteName = sName;
|
|
this.noteName = sName;
|
|
if (t == 4) {
|
|
if (t == 4) {
|
|
@@ -17966,6 +17976,7 @@ export default {
|
|
// this.questionAnswer = z[0].answer;
|
|
// this.questionAnswer = z[0].answer;
|
|
// this.answerDialogVisible = true;
|
|
// this.answerDialogVisible = true;
|
|
// }
|
|
// }
|
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${sName}</span>的作业`)
|
|
},
|
|
},
|
|
|
|
|
|
fastText(p, t) {
|
|
fastText(p, t) {
|
|
@@ -19034,7 +19045,7 @@ export default {
|
|
x.send();
|
|
x.send();
|
|
},
|
|
},
|
|
downloadFile(url) {
|
|
downloadFile(url) {
|
|
- this.$message.info("查看作业-下载文件")
|
|
|
|
|
|
+ // this.$message.info("查看作业-下载文件")
|
|
var credentials = {
|
|
var credentials = {
|
|
accessKeyId: "AKIATLPEDU37QV5CHLMH",
|
|
accessKeyId: "AKIATLPEDU37QV5CHLMH",
|
|
secretAccessKey: "Q2SQw37HfolS7yeaR1Ndpy9Jl4E2YZKUuuy2muZR",
|
|
secretAccessKey: "Q2SQw37HfolS7yeaR1Ndpy9Jl4E2YZKUuuy2muZR",
|