| | |
| | | title: '请输入办理进度描述' |
| | | }) |
| | | } |
| | | if (this.imgUrls.length == 0) { |
| | | return uni.showToast({ |
| | | icon: 'none', |
| | | title: '请上传图片' |
| | | }) |
| | | } |
| | | if (this.video.length == 0) { |
| | | return uni.showToast({ |
| | | icon: 'none', |
| | | title: '请上传视频' |
| | | }) |
| | | } |
| | | // if (this.imgUrls.length == 0) { |
| | | // return uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '请上传图片' |
| | | // }) |
| | | // } |
| | | // if (this.video.length == 0) { |
| | | // return uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '请上传视频' |
| | | // }) |
| | | // } |
| | | this.showPop = true |
| | | |
| | | }, |
| | |
| | | let obj = { |
| | | complaintId: this.complaintId, |
| | | comment: this.describe, |
| | | images: this.imgUrls.join(','), |
| | | videos: this.video.join(',') |
| | | images: this.imgUrls.length > 0 ? this.imgUrls.join(',') : '', |
| | | videos: this.video.length > 0 ? this.video.join(',') : '' |
| | | } |
| | | saveProcess(obj).then(res => { |
| | | if (res.code == 200) { |