|
|
@@ -144,13 +144,13 @@
|
|
|
:userList="lackPeopleList"
|
|
|
:inpitLabel="'缺席人员'"
|
|
|
:organizationId="trainingData.orgId"
|
|
|
- :isRequired="true"
|
|
|
+ :isRequired="false"
|
|
|
@userList="lackUserListHandler"
|
|
|
></CheckPeople>
|
|
|
<!-- 上传 -->
|
|
|
<van-field readonly clickable name="uploader" required label="上传图片">
|
|
|
<template #input>
|
|
|
- <Upload v-model="form.imageList" :maxCount="5" @input="listHandler"></Upload>
|
|
|
+ <Upload v-model="form.imageList" :multiple="true" :maxCount="5" @input="listHandler"></Upload>
|
|
|
</template>
|
|
|
</van-field>
|
|
|
<div class="btns">
|
|
|
@@ -359,11 +359,7 @@ 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 => {
|