|
@@ -162,9 +162,10 @@ export default {
|
|
this.$toast('请输入学生评价')
|
|
this.$toast('请输入学生评价')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ let tempStatus = false
|
|
students.forEach(item => {
|
|
students.forEach(item => {
|
|
if(!this.checked && !item.content) {
|
|
if(!this.checked && !item.content) {
|
|
- this.$toast('请输入学生评价')
|
|
|
|
|
|
+ tempStatus = true
|
|
return
|
|
return
|
|
}
|
|
}
|
|
params.push({
|
|
params.push({
|
|
@@ -174,6 +175,10 @@ export default {
|
|
"teachingMaterial": this.teachingMaterial
|
|
"teachingMaterial": this.teachingMaterial
|
|
})
|
|
})
|
|
})
|
|
})
|
|
|
|
+ if(tempStatus) {
|
|
|
|
+ this.$toast('请输入学生评价')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.$toast.loading({
|
|
this.$toast.loading({
|
|
duration: 0,
|
|
duration: 0,
|
|
message: '加载中...',
|
|
message: '加载中...',
|