|
@@ -4839,6 +4839,7 @@
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
class="zuoyeYulan"
|
|
class="zuoyeYulan"
|
|
|
|
+ style="display: flex;justify-content: space-between;align-items: center;"
|
|
v-if="
|
|
v-if="
|
|
worksStudent.length &&
|
|
worksStudent.length &&
|
|
worksStudent[toolIndex].length > 0
|
|
worksStudent[toolIndex].length > 0
|
|
@@ -4864,6 +4865,84 @@
|
|
展开
|
|
展开
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div
|
|
|
|
+ style="display: flex;"
|
|
|
|
+ v-if="
|
|
|
|
+ (courseDetail.userid == userid ||
|
|
|
|
+ (courseDetail.course_teacher &&
|
|
|
|
+ courseDetail.course_teacher.indexOf(userid) !=
|
|
|
|
+ -1)) &&
|
|
|
|
+ ((chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
|
+ taskCount
|
|
|
|
+ ].eList &&
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
|
+ taskCount
|
|
|
|
+ ].eList.length) ||
|
|
|
|
+ (tool.eList && tool.eList.length)) &&
|
|
|
|
+ courseDetail.state == 5
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <!-- <div style="display: flex;" v-if="courseDetail.userid == userid && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length)) && courseDetail.state == 5"> -->
|
|
|
|
+ <div
|
|
|
|
+ @click="
|
|
|
|
+ resetLoopEva(
|
|
|
|
+ worksStudent[toolIndex],
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
|
+ taskCount
|
|
|
|
+ ].eList,
|
|
|
|
+ courseType,
|
|
|
|
+ taskCount,
|
|
|
|
+ toolIndex,
|
|
|
|
+ tool.toolDetail,
|
|
|
|
+ tool
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ style="margin-right:10px"
|
|
|
|
+ class="ScoreBtn"
|
|
|
|
+ >
|
|
|
|
+ 一键重置
|
|
|
|
+ </div>
|
|
|
|
+ <div class="ScoreBtn" @click="noIsAi" v-if="isaiNum">
|
|
|
|
+ <img
|
|
|
|
+ src="../../assets/icon/newIcons/rootImg.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ AI评分
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="ScoreBtn"
|
|
|
|
+ v-else-if="!loopLoading[toolIndex].loading"
|
|
|
|
+ @click="
|
|
|
|
+ loopEva(
|
|
|
|
+ worksStudent[toolIndex],
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
|
+ taskCount
|
|
|
|
+ ].eList,
|
|
|
|
+ courseType,
|
|
|
|
+ taskCount,
|
|
|
|
+ toolIndex,
|
|
|
|
+ tool.toolDetail,
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
|
+ taskCount
|
|
|
|
+ ].taskDetail,
|
|
|
|
+ tool
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ src="../../assets/icon/newIcons/rootImg.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ AI评分
|
|
|
|
+ </div>
|
|
|
|
+ <div class="ScoreBtn" v-else>
|
|
|
|
+ <img
|
|
|
|
+ src="../../assets/icon/newIcons/rootImg.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ 正在评分
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
:id="'tool-' + toolIndex"
|
|
:id="'tool-' + toolIndex"
|
|
@@ -4945,6 +5024,106 @@
|
|
>
|
|
>
|
|
评分
|
|
评分
|
|
</div>
|
|
</div>
|
|
|
|
+ <div
|
|
|
|
+ v-else-if="
|
|
|
|
+ (courseDetail.userid == userid ||
|
|
|
|
+ (courseDetail.course_teacher &&
|
|
|
|
+ courseDetail.course_teacher.indexOf(userid) !=
|
|
|
|
+ -1) ||
|
|
|
|
+ (w.userid == userid && sIsOpen)) &&
|
|
|
|
+ courseDetail.state == 5 &&
|
|
|
|
+ ((chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList &&
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList.length) ||
|
|
|
|
+ (tool.eList && tool.eList.length))
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <!-- <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ @click="markScoreDig(w.userid,toolIndex)"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ {{ AIloading[toolIndex][wIndex].sco ? AIloading[toolIndex][wIndex].sco :'评分'}}
|
|
|
|
+ </div> -->
|
|
|
|
+
|
|
|
|
+ <!-- @show="handleShow(toolIndex,wIndex)"
|
|
|
|
+ @hide="handleHide(toolIndex,wIndex,worksStudent)" -->
|
|
|
|
+
|
|
|
|
+ <el-popover
|
|
|
|
+ placement="top"
|
|
|
|
+ width="318"
|
|
|
|
+ :disabled="AIloading[toolIndex][wIndex].loading"
|
|
|
|
+ trigger="hover"
|
|
|
|
+ >
|
|
|
|
+ <markScore
|
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
|
+ :ref="`markSco${toolIndex}${wIndex}`"
|
|
|
|
+ @updateLoading="updateLoading"
|
|
|
|
+ @updateDocSco="updateDocSco"
|
|
|
|
+ @refreshOther="refreshOther"
|
|
|
|
+ @markScoreDig="markScoreDig"
|
|
|
|
+ :tool="tool"
|
|
|
|
+ :wIndex="wIndex"
|
|
|
|
+ :scoCon="w"
|
|
|
|
+ :toolIndex="toolIndex"
|
|
|
|
+ :key="refreshKey"
|
|
|
|
+ :stage="courseType"
|
|
|
|
+ :task="taskCount"
|
|
|
|
+ :scoTit="
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ </markScore>
|
|
|
|
+
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ @click="
|
|
|
|
+ markScoreDig2(
|
|
|
|
+ w.sName,
|
|
|
|
+ worksStudent,
|
|
|
|
+ w.userid,
|
|
|
|
+ toolIndex,
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList,
|
|
|
|
+ AIloading[toolIndex][wIndex].loading,
|
|
|
|
+ tool
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ slot="reference"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ <span v-if="AIloading[toolIndex][wIndex].sco">
|
|
|
|
+ {{
|
|
|
|
+ AIloading[toolIndex][wIndex].loading
|
|
|
|
+ ? "评分中"
|
|
|
|
+ : AIloading[toolIndex][wIndex].sco + "分"
|
|
|
|
+ }}
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else>
|
|
|
|
+ {{
|
|
|
|
+ AIloading[toolIndex][wIndex].loading
|
|
|
|
+ ? "评分中"
|
|
|
|
+ : "评分"
|
|
|
|
+ }}
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </div>
|
|
|
|
|
|
<img
|
|
<img
|
|
class="deleteImg"
|
|
class="deleteImg"
|
|
@@ -5087,6 +5266,70 @@
|
|
>
|
|
>
|
|
评分
|
|
评分
|
|
</div>
|
|
</div>
|
|
|
|
+ <div
|
|
|
|
+ class="stuLookScore"
|
|
|
|
+ v-if="
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ (tType == 1 &&
|
|
|
|
+ courseDetail.state == 5 &&
|
|
|
|
+ ((chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList &&
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList.length) ||
|
|
|
|
+ (tool.eList && tool.eList.length)))
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <el-popover
|
|
|
|
+ placement="top"
|
|
|
|
+ width="318"
|
|
|
|
+ trigger="hover"
|
|
|
|
+ >
|
|
|
|
+ <markScore
|
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
|
+ :ref="`markSco${toolIndex}${wIndex}`"
|
|
|
|
+ @updateLoading="updateLoading"
|
|
|
|
+ @updateDocSco="updateDocSco"
|
|
|
|
+ @refreshOther="refreshOther"
|
|
|
|
+ @markScoreDig="markScoreDig"
|
|
|
|
+ :tool="tool"
|
|
|
|
+ :wIndex="wIndex"
|
|
|
|
+ :scoCon="w"
|
|
|
|
+ :toolIndex="toolIndex"
|
|
|
|
+ :key="refreshKey"
|
|
|
|
+ :stage="courseType"
|
|
|
|
+ :task="taskCount"
|
|
|
|
+ :scoTit="
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ </markScore>
|
|
|
|
+
|
|
|
|
+ <div
|
|
|
|
+ @click="
|
|
|
|
+ markScoreDig2(
|
|
|
|
+ w.sName,
|
|
|
|
+ worksStudent,
|
|
|
|
+ w.userid,
|
|
|
|
+ toolIndex,
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList,
|
|
|
|
+ AIloading[toolIndex][wIndex].loading,
|
|
|
|
+ tool
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ slot="reference"
|
|
|
|
+ >
|
|
|
|
+ <span v-if="AIloading[toolIndex][wIndex].sco">
|
|
|
|
+ {{ AIloading[toolIndex][wIndex].sco + "分" }}
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else>
|
|
|
|
+ 评分
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </div>
|
|
<img
|
|
<img
|
|
class="deleteImg"
|
|
class="deleteImg"
|
|
src="../../assets/deleteworks.png"
|
|
src="../../assets/deleteworks.png"
|
|
@@ -18844,8 +19087,8 @@ export default {
|
|
this.commentDialogVisible = true;
|
|
this.commentDialogVisible = true;
|
|
|
|
|
|
// console.log('wwwwww',w)
|
|
// console.log('wwwwww',w)
|
|
- if (JSON.stringify(this.commentDetailCopy) == JSON.stringify(w.works))
|
|
|
|
- return;
|
|
|
|
|
|
+ // if (JSON.stringify(this.commentDetailCopy) == JSON.stringify(w.works))
|
|
|
|
+ // return;
|
|
|
|
|
|
this.commentDetailCopy = w.works;
|
|
this.commentDetailCopy = w.works;
|
|
|
|
|
|
@@ -18901,6 +19144,7 @@ export default {
|
|
toolIndex
|
|
toolIndex
|
|
].wordJson;
|
|
].wordJson;
|
|
}
|
|
}
|
|
|
|
+ this.$forceUpdate();
|
|
},
|
|
},
|
|
async openScore(w, index) {
|
|
async openScore(w, index) {
|
|
this.wScore = 0;
|
|
this.wScore = 0;
|