维修完成api
This commit is contained in:
@@ -97,15 +97,15 @@
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="label"> <text>状态</text> </view>
|
||||
<view class="value"> {{ repairInfo.problemStatus }} </view>
|
||||
<view class="value"> {{ repairInfo.repairStatus === 0 ? '正常' : '异常' }} </view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="label"> <text>角色</text> </view>
|
||||
<!-- <view class="value"> {{ repairInfo.repairUser.role }} </view> -->
|
||||
<view class="value"> {{ repairInfo.repairRoleName }} </view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="label"> <text>手机号</text> </view>
|
||||
<!-- <view class="value"> {{ repairInfo.repairUser.phone }} </view> -->
|
||||
<view class="value"> {{ repairInfo.repairPhone }} </view>
|
||||
</view>
|
||||
<view class="" v-if="currentStep >= 3">
|
||||
<view class="item descrition flex-col">
|
||||
@@ -122,7 +122,6 @@
|
||||
:key="index"
|
||||
class="images"
|
||||
:src="item"
|
||||
mode=""
|
||||
></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -209,11 +208,11 @@ function getTicketById() {
|
||||
repairInfo.value = res.data
|
||||
|
||||
problemImageUrl.value = repairInfo.value.problemImageUrl
|
||||
? repairInfo.value.problemImageUrl.split(',')
|
||||
? repairInfo.value.problemImageUrl.split(',').filter(item => item)
|
||||
: []
|
||||
|
||||
repairImageUrl.value = repairInfo.value.repairImageUrl
|
||||
? repairInfo.value.repairImageUrl.split(',')
|
||||
? repairInfo.value.repairImageUrl.split(',').filter(item => item)
|
||||
: []
|
||||
handleStop(res.data)
|
||||
})
|
||||
@@ -247,13 +246,7 @@ function handleStop(row) {
|
||||
/** 选择维修人员 */
|
||||
function handleSelecthouse() {
|
||||
uni.navigateTo({
|
||||
url: '/pageSubPack/ticket/shareUser',
|
||||
events: {
|
||||
backData: val => {
|
||||
currentStep.value += 1
|
||||
//api;
|
||||
}
|
||||
}
|
||||
url: '/pageSubPack/ticket/shareUser'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user