| | |
| | | </view> |
| | | </view> |
| | | <view class="person-item flex1">{{detail.name}}</view> |
| | | <view class="phone-item flex1">{{detail.contactNumber}}</view> |
| | | <view class="flex a-center"> |
| | | <view class="phone-item flex1">{{detail.contactNumber}}</view> |
| | | <image @click.stop="callPhone(detail.contactNumber)" src="../../static/tell.png" |
| | | class="w-58 h-58 shrink0 " /> |
| | | </view> |
| | | |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | }; |
| | | }, |
| | | onShow() { |
| | | this.accountLevel = uni.getStorageSync('userInfo').accountLevel || 1 |
| | | this.accountLevel = uni.getStorageSync('userInfo').levelId || 1 |
| | | }, |
| | | onLoad(option) { |
| | | // option.id = 1 |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | callPhone(phoneNumber) { |
| | | uni.makePhoneCall({ |
| | | phoneNumber |
| | | }); |
| | | }, |
| | | close() { |
| | | this.showPop = false |
| | | }, |
| | |
| | | }) |
| | | return |
| | | } |
| | | uni.showLoading({ |
| | | mask: true |
| | | }) |
| | | saveDispatch({ |
| | | complaintId: this.id, |
| | | comment: this.content, |
| | | dispatchId: this.value |
| | | }).then(res => { |
| | | this.showPop = false |
| | | uni.hideLoading() |
| | | if (res.code == 200) { |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: '下派成功' |
| | | }) |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |
| | | setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |
| | | }, 1500) |
| | | } |
| | | }) |
| | | } |