代码调试

This commit is contained in:
BianLzhaoMin 2024-10-31 09:48:23 +08:00
parent 7b1c73b230
commit b14c899f4b
1 changed files with 7 additions and 4 deletions

View File

@ -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)