| | |
| | | </radio-group> |
| | | </view> |
| | | </view> |
| | | <button class="blue-btn sticky-footer" @click="submit">提交跟进</button> |
| | | <button class="blue-btn sticky-footer" :disabled="isDisabled" @click="submit">提交跟进</button> |
| | | <date-time-picker ref='date-time' :startDate="startDate" type='datetime' @change='dateTimeChange'></date-time-picker> |
| | | </view> |
| | | </template> |
| | |
| | | albums: [] |
| | | }, |
| | | orderName: '', |
| | | serviceName:'' |
| | | serviceName:'', |
| | | isDisabled: false |
| | | } |
| | | }, |
| | | computed:{ |
| | |
| | | if(this.valid() === false){ |
| | | return; |
| | | } |
| | | this.isDisabled = true; |
| | | this.$httpUtils.request('/api/followup/addFollowup', this.formData, 'POST').then((res) => { |
| | | if(res.status == 200){ |
| | | uni.navigateBack() |
| | | } |
| | | this.$toast.info(res.info) |
| | | this.isDisabled = false |
| | | }).catch((err) => { |
| | | this.isDisabled = false |
| | | }) |
| | | } |
| | | } |