代码调试
This commit is contained in:
parent
7b1c73b230
commit
b14c899f4b
|
|
@ -29,7 +29,7 @@
|
|||
<el-button
|
||||
type="primary"
|
||||
style="padding: 8px 16px; margin-left: 5px"
|
||||
@click="handleQuery()"
|
||||
@click="handleClickQuery()"
|
||||
>查询</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
@ -273,6 +273,12 @@ export default {
|
|||
this.calLat = res.callat || 39.915
|
||||
}
|
||||
},
|
||||
handleClickQuery() {
|
||||
this.handleQuery().then(() => {
|
||||
if (this.tripInfoListNew.length < 1) return
|
||||
this.onDrawLine(this.tripInfoListNew)
|
||||
})
|
||||
},
|
||||
/** 查询按钮 */
|
||||
async handleQuery() {
|
||||
if (!this.queryForm.date) {
|
||||
|
|
@ -358,9 +364,6 @@ export default {
|
|||
this.tripInfoListNew,
|
||||
)
|
||||
|
||||
if (this.tripInfoListNew.length < 1) return
|
||||
this.onDrawLine(this.tripInfoListNew)
|
||||
|
||||
// console.log(tripInfoList, '处理后的行程---')
|
||||
// let tripInfo = JSON.parse(res.msg)
|
||||
// console.log(tripInfo, '反序列化之后', this.parkList)
|
||||
|
|
|
|||
Loading…
Reference in New Issue