Browse Source

问题修复

master
huxinglu 4 years ago
parent
commit
124d4ca9f1
5 changed files with 5 additions and 4 deletions
  1. BIN
      src/assets/img/command/qs.png
  2. BIN
      src/assets/img/command/qs2.png
  3. +2
    -1
      src/views/command/index.vue
  4. +2
    -2
      src/views/command/problem/problemDetailWin.vue
  5. +1
    -1
      src/views/command/problem/problemLeft.vue

BIN
src/assets/img/command/qs.png View File

Before After
Width: 202  |  Height: 134  |  Size: 63KB

BIN
src/assets/img/command/qs2.png View File

Before After
Width: 404  |  Height: 268  |  Size: 222KB

+ 2
- 1
src/views/command/index.vue View File

}) })
}, },
showProblemDetail(child) { showProblemDetail(child) {
console.log(child)
this.questionId=0 this.questionId=0
this.closeInfoWin() this.closeInfoWin()
this.map.setFitView(this.polygonList) this.map.setFitView(this.polygonList)
let findDriver = me.driverDataList.find(item => item.id == child.driverId) let findDriver = me.driverDataList.find(item => item.id == child.driverId)
if (findDriver&&findDriver.pointList&&findDriver.pointList.length>0) { if (findDriver&&findDriver.pointList&&findDriver.pointList.length>0) {
me.InfoWindow.open(me.map, new AMap.LngLat(findDriver.pointList[0].x, findDriver.pointList[0].y)); me.InfoWindow.open(me.map, new AMap.LngLat(findDriver.pointList[0].x, findDriver.pointList[0].y));
}else{
me.InfoWindow.open(me.map, new AMap.LngLat(118.750078, 31.983115));
} }
me.checkDriver(child.driverId) me.checkDriver(child.driverId)
}, 500) }, 500)

+ 2
- 2
src/views/command/problem/problemDetailWin.vue View File

<div> <div>
<div>问题图片:</div> <div>问题图片:</div>
<viewer> <viewer>
<img v-lazy="dataChild.imgUrl"
:data-source="dataChild.originUrl">
<img :src="dataChild.imgUrl?dataChild.imgUrl:require('../../../assets/img/command/qs.png')"
:data-source="dataChild.originUrl?dataChild.originUrl:require('../../../assets/img/command/qs2.png')">
</viewer> </viewer>
</div> </div>
</div> </div>

+ 1
- 1
src/views/command/problem/problemLeft.vue View File

</div> </div>
<div> <div>
<div :key="index" v-for="(item,index) in dataList.slice((currentPage - 1) * pageSize, currentPage * pageSize)"> <div :key="index" v-for="(item,index) in dataList.slice((currentPage - 1) * pageSize, currentPage * pageSize)">
<img :src="item.imgUrl?item.imgUrl:require('../../../assets/img/404.jpg')"/>
<img :src="item.imgUrl?item.imgUrl:require('../../../assets/img/command/qs.png')"/>
<div> <div>
<div> <div>
<div> <div>

Loading…
Cancel
Save