|
@@ -39,6 +39,9 @@
|
39
|
39
|
|
40
|
40
|
<view class="detail_head">
|
41
|
41
|
<text class="title">执行信息</text>
|
|
42
|
+ <view class="other">
|
|
43
|
+ <view class="status" :style="{ color: dataInfo.inspectionTaskData.exception === 1 ? 'red' : '#49B856' }">{{dataInfo.inspectionTaskData.exception === 1 ? '异常' : '正常'}}</view>
|
|
44
|
+ </view>
|
42
|
45
|
</view>
|
43
|
46
|
<view class="detail_item_wrap">
|
44
|
47
|
<view class="deital_item">
|
|
@@ -54,15 +57,17 @@
|
54
|
57
|
<text class="value">{{formatDate(dataInfo.inspectionTaskData.completeTime, 'yyyy-MM-dd HH:mm')}}</text>
|
55
|
58
|
<text class="value text_right">执行人:{{ dataInfo.inspectionTaskData.userDTO?.name || dataInfo.inspectionTaskData.groupDTO?.groupName }}</text>
|
56
|
59
|
</view>
|
57
|
|
- <view class="deital_item">
|
58
|
|
- <text class="name">故障单号:</text>
|
59
|
|
- <text class="value">{{dataInfo.inspectionTaskData.incidentDTO?.incidentsign}}</text>
|
60
|
|
- <text class="value text_right">{{dataInfo.inspectionTaskData.incidentDTO?.state?.name}}</text>
|
61
|
|
- </view>
|
62
|
|
- <view class="deital_item">
|
63
|
|
- <text class="name">处理人/组:</text>
|
64
|
|
- <text class="value">{{dataInfo.inspectionTaskData.incidentDTO?.groupORHandlerUser}}</text>
|
65
|
|
- </view>
|
|
60
|
+ <template v-if="dataInfo.inspectionTaskData.incidentDTO">
|
|
61
|
+ <view class="deital_item">
|
|
62
|
+ <text class="name">故障单号:</text>
|
|
63
|
+ <text class="value">{{dataInfo.inspectionTaskData.incidentDTO?.incidentsign}}</text>
|
|
64
|
+ <text class="value text_right">{{dataInfo.inspectionTaskData.incidentDTO?.state?.name}}</text>
|
|
65
|
+ </view>
|
|
66
|
+ <view class="deital_item">
|
|
67
|
+ <text class="name">处理人/组:</text>
|
|
68
|
+ <text class="value">{{dataInfo.inspectionTaskData.incidentDTO?.groupORHandlerUser}}</text>
|
|
69
|
+ </view>
|
|
70
|
+ </template>
|
66
|
71
|
</view>
|
67
|
72
|
</template>
|
68
|
73
|
|