|
|
@@ -144,7 +144,7 @@
|
|
|
:userList="lackPeopleList"
|
|
|
:inpitLabel="'缺席人员'"
|
|
|
:organizationId="trainingData.orgId"
|
|
|
- :isRequired="false"
|
|
|
+ :isRequired="true"
|
|
|
@userList="lackUserListHandler"
|
|
|
></CheckPeople>
|
|
|
<!-- 上传 -->
|
|
|
@@ -359,6 +359,11 @@ export default {
|
|
|
this.falg = true
|
|
|
return
|
|
|
}
|
|
|
+ if (this.lackPeopleList.length == 0) {
|
|
|
+ Toast('缺席人员不能为空!')
|
|
|
+ this.falg = true
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.userPeopleList.length > this.lackPeopleList.length) {
|
|
|
let isTrue = false
|
|
|
this.userPeopleList.forEach(item => {
|