| | |
| | | <view class="dca" v-if="info"> |
| | | <view class="dca_head"> |
| | | <text>任务{{returnStatus(info.status)}}</text> |
| | | <text>工单号:{{info.code}}</text> |
| | | </view> |
| | | <u-gap height="5" bgColor="#EFEFEF"></u-gap> |
| | | <view class="dca_list"> |
| | |
| | | </view> |
| | | <view class="lc_item_content" v-else-if="item.objType === 4"> |
| | | <view class="lc_item_content_item"> |
| | | <view class="lc_item_content_item_label">已催促:</view> |
| | | <!-- <view class="lc_item_content_item_label">已催促:</view> --> |
| | | <view class="lc_item_content_item_val"> |
| | | <text>{{item.content}}</text> |
| | | </view> |
| | |
| | | this.getDetails() |
| | | }, |
| | | methods: { |
| | | // 工单催促 |
| | | async urge() { |
| | | let res = await this.$u.api.urge({ workorderId: this.info.id }) |
| | | if (res.code === 200) { |
| | | uni.showToast({ title: '催促成功', icon: 'none' }) |
| | | this.getDetails() |
| | | this.show2 = false |
| | | } |
| | | }, |
| | | previewImage(current, urls) { |
| | | uni.previewImage({ |
| | | current, |
| | |
| | | info: that.model.info, |
| | | passOnUserId: that.model.passOnUserId, |
| | | multifileList: that.model.multifileList, |
| | | workorderId: that.info.id |
| | | workorderId: that.info.id, |
| | | passOnType: this.info.status |
| | | }) |
| | | if (res.code === 200) { |
| | | uni.showToast({ title: '操作成功', icon: 'none' }) |