|
@@ -1432,6 +1432,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -1466,6 +1504,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -1505,6 +1581,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -1544,6 +1658,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -2150,6 +2302,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -2225,6 +2415,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -2375,6 +2603,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -2482,7 +2748,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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 && courseDetail.state == 5"> -->
|
|
|
<div style="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
一键重置
|
|
@@ -2832,7 +3098,7 @@
|
|
|
</div>
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
placement="top"
|
|
@@ -2841,7 +3107,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -2924,7 +3191,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -2935,7 +3202,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -3021,7 +3289,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -3032,7 +3300,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -3119,7 +3388,7 @@
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -3129,7 +3398,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -3654,7 +3924,7 @@
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -3664,7 +3934,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -3794,7 +4065,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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 && courseDetail.state == 5 "> -->
|
|
|
<div style="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
@@ -3881,7 +4152,7 @@
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -3891,7 +4162,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -3976,7 +4248,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -3986,7 +4258,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -4072,7 +4345,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -4083,7 +4356,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -4772,7 +5046,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -4782,7 +5056,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -4946,7 +5221,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -4957,7 +5232,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -5098,7 +5374,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
一键重置
|
|
@@ -5302,25 +5578,22 @@
|
|
|
评分
|
|
|
</div>
|
|
|
|
|
|
- <!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
-
|
|
|
-
|
|
|
+ <div v-else-if="(courseDetail.userid == userid || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1) || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1) || (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))">
|
|
|
<el-popover
|
|
|
-
|
|
|
placement="top"
|
|
|
width="318"
|
|
|
:disabled="AIloading[toolIndex][wIndex].loading"
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
|
@refreshOther=refreshOther
|
|
|
@markScoreDig=markScoreDig
|
|
|
- :tool="tool"
|
|
|
+ :tool="tool"
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
:toolIndex="toolIndex"
|
|
@@ -5458,7 +5731,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
一键重置
|
|
@@ -5663,7 +5936,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
|
|
|
<el-popover
|
|
@@ -5674,7 +5947,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -6101,7 +6375,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
一键重置
|
|
@@ -6307,7 +6581,7 @@
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -6317,7 +6591,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -7111,7 +7386,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
一键重置
|
|
@@ -7192,7 +7467,7 @@
|
|
|
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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))">
|
|
|
|
|
|
<el-popover
|
|
|
|
|
@@ -7202,7 +7477,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -7365,6 +7641,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -7419,7 +7733,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <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 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">
|
|
|
一键重置
|
|
@@ -7499,7 +7813,7 @@
|
|
|
</div>
|
|
|
<!-- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length"> -->
|
|
|
|
|
|
- <div v-else-if="courseDetail.userid == userid && courseDetail.state == 5 && ((chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList.length) || (tool.eList && tool.eList.length))">
|
|
|
+ <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)"
|
|
@@ -7525,7 +7839,8 @@
|
|
|
trigger="hover"
|
|
|
>
|
|
|
<markScore
|
|
|
- :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :loading="AIloading[toolIndex][wIndex].loading"
|
|
|
+ :markScoreVisible="markScoreVisible"
|
|
|
:ref="`markSco${toolIndex}${wIndex}`"
|
|
|
@updateLoading=updateLoading
|
|
|
@updateDocSco=updateDocSco
|
|
@@ -7684,6 +7999,44 @@
|
|
|
>
|
|
|
评分
|
|
|
</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
|
|
|
class="deleteImg"
|
|
|
src="../../assets/deleteworks.png"
|
|
@@ -12915,7 +13268,7 @@
|
|
|
>
|
|
|
<div slot="title">
|
|
|
<div class="markScore_diyTit">
|
|
|
- <div>教师评分</div>
|
|
|
+ <div>{{tType == 1 ? "教师评分" : "作业弹框"}} </div>
|
|
|
<div @click="markFullScreenBtn" style="cursor: pointer;"><img src="../../assets/icon/newIcons/fullScreen.png" alt=""></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -12930,9 +13283,10 @@
|
|
|
:task="taskCount"
|
|
|
:taskDetail="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].taskDetail"
|
|
|
:tool="toolListS"
|
|
|
-
|
|
|
:languageSetting="languageSetting"
|
|
|
:scoTit="markScoreTit"
|
|
|
+ :tType="tType"
|
|
|
+ :sIsOpen="sIsOpen"
|
|
|
:markScoreworksStudent="markScoreworksStudent"
|
|
|
:markScoreVisible="markScoreVisible"
|
|
|
></markDialog>
|
|
@@ -13922,10 +14276,11 @@ export default {
|
|
|
// this.refreshKey++
|
|
|
this.worksStudent.forEach((e,index)=>{
|
|
|
if(this.markScoretoolIndex == index){
|
|
|
-
|
|
|
e.forEach((i,inx)=>{
|
|
|
let mk = `markSco${index}${inx}`
|
|
|
- this.$refs[mk][0].getData()
|
|
|
+ if(this.$refs[mk]){
|
|
|
+ this.$refs[mk][0].getData()
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -13980,7 +14335,10 @@ export default {
|
|
|
this.markScoreworksStudent = worksStudent;
|
|
|
this.markfullscreen = false;
|
|
|
this.markScoreVisible = true;
|
|
|
- this.insertMemorandum(`查看<span class="variable">${uname}</span>的作业`)
|
|
|
+
|
|
|
+ if( this.tType == 1 ){
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${uname}</span>的作业`)
|
|
|
+ }
|
|
|
},
|
|
|
// 点击markScore显示评分框
|
|
|
markScoreDig(data){
|
|
@@ -26449,4 +26807,15 @@ ol {
|
|
|
display: block;
|
|
|
margin-right: 5px;
|
|
|
}
|
|
|
+.stuLookScore{
|
|
|
+ position: absolute;
|
|
|
+ top: 12px;
|
|
|
+ right: 40px;
|
|
|
+ background: #0000008f;
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 3px 5px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #fff;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
</style>
|