|
@@ -21,10 +21,17 @@
|
|
|
<view class="list-cell">
|
|
|
<view class="menu-item">
|
|
|
<view style="width: 90px">事件上传图片</view>
|
|
|
- <image style="width: 20px; height: 20px; margin: auto 15px auto 0" v-if="dataList.eventImage && JSON.parse(dataList.eventImage)[0].url"
|
|
|
- :src="JSON.parse(dataList.eventImage)[0].url ? JSON.parse(dataList.eventImage)[0].url : '/static/images/404.png'" mode="aspectFill"
|
|
|
- @click="proxy.$common.imgEnlarge(2,JSON.parse(dataList.eventImage))"
|
|
|
- ></image>
|
|
|
+ <view v-if="dataList.eventImage && dataList.eventImage !='[]'" @click="proxy.$common.imgEnlarge(2,JSON.parse(dataList.eventImage))">
|
|
|
+ <image style="width: 20px; height: 20px; margin: auto 15px auto 0" v-for="(item,index) in JSON.parse(dataList.eventImage)" :key="index"
|
|
|
+ :src="item.url ? item.url : '/static/images/404.png'" mode="aspectFill"
|
|
|
+ ></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-cell">
|
|
|
+ <view class="menu-item">
|
|
|
+ <view style="width: 90px">事件备注</view>
|
|
|
+ <view style="color: #666666">{{ dataList.remark }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list-cell">
|
|
@@ -57,34 +64,50 @@
|
|
|
<view style="color: #666666">{{ proxy.$common.mapping("label", "value", dataList.eventType, patrol_event_type) }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="list-cell">
|
|
|
+ <view class="menu-item">
|
|
|
+ <view style="width: 90px">创建人</view>
|
|
|
+ <view style="color: #666666">{{ dataList.createBy }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-cell">
|
|
|
+ <view class="menu-item">
|
|
|
+ <view style="width: 90px">创建时间</view>
|
|
|
+ <view style="color: #666666">{{ dataList.createTime }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="list-cell">
|
|
|
<view class="menu-item">
|
|
|
<view style="width: 90px">处置状态</view>
|
|
|
<view :style="{color: dataList.handleStatus == 0 ? 'red' : '#666666'}">{{ dataList.handleStatus == 0 ? '未处置' : dataList.handleStatus == 1 ? '已处置' : '' }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="list-cell" v-if="dataList.handleStatus == 1">
|
|
|
+ <view class="list-cell">
|
|
|
<view class="menu-item">
|
|
|
- <view style="width: 90px">处置人</view>
|
|
|
- <view style="color: #666666">{{ dataList.handleName }}</view>
|
|
|
+ <view style="width: 90px">处置图片</view>
|
|
|
+ <view v-if="dataList.handleImage && dataList.handleImage !='[]'" @click="proxy.$common.imgEnlarge(2,JSON.parse(dataList.handleImage))">
|
|
|
+ <image style="width: 20px; height: 20px; margin: auto 15px auto 0" v-for="(item,index) in JSON.parse(dataList.handleImage)" :key="index"
|
|
|
+ :src="item.url ? item.url : '/static/images/404.png'" mode="aspectFill"
|
|
|
+ ></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="list-cell" v-if="dataList.handleStatus == 1">
|
|
|
+ <view class="list-cell">
|
|
|
<view class="menu-item">
|
|
|
- <view style="width: 90px">处置时间</view>
|
|
|
- <view style="color: #666666"> {{ dataList.handleTime ? dataList.handleTime.replace("T", " ") : "" }}</view>
|
|
|
+ <view style="width: 90px">处置备注</view>
|
|
|
+ <view style="color: #666666">{{ dataList.handleContent }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list-cell">
|
|
|
<view class="menu-item">
|
|
|
- <view style="width: 90px">创建人</view>
|
|
|
- <view style="color: #666666">{{ dataList.createBy }}</view>
|
|
|
+ <view style="width: 90px">处置人</view>
|
|
|
+ <view style="color: #666666">{{ dataList.handleName }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="list-cell">
|
|
|
+ <view class="list-cell" >
|
|
|
<view class="menu-item">
|
|
|
- <view style="width: 90px">创建时间</view>
|
|
|
- <view style="color: #666666">{{ dataList.createTime }}</view>
|
|
|
+ <view style="width: 90px">处置时间</view>
|
|
|
+ <view style="color: #666666"> {{ dataList.handleTime ? dataList.handleTime.replace("T", " ") : "" }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|