|
@@ -2482,7 +2482,11 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex ">
|
|
|
+ <div style="display: flex;" v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex ">
|
|
|
+ <div style="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
+ 一键重置
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -2491,7 +2495,6 @@
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
正在评分
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
<!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
|
|
|
</div>
|
|
@@ -2837,11 +2840,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -2850,7 +2853,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -2928,11 +2931,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -2941,7 +2944,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3023,11 +3026,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -3036,7 +3039,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3118,11 +3121,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -3131,7 +3134,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3650,11 +3653,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -3663,7 +3666,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3774,8 +3777,12 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
- <div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
+ <div style="display: flex;" v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
+ <div style="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
+ 一键重置
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
|
</div>
|
|
@@ -3865,11 +3872,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -3878,7 +3885,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3959,11 +3966,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -3972,7 +3979,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -4054,11 +4061,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -4067,7 +4074,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -4751,11 +4758,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -4925,11 +4932,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -5257,11 +5264,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -5270,7 +5277,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -5590,11 +5597,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -5603,7 +5610,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -6206,11 +6213,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -6219,7 +6226,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -6993,7 +7000,11 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
+ <div style="display: flex;" v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
+ <div style="margin-right:10px" class="ScoreBtn" @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
+ 一键重置
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -7079,11 +7090,11 @@
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
:scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+
|
|
|
:toolIndex="toolIndex"
|
|
|
:key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+
|
|
|
+
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -7092,7 +7103,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -7287,7 +7298,11 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
+ <div style="display: flex;" v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5 && worksStudent.length-1 == toolIndex">
|
|
|
+ <div @click="resetLoopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" style="margin-right:10px" class="ScoreBtn">
|
|
|
+ 一键重置
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail,worksStudent)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -7388,12 +7403,9 @@
|
|
|
@markScoreDig=markScoreDig
|
|
|
@handleHide=handleHide
|
|
|
:wIndex="wIndex"
|
|
|
- :scoCon="w"
|
|
|
- :TotalScore="AIloading[toolIndex][wIndex].sco"
|
|
|
+ :scoCon="w"
|
|
|
:toolIndex="toolIndex"
|
|
|
- :key="refreshKey"
|
|
|
- :refreshKey="refreshKey"
|
|
|
- :toolDetail="tool.toolDetail"
|
|
|
+ :key="refreshKey"
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList"
|
|
@@ -7402,7 +7414,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(w.sName,worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -13280,7 +13292,7 @@ export default {
|
|
|
markScoreUid:'',
|
|
|
markScoreTit:{},
|
|
|
markfullscreen:false,
|
|
|
- xianObj: ["DOCX","PPT","DOC","PPTX", "MD", "TXT", "PDF"],
|
|
|
+ xianObj: ["DOCX", "MD", "TXT", "PDF"],
|
|
|
markScoreworksStudent:[]
|
|
|
};
|
|
|
},
|
|
@@ -13348,15 +13360,60 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ resetLoopEva(con,tit,stage,task,toolIndex,toolDetail,worksStudent){
|
|
|
+ let jude = false
|
|
|
+ this.AIloading.forEach((e,index)=>{
|
|
|
+ if(index == toolIndex){
|
|
|
+ e.forEach(k=>{
|
|
|
+ if(k.loading == true)
|
|
|
+ jude=true
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(jude) return this.$message.info('正在进行AI评分中,请稍后')
|
|
|
+
|
|
|
+ this.$confirm('确认一键重置?')
|
|
|
+ .then(_ => {
|
|
|
+ this.allEmptyScoBtn(con,stage,task)
|
|
|
+ })
|
|
|
+ .catch(_ => {});
|
|
|
+
|
|
|
+ },
|
|
|
+ async allEmptyScoBtn(con,stage,task){
|
|
|
+ for (let index = 0; index < con.length; index++) {
|
|
|
+ await this.allEmptySco(con[index].userid,stage,task)
|
|
|
+ }
|
|
|
+
|
|
|
+ this.$message.success('重置完成')
|
|
|
+ this.refreshAssembly();
|
|
|
+ },
|
|
|
+ allEmptySco(uid,stage,task){
|
|
|
+ let params = [{
|
|
|
+ cid: this.id,
|
|
|
+ uid:uid,
|
|
|
+ s:stage,
|
|
|
+ t:task
|
|
|
+ }];
|
|
|
+ return new Promise(resolve => { this.ajax
|
|
|
+ .post(this.$store.state.api + "allWorkEmptySco", params)
|
|
|
+ .then(res => {
|
|
|
+ resolve(1);
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
+ },
|
|
|
async loopEva(con,tit,stage,task,toolIndex,toolDetail,worksStudent){
|
|
|
- console.log(con,tit,stage,task,toolIndex,toolDetail);
|
|
|
|
|
|
tit.forEach((e,index)=>{
|
|
|
if(!e.isai){
|
|
|
e.isai=1
|
|
|
}
|
|
|
})
|
|
|
- // return console.log(tit)
|
|
|
|
|
|
let jude = false
|
|
|
this.AIloading.forEach((e,index)=>{
|
|
@@ -13378,23 +13435,27 @@ export default {
|
|
|
})
|
|
|
|
|
|
this.loopLoading[toolIndex].loading=true
|
|
|
- // return console.log(this.loopLoading,this.AIloading);
|
|
|
|
|
|
let laws = ""
|
|
|
for (let i = 0; i < tit.length; i++) {
|
|
|
if(tit[i].isai == 1){
|
|
|
- laws += `评价维度:${tit[i].value} 评价细则:${tit[i].rule} \n`
|
|
|
+ let a = tit[i].value
|
|
|
+ let result = a.match(/[\u4e00-\u9fa5a-zA-Z]+/g).join("");
|
|
|
+
|
|
|
+ laws += `评价维度:“${result}”, 评价细则:${tit[i].rule} \n`;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
for (let i = 0; i < con.length; i++) {
|
|
|
let _fileid = ''
|
|
|
- // console.log('con[i].works',con[i])
|
|
|
let wok = con[i].works
|
|
|
if(con[i].type == 1 || con[i].type == 12){
|
|
|
let a = wok.slice(wok.lastIndexOf(".") + 1)
|
|
|
if (this.xianObj.indexOf(a.toUpperCase()) != -1) {
|
|
|
_fileid = await this.createFileid(con[i].works);
|
|
|
+ }else{
|
|
|
+ this.AIloading[toolIndex][i].loading=false;
|
|
|
+ continue;
|
|
|
}
|
|
|
}
|
|
|
if(_fileid == 1 || con[i].type == 0 || con[i].type == 3){
|
|
@@ -13409,7 +13470,7 @@ export default {
|
|
|
|
|
|
#Context
|
|
|
##要求
|
|
|
- 根据<评价细则>和<作业内容>的相关性评价作业,判断该作业属于六级中的哪个等级,结合“评价维度”和等级写评语。如果作业内容与评价细则无关,则直接评为0星。
|
|
|
+ 根据<评价细则>和<作业内容>的相关性评价作业,判断该作业属于六级中的哪个等级,结合“评价细则”和等级写评语。如果作业内容与评价细则无关,则直接评为0星。
|
|
|
|
|
|
##评分资料
|
|
|
评价细则:${laws}
|
|
@@ -13418,6 +13479,7 @@ export default {
|
|
|
#输出要求#
|
|
|
输出每个维度的“等级”和作业的综合性“评语”
|
|
|
“评语”控制在150字左右
|
|
|
+ 评价维度要按原样输出,只输出 ##评分资料 “评分细则”引号内的
|
|
|
|
|
|
|
|
|
# Format example
|
|
@@ -13565,7 +13627,52 @@ export default {
|
|
|
let mk = `markSco${toolIndex}${val}`
|
|
|
this.$refs[mk][0].getData()
|
|
|
},
|
|
|
+ //点击评分显示评分框, AI循环评分val等于1时正在评分,不让重复点击
|
|
|
+ markScoreDig2(uname,worksStudent,uid,tidx,titlist,val = 0){
|
|
|
+ let jude = false
|
|
|
+ this.AIloading.forEach((e,index)=>{
|
|
|
+ if(index == tidx){
|
|
|
+ e.forEach(k=>{
|
|
|
+ if(k.loading == true)
|
|
|
+ jude=true
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(jude) return this.$message.info('正在AI评价进程中请稍后')
|
|
|
+ if(val) return
|
|
|
+ // console.log(uname,worksStudent,uid,tidx,titlist)
|
|
|
+ this.markScoreTit=titlist;
|
|
|
+ // console.log('val',data)
|
|
|
+ this.markScoreUid=uid;
|
|
|
+ this.markScoretoolIndex=tidx;
|
|
|
+ this.markScoreworksStudent = worksStudent;
|
|
|
+ this.markfullscreen = false;
|
|
|
+ this.markScoreVisible = true;
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${uname}</span>的作业`)
|
|
|
+ },
|
|
|
+ // 点击markScore显示评分框
|
|
|
+ markScoreDig(data){
|
|
|
+ // console.log('data',data.uname)
|
|
|
+ let jude = false
|
|
|
+ this.AIloading.forEach((e,index)=>{
|
|
|
+ if(index == data.val2){
|
|
|
+ e.forEach(k=>{
|
|
|
+ if(k.loading == true)
|
|
|
+ jude=true
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(jude) return this.$message.info('正在AI评价进程中请稍后')
|
|
|
+ this.markScoreTit=data.tit
|
|
|
+ // console.log('val',data)
|
|
|
+ this.markScoreUid=data.val
|
|
|
+ this.markScoretoolIndex=data.val2
|
|
|
|
|
|
+ this.markfullscreen = false
|
|
|
+ this.markScoreVisible = true
|
|
|
+ this.insertMemorandum(`查看<span class="variable">${data.uname}</span>的作业`)
|
|
|
+
|
|
|
+ },
|
|
|
// 刷新其他组件分数
|
|
|
refreshOther(toolIndex){
|
|
|
|
|
@@ -15334,31 +15441,6 @@ export default {
|
|
|
].toolChoose[toolIndex].wordJson;
|
|
|
}
|
|
|
},
|
|
|
- //点击评分显示评分框, AI循环评分val等于1时正在评分,不让重复点击
|
|
|
- markScoreDig2(worksStudent,uid,tidx,titlist,val = 0){
|
|
|
- if(val) return
|
|
|
- // console.log('222')
|
|
|
- this.markScoreTit=titlist;
|
|
|
- // console.log('val',data)
|
|
|
- this.markScoreUid=uid;
|
|
|
- this.markScoretoolIndex=tidx;
|
|
|
- this.markScoreworksStudent = worksStudent;
|
|
|
- this.markfullscreen = false;
|
|
|
- this.markScoreVisible = true;
|
|
|
- },
|
|
|
- // 点击markScore显示评分框
|
|
|
- markScoreDig(data){
|
|
|
-
|
|
|
- this.markScoreTit=data.tit
|
|
|
- // console.log('val',data)
|
|
|
- this.markScoreUid=data.val
|
|
|
- this.markScoretoolIndex=data.val2
|
|
|
-
|
|
|
- this.markfullscreen = false
|
|
|
- this.markScoreVisible = true
|
|
|
- // this.insertMemorandum(`查看<span class="variable">${w.sName}</span>的作业`)
|
|
|
-
|
|
|
- },
|
|
|
async openScore(w, index) {
|
|
|
console.log(w,index)
|
|
|
this.wScore = 0;
|
|
@@ -15573,12 +15655,15 @@ export default {
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
+
|
|
|
deleteWorksTwo(id,toolIndex,wIndex) {
|
|
|
console.log(id)
|
|
|
let mk = `markSco${toolIndex}${wIndex}`
|
|
|
console.log(this.$refs[mk][0].homeworkVal)
|
|
|
|
|
|
let wid = this.$refs[mk][0].homeworkVal.id
|
|
|
+ console.log('wid',wid);
|
|
|
+
|
|
|
this.$confirm("确定删除此作业吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
@@ -22601,7 +22686,7 @@ export default {
|
|
|
}
|
|
|
.markScore_diy >>> .el-dialog__body{
|
|
|
padding: 0;
|
|
|
- height: 600px;
|
|
|
+ height: 621px;
|
|
|
min-height: calc(100% - 60px);
|
|
|
}
|
|
|
.markScore_diy >>> .el-dialog__header{
|