Commit ac52e82e authored by yaqizhang's avatar yaqizhang

详情反馈

parent af61664b
......@@ -140,14 +140,15 @@
</el-table> -->
<div class="block" style="width: 95%;margin-left: 2%;">
<el-timeline>
<el-timeline-item
v-for="(activity, index) in form.feedbackList"
:key="index"
:timestamp="activity.feedbackTime">
<el-timeline-item v-for="(activity, index) in form.feedbackList" :key="index" :timestamp="activity.feedbackTime">
<el-card>
<div style="float: left;margin-left: 50px;">
<p>设备类型:{{activity.deviceType}}</p>
<p>设备名称:{{activity.deviceType}}</p>
<p v-if="form.deviceType == 0">设备类型:管道</p>
<p v-if="form.deviceType == 1">设备类型:调压阀</p>
<p v-if="form.deviceType == 2">设备类型:阀门井</p>
<p v-if="form.deviceType == 3">设备类型:流量计</p>
<p v-if="form.deviceType == 4">设备类型:压力表</p>
<p>设备名称:{{form.deviceName}}</p>
<p>反馈信息:{{activity.contents}}</p>
</div>
<div style="float: left;margin-left: 50px;">
......@@ -157,13 +158,13 @@
</div>
<div class="feedbackTime-div">
<div class="feedbackTime">
<el-image :src="activity.pictureUrl1" :preview-src-list="activity.pictureUrl1" v-if="activity.pictureUrl1 != null && activity.pictureUrl1 != ''" style="width: 70px;"></el-image>
<el-image :src="activity.pictureUrl1" :preview-src-list="[activity.pictureUrl1]" v-if="activity.pictureUrl1 != null && activity.pictureUrl1 != ''" style="width: 70px;"></el-image>
</div>
<div class="feedbackTime">
<el-image :src="activity.pictureUrl2" v-if="activity.pictureUrl2 != null && activity.pictureUrl2 != ''" style="width: 70px;"></el-image>
<el-image :src="activity.pictureUrl2" :preview-src-list="[activity.pictureUrl2]" v-if="activity.pictureUrl2 != null && activity.pictureUrl2 != ''" style="width: 70px;"></el-image>
</div>
<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" :preview-src-list="[activity.pictureUrl3]" v-if="activity.pictureUrl3 != null && activity.pictureUrl3 != ''" style="width: 70px;"></el-image>
</div>
......@@ -333,7 +334,7 @@ export default {
getBasicsInfo (){
getBasicsInfo(this.orderId).then(response =>{
this.form = response.data;
console.log(this.form,"00000000000")
console.log(this.form.feedbackList,"00000000000")
this.active = parseInt(response.data.orderStatus) + 1;
if(this.form.deviceInfoList.length>0){
this.gaoMap.resetMapCenter([this.form.deviceInfoList[0].longitude,this.form.deviceInfoList[0].latitude]);
......
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