增加师傅完工图片及备注显示
This commit is contained in:
parent
34a06c614c
commit
a9cdaf1c40
|
|
@ -70,6 +70,9 @@ export default {
|
|||
let res = await wx.getLocation({
|
||||
type: 'gcj02'
|
||||
})
|
||||
if (!res || !res.latitude) {
|
||||
return;
|
||||
}
|
||||
let areaRes = await this.baiduGetLoacation(res.latitude, res.longitude);
|
||||
areaRes = areaRes.data;
|
||||
if (areaRes) {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
},
|
||||
sendUrgentMsg(e) {
|
||||
uni.showToast({
|
||||
icon: 'none'
|
||||
icon: 'none',
|
||||
title: '功能开发中'
|
||||
})
|
||||
},
|
||||
|
|
|
|||
|
|
@ -102,6 +102,21 @@
|
|||
<view class="margin-top-sm" v-if="servDetail.orderStatus >= 4">完成时间:{{item.workFinishTime}}</view>
|
||||
<simple-product-picked :pickedList="item.orderStandardList" :columnTitleArr="servedColumnHeaders" :valFieldArr="servedValFields"></simple-product-picked>
|
||||
</view>
|
||||
<view v-if="servDetail.orderStatus > 3 && item.finishImgList && item.finishImgList.length" class="bg-white">
|
||||
<view class="cu-bar solid-bottom">
|
||||
<view class="action bar-first-action">
|
||||
<text class="cuIcon-title text-main-color"></text> 完工图片
|
||||
</view>
|
||||
</view>
|
||||
<view class="grid col-3 grid-square flex-sub margin-top-sm">
|
||||
<view class="bg-img" v-for="(imgUrl, index) in item.finishImgList" :key="index">
|
||||
<image :src="imgUrl" @tap="viewImage($event, [imgUrl])" :data-url="imgUrl" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<text>备注:{{item.remark}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 订单编码和时间 -->
|
||||
<view class="bg-white margin-top-sm padding margin-lr-sm margin-bottom-with-bar">
|
||||
|
|
@ -214,6 +229,12 @@
|
|||
decideIfCancelOrder() {
|
||||
this.$refs.confirmModal.showModal();
|
||||
},
|
||||
viewImage(e, imgList) {
|
||||
uni.previewImage({
|
||||
urls: imgList,
|
||||
current: e.currentTarget.dataset.url
|
||||
});
|
||||
},
|
||||
async cancelOrder(e) {
|
||||
let res = await this.$request.cancelMasterOrder({
|
||||
orderMasterId: this.servDetail.orderMasterId
|
||||
|
|
|
|||
Loading…
Reference in New Issue