Commit 0dd5c861 authored by 王晓倩's avatar 王晓倩

反馈列表

parent 32c16dd1
...@@ -141,12 +141,12 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService ...@@ -141,12 +141,12 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
List<TOrderFeedback> feedbackList = tOrderFeedbackMapper.selectTOrderFeedbackByOrderId(tWorkOrder.getOrderId()); List<TOrderFeedback> feedbackList = tOrderFeedbackMapper.selectTOrderFeedbackByOrderId(tWorkOrder.getOrderId());
List<OrderFeedbackVo> feedbackVoList = new ArrayList<>(); List<OrderFeedbackVo> feedbackVoList = new ArrayList<>();
OrderFeedbackVo feedbackVo = new OrderFeedbackVo();
TDeviceInfo device = null; TDeviceInfo device = null;
if(feedbackList.size() != 0) { if(feedbackList.size() != 0) {
for (TOrderFeedback feedback : feedbackList) { for (TOrderFeedback feedback : feedbackList) {
OrderFeedbackVo feedbackVo = new OrderFeedbackVo();
if (feedback != null) { if (feedback != null) {
BeanUtils.copyProperties(feedback, feedbackVo); BeanUtils.copyProperties(feedback, feedbackVo);
} }
......
...@@ -146,8 +146,15 @@ ...@@ -146,8 +146,15 @@
:timestamp="activity.feedbackTime"> :timestamp="activity.feedbackTime">
<el-card> <el-card>
<div style="float: left;margin-left: 50px;"> <div style="float: left;margin-left: 50px;">
<p>设备类型:{{activity.deviceType}}</p> <p>设备类型:
<p>设备名称:{{activity.deviceType}}</p> <span v-if="activity.deviceType == 0">管道</span>
<span v-if="activity.deviceType == 1">调压箱</span>
<span v-if="activity.deviceType == 2">阀门井</span>
<span v-if="activity.deviceType == 3">流量计</span>
<span v-if="activity.deviceType == 4">压力表</span>
</p>
<p>设备名称:{{activity.deviceName}}</p>
<p>反馈信息:{{activity.contents}}</p> <p>反馈信息:{{activity.contents}}</p>
</div> </div>
<div style="float: left;margin-left: 50px;"> <div style="float: left;margin-left: 50px;">
...@@ -165,15 +172,15 @@ ...@@ -165,15 +172,15 @@
<div class="feedbackTime"> <div class="feedbackTime">
<el-image :src="activity.pictureUrl3" v-if="activity.pictureUrl3 != null && activity.pictureUrl3 != ''" style="width: 70px;"></el-image> <el-image :src="activity.pictureUrl3" v-if="activity.pictureUrl3 != null && activity.pictureUrl3 != ''" style="width: 70px;"></el-image>
</div> </div>
</div> </div>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
</div> </div>
<!-- <el-timeline-item timestamp="2018/4/3" placement="top"> <!-- <el-timeline-item timestamp="2018/4/3" placement="top">
<el-card> <el-card>
<p>反馈时间:{{contents}}</p> <p>反馈时间:{{contents}}</p>
...@@ -184,7 +191,7 @@ ...@@ -184,7 +191,7 @@
<p>是否解决:{{contents}}</p> <p>是否解决:{{contents}}</p>
</el-card> </el-card>
</el-timeline-item> --> </el-timeline-item> -->
<!-- <div style="width: 95%;float: left;"> <!-- <div style="width: 95%;float: left;">
<div style="float: left;margin-left: 50px;" > <div style="float: left;margin-left: 50px;" >
<el-image :src="form.pictureUrl1" fit="cover" v-if="form.pictureUrl1 != null && form.pictureUrl1 != ''" style="width: 100px;height: 100px;"> <el-image :src="form.pictureUrl1" fit="cover" v-if="form.pictureUrl1 != null && form.pictureUrl1 != ''" style="width: 100px;height: 100px;">
...@@ -207,9 +214,9 @@ ...@@ -207,9 +214,9 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div>--> </div>-->
</div> </div>
<!-- 返回按钮 --> <!-- 返回按钮 -->
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment