|
@@ -12,21 +12,21 @@
|
|
|
<view class="order-item-body">
|
|
<view class="order-item-body">
|
|
|
<view class="order-item-content ddflex">
|
|
<view class="order-item-content ddflex">
|
|
|
<view class="order-item-content-label">机柜编号</view>
|
|
<view class="order-item-content-label">机柜编号</view>
|
|
|
- <view class="order-item-content-data fflex tover">{{item.devId}}</view>
|
|
|
|
|
|
|
+ <view class="order-item-content-data fflex tover">{{item.devId?item.devId:'/'}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-item-content ddflex">
|
|
<view class="order-item-content ddflex">
|
|
|
<view class="order-item-content-label">电池ID</view>
|
|
<view class="order-item-content-label">电池ID</view>
|
|
|
- <view class="order-item-content-data fflex tover">{{item.batteryId}}</view>
|
|
|
|
|
|
|
+ <view class="order-item-content-data fflex tover">{{item.batteryId?item.batteryId:'/'}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-item-content ddflex">
|
|
<view class="order-item-content ddflex">
|
|
|
<view class="order-item-content-label">报障问题</view>
|
|
<view class="order-item-content-label">报障问题</view>
|
|
|
- <view class="order-item-content-data fflex tover">{{item.type}}</view>
|
|
|
|
|
|
|
+ <view class="order-item-content-data fflex tover">{{getTypeString(item.type)}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-item-body2">
|
|
<view class="order-item-body2">
|
|
|
<view class="order-item-content-label">问题补充描述</view>
|
|
<view class="order-item-content-label">问题补充描述</view>
|
|
|
<view class="order-item-content ddflex" style="font-size: 24rpx;font-weight: 400;">
|
|
<view class="order-item-content ddflex" style="font-size: 24rpx;font-weight: 400;">
|
|
|
- {{item.content}}
|
|
|
|
|
|
|
+ {{item.content?item.content:'暂无'}}
|
|
|
</view>
|
|
</view>
|
|
|
<view class="images-box ddflex">
|
|
<view class="images-box ddflex">
|
|
|
<image class="images" v-for="it in imageList" :src="it"></image>
|
|
<image class="images" v-for="it in imageList" :src="it"></image>
|
|
@@ -98,6 +98,10 @@
|
|
|
if (!req.isLogin()) return false;
|
|
if (!req.isLogin()) return false;
|
|
|
app.globalData.navigateTo(url);
|
|
app.globalData.navigateTo(url);
|
|
|
},
|
|
},
|
|
|
|
|
+ getTypeString(type){
|
|
|
|
|
+ let arr = ['充电柜故障','电池故障','电池断电故障','电池损坏故障','其它故障']
|
|
|
|
|
+ return arr[Number(type)-1]?arr[Number(type)-1]:'其它故障'
|
|
|
|
|
+ },
|
|
|
// 弹窗弹出
|
|
// 弹窗弹出
|
|
|
openPop(item) {
|
|
openPop(item) {
|
|
|
this.tempData = JSON.parse(JSON.stringify(item))
|
|
this.tempData = JSON.parse(JSON.stringify(item))
|