|
@@ -1357,7 +1357,7 @@
|
|
@click="openWordCloud(toolIndex)"
|
|
@click="openWordCloud(toolIndex)"
|
|
>生成词云</el-button
|
|
>生成词云</el-button
|
|
>
|
|
>
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
type="primary"
|
|
type="primary"
|
|
v-if="
|
|
v-if="
|
|
tool.tool[0] == 16 && worksStudent[toolIndex].length > 0
|
|
tool.tool[0] == 16 && worksStudent[toolIndex].length > 0
|
|
@@ -1365,7 +1365,7 @@
|
|
style="position: absolute; right: 30px; top: -45px"
|
|
style="position: absolute; right: 30px; top: -45px"
|
|
@click="uploadWorks(toolIndex)"
|
|
@click="uploadWorks(toolIndex)"
|
|
>导出作业</el-button
|
|
>导出作业</el-button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
<!-- <el-button type="primary" v-if="tool.tool[0] == 57" style="
|
|
<!-- <el-button type="primary" v-if="tool.tool[0] == 57" style="
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 30px;
|
|
right: 30px;
|
|
@@ -18411,16 +18411,17 @@ export default {
|
|
// 来判断ai评分是否可用,因为有的评分教师全选的人工打分,所以全是人工打分的话,ai评分就不能使用
|
|
// 来判断ai评分是否可用,因为有的评分教师全选的人工打分,所以全是人工打分的话,ai评分就不能使用
|
|
// 不然会无限循环报错,会很难受
|
|
// 不然会无限循环报错,会很难受
|
|
let aiSNum = 0
|
|
let aiSNum = 0
|
|
- chapInfoListCopy[this.taskCount].eList.forEach(e=>{
|
|
|
|
- if (e.isai == 2) {
|
|
|
|
- aiSNum++
|
|
|
|
|
|
+ if(chapInfoListCopy[this.taskCount].eList && chapInfoListCopy[this.taskCount].eList.length){
|
|
|
|
+ chapInfoListCopy[this.taskCount].eList.forEach(e=>{
|
|
|
|
+ if (e.isai == 2) {
|
|
|
|
+ aiSNum++
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ if(aiSNum == chapInfoListCopy[this.taskCount].eList.length){
|
|
|
|
+ this.isaiNum = aiSNum
|
|
|
|
+ }else{
|
|
|
|
+ this.isaiNum = 0
|
|
}
|
|
}
|
|
- })
|
|
|
|
- if(aiSNum == chapInfoListCopy[this.taskCount].eList.length){
|
|
|
|
- this.isaiNum = aiSNum
|
|
|
|
- }else{
|
|
|
|
- this.isaiNum = 0
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -18430,12 +18431,13 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- for (let k = 0; k < chapInfoListCopy[this.taskCount].eList.length; k++) {
|
|
|
|
- if(!chapInfoListCopy[this.taskCount].eList[k].rule){
|
|
|
|
- this.againEva(this.taskCount,k)
|
|
|
|
|
|
+ for (let k = 0; k < chapInfoListCopy[this.taskCount].eList.length; k++) {
|
|
|
|
+ if(!chapInfoListCopy[this.taskCount].eList[k].rule){
|
|
|
|
+ this.againEva(this.taskCount,k)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|