From 7078ae36265ff04cd23eb6528bfa113e58b5a21d Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Thu, 3 Apr 2025 14:57:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=99=BA=E8=81=AA=E8=AE=B0=E8=B4=A6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E6=8A=95=E8=B5=84=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=9C=9F=E8=B4=A7=E8=A1=8C=E6=83=85?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/invest/futuresDailyHistory.js | 9 ++++ src/views/invest/futureBaseInfor/index.vue | 52 ++++++++++++++++++- .../invest/futuresDailyHistory/index.vue | 39 +++++++++----- src/views/invest/stocksDailyHistory/index.vue | 13 ++--- 4 files changed, 89 insertions(+), 24 deletions(-) diff --git a/src/api/invest/futuresDailyHistory.js b/src/api/invest/futuresDailyHistory.js index 021ab1b..5f7065d 100644 --- a/src/api/invest/futuresDailyHistory.js +++ b/src/api/invest/futuresDailyHistory.js @@ -42,3 +42,12 @@ export function delFuturesDailyHistory(id) { method: 'delete' }) } + +// 同步期货日行情历史列表 +export function synFuturesDailyHistory(query) { + return request({ + url: '/invest/futuresDailyHistory/synFuturesDailyHistory', + method: 'get', + params: query + }) +} diff --git a/src/views/invest/futureBaseInfor/index.vue b/src/views/invest/futureBaseInfor/index.vue index cd8c8c1..449da31 100644 --- a/src/views/invest/futureBaseInfor/index.vue +++ b/src/views/invest/futureBaseInfor/index.vue @@ -108,12 +108,31 @@ + + + + + + + + + + + + +