| | |
| | | </view> |
| | | <image class="close" @click="dele(index)" src="@/static/icon/ic_clean@2x1.png" mode="widthFix"></image> |
| | | </view> |
| | | <view class="form_item_uplaod_list_item1"></view> |
| | | <view class="form_item_uplaod_list_item1"></view> |
| | | <view class="form_item_uplaod_list_item1"></view> |
| | | </view> |
| | | <textarea v-model="from.info" placeholder="请详细描述现场情况,不少于10个字"></textarea> |
| | | </view> |
| | |
| | | uni.showToast({ title: '车辆问题不能为空', icon: 'none', duration: 2000 }); |
| | | return |
| | | } |
| | | if (this.from.info.length < 10) { |
| | | uni.showToast({ title: '最少字数不能低于10个字', icon: 'none', duration: 2000 }); |
| | | return |
| | | } |
| | | this.isEnd = false |
| | | this.$u.api.saveRepair({ |
| | | addr: this.from.address, |
| | |
| | | if (res.code === 200) { |
| | | uni.showToast({ title: '上报成功', icon: 'success', duration: 2000 }); |
| | | this.isEnd = true |
| | | setTimeout(() => { |
| | | // setTimeout(() => { |
| | | uni.navigateBack({ delta: 1 }); |
| | | }, 2000) |
| | | // }, 2000) |
| | | } |
| | | }) |
| | | } |
| | |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | .form_item_uplaod_list_item1 { |
| | | width: 22%; |
| | | height: 0; |
| | | } |
| | | |
| | | .form_item_uplaod_list_item { |
| | | width: 22%; |