|
@@ -2482,7 +2482,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5">
|
|
|
+ <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)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -2850,7 +2850,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -2941,7 +2941,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3036,7 +3036,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3131,7 +3131,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3663,7 +3663,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3774,7 +3774,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5">
|
|
|
+ <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)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -3878,7 +3878,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -3972,7 +3972,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -4067,7 +4067,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -5270,7 +5270,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -5603,7 +5603,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -6219,7 +6219,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -6993,7 +6993,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5">
|
|
|
+ <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)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -7092,7 +7092,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -7287,7 +7287,7 @@
|
|
|
展开
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5">
|
|
|
+ <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)" >
|
|
|
<img src="../../assets/icon/newIcons/rootImg.png" alt="">
|
|
|
AI评分
|
|
@@ -7402,7 +7402,7 @@
|
|
|
|
|
|
<div
|
|
|
class="answerScore"
|
|
|
- @click="markScoreDig2(w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
+ @click="markScoreDig2(worksStudent,w.userid,toolIndex,chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,AIloading[toolIndex][wIndex].loading)"
|
|
|
slot="reference"
|
|
|
:class="{
|
|
|
rightW:
|
|
@@ -12781,6 +12781,7 @@
|
|
|
:stage="courseType"
|
|
|
:task="taskCount"
|
|
|
:scoTit="markScoreTit"
|
|
|
+ :markScoreworksStudent="markScoreworksStudent"
|
|
|
:markScoreVisible="markScoreVisible"
|
|
|
></markDialog>
|
|
|
</el-dialog>
|
|
@@ -13280,7 +13281,7 @@ export default {
|
|
|
markScoreTit:{},
|
|
|
markfullscreen:false,
|
|
|
xianObj: ["DOCX","PPT","DOC","PPTX", "MD", "TXT", "PDF"],
|
|
|
-
|
|
|
+ markScoreworksStudent:[]
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -13348,7 +13349,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
async loopEva(con,tit,stage,task,toolIndex,toolDetail,worksStudent){
|
|
|
- // console.log(con,tit,stage,task,toolIndex,toolDetail);
|
|
|
+ console.log(con,tit,stage,task,toolIndex,toolDetail);
|
|
|
|
|
|
tit.forEach((e,index)=>{
|
|
|
if(!e.isai){
|
|
@@ -13388,15 +13389,15 @@ export default {
|
|
|
|
|
|
for (let i = 0; i < con.length; i++) {
|
|
|
let _fileid = ''
|
|
|
- console.log('con[i].works',con[i])
|
|
|
+ // 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) == -1) {
|
|
|
+ if (this.xianObj.indexOf(a.toUpperCase()) != -1) {
|
|
|
_fileid = await this.createFileid(con[i].works);
|
|
|
}
|
|
|
}
|
|
|
- if(_fileid == 1 || con[i].type == 0){
|
|
|
+ if(_fileid == 1 || con[i].type == 0 || con[i].type == 3){
|
|
|
this.AIloading[toolIndex][i].loading=false;
|
|
|
continue;
|
|
|
}
|
|
@@ -13409,7 +13410,7 @@ export default {
|
|
|
#Context
|
|
|
##要求
|
|
|
根据<评价细则>和<作业内容>的相关性评价作业,判断该作业属于六级中的哪个等级,结合“评价维度”和等级写评语。如果作业内容与评价细则无关,则直接评为0星。
|
|
|
-
|
|
|
+
|
|
|
##评分资料
|
|
|
评价细则:${laws}
|
|
|
作业内容:${_fileid ? "上传的文件内容" : JSON.parse(con[i].works).text }
|
|
@@ -13420,7 +13421,7 @@ export default {
|
|
|
|
|
|
|
|
|
# Format example
|
|
|
- [{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'},{'评语':'评语(150个字左右)'}]
|
|
|
+ [{'评价维度':'评价等级0-5(数字)'},{'评价维度':'评价等级0-5(数字)'},{'评价维度':'评价等级0-5(数字)'},{'评价维度':'评价等级0-5(数字)'},{'评语':'评语(150个字左右)'}]
|
|
|
`
|
|
|
|
|
|
let mk = `markSco${toolIndex}${i}`
|
|
@@ -15333,17 +15334,19 @@ export default {
|
|
|
].toolChoose[toolIndex].wordJson;
|
|
|
}
|
|
|
},
|
|
|
- markScoreDig2(uid,tidx,titlist,val = 0){
|
|
|
+ //点击评分显示评分框, AI循环评分val等于1时正在评分,不让重复点击
|
|
|
+ markScoreDig2(worksStudent,uid,tidx,titlist,val = 0){
|
|
|
if(val) return
|
|
|
// console.log('222')
|
|
|
- this.markScoreTit=titlist
|
|
|
+ this.markScoreTit=titlist;
|
|
|
// console.log('val',data)
|
|
|
- this.markScoreUid=uid
|
|
|
- this.markScoretoolIndex=tidx
|
|
|
-
|
|
|
- this.markfullscreen = false
|
|
|
- this.markScoreVisible = true
|
|
|
+ this.markScoreUid=uid;
|
|
|
+ this.markScoretoolIndex=tidx;
|
|
|
+ this.markScoreworksStudent = worksStudent;
|
|
|
+ this.markfullscreen = false;
|
|
|
+ this.markScoreVisible = true;
|
|
|
},
|
|
|
+ // 点击markScore显示评分框
|
|
|
markScoreDig(data){
|
|
|
|
|
|
this.markScoreTit=data.tit
|