|
@@ -6558,7 +6558,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="courseDetail.userid == userid && chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList && courseDetail.state == 5">
|
|
|
- <div class="ScoreBtn" v-if="!loopLoading[toolIndex].loading" @click="loopEva(worksStudent[toolIndex],chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].eList,courseType,taskCount,toolIndex,tool.toolDetail)" >
|
|
|
+ <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>
|
|
@@ -6635,7 +6635,7 @@
|
|
|
:disabled="AIloading[toolIndex][wIndex].loading"
|
|
|
trigger="click"
|
|
|
@show="handleShow(toolIndex,wIndex)"
|
|
|
- @hide="handleHide(toolIndex,wIndex)"
|
|
|
+ @hide="handleHide(toolIndex,wIndex,worksStudent)"
|
|
|
>
|
|
|
<markScore
|
|
|
:loading="AIloading[toolIndex][wIndex].loading"
|
|
@@ -12456,7 +12456,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
- async loopEva(con,tit,stage,task,toolIndex,toolDetail){
|
|
|
+ async loopEva(con,tit,stage,task,toolIndex,toolDetail,worksStudent){
|
|
|
console.log(con,tit,stage,task,toolIndex,toolDetail);
|
|
|
|
|
|
let jude = false
|
|
@@ -12511,10 +12511,20 @@ export default {
|
|
|
[{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'},{'评价名称':'评价等级0-5(数字)'}]
|
|
|
`
|
|
|
let mk = `markSco${toolIndex}${i}`
|
|
|
+
|
|
|
await this.$refs[mk][0].aiupdetaSco(msg,con[i].userid,stage,task)
|
|
|
// this.refreshKey++
|
|
|
this.$refs[mk][0].getData()
|
|
|
|
|
|
+ worksStudent.forEach((e,index)=>{
|
|
|
+ if(toolIndex != index){
|
|
|
+ e.forEach((i,inx)=>{
|
|
|
+ let mk = `markSco${index}${inx}`
|
|
|
+ this.$refs[mk][0].getData()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
this.AIloading[toolIndex][i].loading=false
|
|
|
}
|
|
|
this.loopLoading[toolIndex].loading = false;
|
|
@@ -12534,9 +12544,21 @@ export default {
|
|
|
// console.log(mk);
|
|
|
this.$refs[mk][0].getData()
|
|
|
},
|
|
|
- handleHide(toolIndex,val) {
|
|
|
+ handleHide(toolIndex,val,worksStudent) {
|
|
|
+ console.log(worksStudent)
|
|
|
let mk = `markSco${toolIndex}${val}`
|
|
|
this.$refs[mk][0].getData()
|
|
|
+
|
|
|
+ worksStudent.forEach((e,index)=>{
|
|
|
+ if(toolIndex != index){
|
|
|
+ e.forEach((i,inx)=>{
|
|
|
+ let mk = `markSco${index}${inx}`
|
|
|
+ this.$refs[mk][0].getData()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
updateDocSco(payload){
|
|
|
// console.log(this.AIloading[payload.val][payload.val2].sco , payload.val3);
|