From 5c50d114b4ee6e92d7d0f9ac325b3a46000103ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E5=B0=91=E5=BA=B7?= <2496371772@qq.com> Date: Fri, 7 Aug 2026 15:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E6=B5=8B=E4=BB=BB=E5=8A=A1=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E6=97=B6=E9=97=B4+6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tqybjs/tab-1/index.vue | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/pages/tqybjs/tab-1/index.vue b/src/pages/tqybjs/tab-1/index.vue index 38f8af53..3afc124d 100644 --- a/src/pages/tqybjs/tab-1/index.vue +++ b/src/pages/tqybjs/tab-1/index.vue @@ -360,7 +360,7 @@ function playback() { }); } else { const startTime = dayjs(currentSelection.value[0].startDate) - .add(0, "hour") + .add(6, "hour") .format("YYYY-MM-DD HH:mm:ss"); const params = { dataType: currentSelection.value[0].predictionModel, @@ -387,13 +387,21 @@ function playback() { EventBusTool.getEventBus().publish("updateHfKsFlag", false); getHcQxData(params, (res: any) => { - if (res.code == 200) { - EventBusTool.getEventBus().publish("playData", { - key: "show", - }); + const loading = ElLoading.service({ + lock: true, + text: 'Loading...', + background: 'rgba(0, 0, 0, 0.7)', + }); + setTimeout(() => { + loading.close(); + if (res.code == 200) { + EventBusTool.getEventBus().publish("playData", { + key: "show", + }); - emit("playback"); - } + emit("playback"); + } + }, 2000); }); } }