From 50e43936b3ff9a47da151e453fa78fdb840d9856 Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Fri, 9 Jun 2023 17:19:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=97=B6=E9=97=B4=E4=B8=8D=E4=BC=9A=E8=A2=AB?= =?UTF-8?q?=E6=B8=85=E9=99=A4=202.=E7=8E=B0=E5=9C=A8=E7=88=AC=E8=99=AB?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=AE=8C=E6=88=90=E5=90=8E=E4=BC=9A=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=20xxx=E7=88=AC=E8=99=AB=E5=90=AF=E5=8A=A8=EF=BC=8C?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E8=BF=94=E5=9B=9E=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/searchCondition.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/views/dataService/remoteSensingData/components/searchCondition.vue b/src/views/dataService/remoteSensingData/components/searchCondition.vue index 72e0634..b78ddf6 100644 --- a/src/views/dataService/remoteSensingData/components/searchCondition.vue +++ b/src/views/dataService/remoteSensingData/components/searchCondition.vue @@ -313,8 +313,8 @@ const clearCoordinate = () => { return; } state.coordinateList = []; - state.startTime = ''; - state.endTime = ''; + // state.startTime = ''; + // state.endTime = ''; state.addCoord = false map.value.mapOperations.deleteRectangle() map.value.mapOperations.off("click", onMapClick) @@ -323,7 +323,6 @@ const clearCoordinate = () => { // 编辑坐标点 const editCoordinate = () => { } - // 开始爬虫 const startCrawl = () => { if (!state.startTime) { @@ -386,10 +385,16 @@ const startCrawl = () => { var typeStr=typeArr.join('、') // getData(); - ElMessage({ - message: 'Successfully launched '+typeStr+' crawler', - type: 'success', - }) + //使用英语询问是否停留在当前页,还是返回到列表页 + ElMessageBox.confirm('The '+typeStr+' data has been crawled, do you want to stay on this page?', 'Prompt', { + confirmButtonText: 'Stay', + cancelButtonText: 'Return to the list', + type: 'warning' + }).then(() => { + }).catch(() => { + emit('response') + }); + }) }) }