From 5a6ddc9e0c19b758766ac617d853dfe1421cb28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Wed, 28 Oct 2026 15:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E5=8A=A8=E5=91=98=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/match/citizenSportsSync.js | 16 + .../system/citizen-sports-sync/index.vue | 280 ++++++++++++++++++ 2 files changed, 296 insertions(+) create mode 100644 src/api/match/citizenSportsSync.js create mode 100644 src/views/system/citizen-sports-sync/index.vue diff --git a/src/api/match/citizenSportsSync.js b/src/api/match/citizenSportsSync.js new file mode 100644 index 0000000..672f2c4 --- /dev/null +++ b/src/api/match/citizenSportsSync.js @@ -0,0 +1,16 @@ +import { http } from '../../utils/request'; + +/** 测试当前服务端配置与市民运动会平台的连接。 */ +export const citizenSportsConnectionTestPost = () => { + return http.post('/citizen-sports-sync/connection-test', {}); +}; + +/** 预览待同步的报名数据,不会向外部平台写入。 */ +export const citizenSportsPreviewPost = (data) => { + return http.post('/citizen-sports-sync/preview', data); +}; + +/** 将预检通过的报名数据同步到市民运动会平台。 */ +export const citizenSportsExecutePost = (data) => { + return http.post('/citizen-sports-sync/execute', data); +}; diff --git a/src/views/system/citizen-sports-sync/index.vue b/src/views/system/citizen-sports-sync/index.vue new file mode 100644 index 0000000..62d269c --- /dev/null +++ b/src/views/system/citizen-sports-sync/index.vue @@ -0,0 +1,280 @@ + + + + +