|
|
@@ -792,21 +792,21 @@ export default {
|
|
|
})
|
|
|
throw new Error('存在未编辑完成履职项,无法提交')
|
|
|
}
|
|
|
- if(point.imgs.length < 1){
|
|
|
- this.changeSwitch()
|
|
|
- this.areas.forEach((area, i) => {
|
|
|
- if (area.areaId === item.areaId) {
|
|
|
- this.activeArea(area, i)
|
|
|
- //切换后验证表单
|
|
|
- this.$refs.resumption_form.validate()
|
|
|
- this.$toast.fail({
|
|
|
- message: '请拍照上传异常图片!',
|
|
|
- position: 'top'
|
|
|
- })
|
|
|
- throw new Error('请上传异常图片!');
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ // if(point.imgs.length < 1){
|
|
|
+ // this.changeSwitch()
|
|
|
+ // this.areas.forEach((area, i) => {
|
|
|
+ // if (area.areaId === item.areaId) {
|
|
|
+ // this.activeArea(area, i)
|
|
|
+ // //切换后验证表单
|
|
|
+ // this.$refs.resumption_form.validate()
|
|
|
+ // this.$toast.fail({
|
|
|
+ // message: '请拍照上传异常图片!',
|
|
|
+ // position: 'top'
|
|
|
+ // })
|
|
|
+ // throw new Error('请上传异常图片!');
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|