From b14c899f4b81f717be839982769f34bd8138111b Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 31 Oct 2024 09:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../machinery/coding-nw/component/MapDIalog.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/warehouseManage/machinery/coding-nw/component/MapDIalog.vue b/src/views/warehouseManage/machinery/coding-nw/component/MapDIalog.vue index adedd93..9c2db73 100644 --- a/src/views/warehouseManage/machinery/coding-nw/component/MapDIalog.vue +++ b/src/views/warehouseManage/machinery/coding-nw/component/MapDIalog.vue @@ -29,7 +29,7 @@ 查询 @@ -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)