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;">
......
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