更新
This commit is contained in:
parent
c41dc7be00
commit
0affe689f0
@ -292,8 +292,8 @@ export default {
|
|||||||
},
|
},
|
||||||
previewImage(imgUrl) {
|
previewImage(imgUrl) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: [this.baseImageUrl + imgUrl], // 图片数组,可以预览多张
|
urls: [this.baseImageUrl + '/' + imgUrl], // 图片数组,可以预览多张
|
||||||
current: this.baseImageUrl + imgUrl, // 当前要显示的图片
|
current: this.baseImageUrl + '/' + imgUrl, // 当前要显示的图片
|
||||||
indicator: "default", // 显示指示点
|
indicator: "default", // 显示指示点
|
||||||
loop: true // 是否可循环预览
|
loop: true // 是否可循环预览
|
||||||
});
|
});
|
||||||
|
@ -42,6 +42,9 @@
|
|||||||
<view class="s-hui" v-if="item.carNo">车辆号码:{{item.carNo || ''}}</view>
|
<view class="s-hui" v-if="item.carNo">车辆号码:{{item.carNo || ''}}</view>
|
||||||
<!-- <view class="s-hui">车辆性质:{{item.carNature || ''}}</view>-->
|
<!-- <view class="s-hui">车辆性质:{{item.carNature || ''}}</view>-->
|
||||||
|
|
||||||
|
<view class="bd">
|
||||||
|
<view class="" style="color:rgb(60, 156, 255);" @click="previewImage(item.driverLicenesImg)" v-if="item.driverLicenesImg">查看行驶证</view>
|
||||||
|
</view>
|
||||||
<view style="color:#3c9cff;text-align: right;font-size: 30rpx" @click="goAddOrder(item)" v-if="!item.orderId">
|
<view style="color:#3c9cff;text-align: right;font-size: 30rpx" @click="goAddOrder(item)" v-if="!item.orderId">
|
||||||
转订单
|
转订单
|
||||||
</view>
|
</view>
|
||||||
@ -79,6 +82,7 @@
|
|||||||
pageNum: 1,//第几页
|
pageNum: 1,//第几页
|
||||||
pageSize: 20,//一页多少张
|
pageSize: 20,//一页多少张
|
||||||
totalPages: 0,//总数
|
totalPages: 0,//总数
|
||||||
|
baseImageUrl: this.$baseImageUrl,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -118,6 +122,14 @@
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/index/Neworder?appointmentId=${data.id}`
|
url: `/pages/index/Neworder?appointmentId=${data.id}`
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
previewImage(imgUrl) {
|
||||||
|
uni.previewImage({
|
||||||
|
urls: [this.baseImageUrl + '/' + imgUrl], // 图片数组,可以预览多张
|
||||||
|
current: this.baseImageUrl + '/' + imgUrl, // 当前要显示的图片
|
||||||
|
indicator: "default", // 显示指示点
|
||||||
|
loop: true // 是否可循环预览
|
||||||
|
});
|
||||||
},
|
},
|
||||||
async getindex(){
|
async getindex(){
|
||||||
// 首页信息
|
// 首页信息
|
||||||
|
Loading…
Reference in New Issue
Block a user