|
|
@@ -332,7 +332,7 @@ export default {
|
|
|
},
|
|
|
//上传附件成功
|
|
|
listHandler(list) {
|
|
|
- console.log(list, 'mmmm')
|
|
|
+
|
|
|
this.form.imageList = list || []
|
|
|
},
|
|
|
//表单提交前校验
|
|
|
@@ -349,11 +349,11 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- // if (this.form.imageList.length == 0) {
|
|
|
- // Toast('上传图片不能为空')
|
|
|
- // this.falg = true
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (this.form.imageList.length == 0) {
|
|
|
+ Toast('上传图片不能为空')
|
|
|
+ this.falg = true
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.userPeopleList.length == 0) {
|
|
|
Toast('参与人员不能为空!')
|
|
|
this.falg = true
|
|
|
@@ -396,6 +396,7 @@ export default {
|
|
|
.then(() => {
|
|
|
if (type === 1) {
|
|
|
//type 1保存2提交
|
|
|
+ // this.beforSubmitV()
|
|
|
this.submitHandlerConfirm(type)
|
|
|
} else {
|
|
|
this.beforSubmitV() //校验
|