Browse Source

问题修复

master
huxinglu 4 years ago
parent
commit
511889b88e
2 changed files with 11 additions and 5 deletions
  1. +4
    -0
      src/views/main/index.vue
  2. +7
    -5
      src/views/problem/detailDialog.vue

+ 4
- 0
src/views/main/index.vue View File

@@ -223,6 +223,10 @@
me.addRegionMarker(item)
})
});
setInterval(function () {
me.getScreenIndex()
me.getWaterAlarmList()
},60000)
},
computed: {
...mapGetters(["fontSize"])

+ 7
- 5
src/views/problem/detailDialog.vue View File

@@ -3,7 +3,7 @@
<el-steps :active="childData.status" align-center>
<el-step title="问题确认">
<div slot="description">
<span class="step-title" v-if="childData.creatUserName">{{childData.creatUserName}}</span>
<span class="step-title" v-if="childData.createUserName">{{childData.createUserName}}</span>
<br />
<span class="step-title" v-if="childData.createTime">{{childData.createTime}}</span>
</div>
@@ -67,11 +67,11 @@
</viewer>
</div>
</div>
<div v-if="childData.handlerImage" class="dialog-item">
<div v-if="childData.handlerImageList&&childData.handlerImageList.length>0" class="dialog-item">
<div>处理后图片:</div>
<div>
<viewer v-if="childData.handlerImage">
<img style="width:300px;height:200px" v-lazy="childData.handlerImage" />
<viewer>
<img :key="index" v-for="(url,index) in childData.handlerImageList" style="width:300px;height:200px" v-lazy="url" />
</viewer>
</div>
</div>
@@ -147,10 +147,12 @@ export default {
api
.getDetail(this.id)
.then(res => {
console.log(res.data.status)
if (res.data.status == 3) {
res.data.status == 4;
res.data.status = 4;
}
this.childData = res.data;
console.log(this.childData)
this.initMap();
})
.catch(err => {

Loading…
Cancel
Save