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