From 7764f89797fa33e5350dbf2febaaf83f67388566 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 4 Jun 2020 19:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=81=E5=88=A4=E7=B3=BB=E7=BB=9F=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/competition.js | 55 ++++++++++++++++++ src/views/jsxt/refereeList/index.vue | 13 ++++- src/views/jsxt/refereeList/menuReplay.vue | 70 +++++++++++++++++++++-- 3 files changed, 129 insertions(+), 9 deletions(-) diff --git a/src/api/competition.js b/src/api/competition.js index 03cd585d6..3aefb65fe 100644 --- a/src/api/competition.js +++ b/src/api/competition.js @@ -177,3 +177,58 @@ export function getPracticalCompetitionResult(competitionId) { method: 'get' }); } + +/** 回访准备 */ +export function playBackReady(params) { + return request({ + url: `/api/v1/simulationRecord/playback/ready`, + method: 'get', + params + }); +} + +/** 设置倍速 */ +export function setPlaySpeed(params) { + return request({ + url: `/api/v1/simulationRecord/playback/setPlaySpeed`, + method: 'get', + params + }); +} + +/** 开始播放 */ +export function startPlaying(params) { + return request({ + url: `/api/v1/simulationRecord/playback/startPlaying`, + method: 'get', + params + }); +} + +/** 暂停播放 */ +export function playingPause(params) { + return request({ + url: `/api/v1/simulationRecord/playback/pausePlaying`, + method: 'get', + params + }); +} + +/** 结束播放 */ +export function endPlaying(params) { + return request({ + url: `/api/v1/simulationRecord/playback/endPlaying`, + method: 'get', + params + }); +} + +/** 从暂停中播放 */ +export function fromPauseToPlay(params) { + return request({ + url: `/api/v1/simulationRecord/playback/playing`, + method: 'get', + params + }); +} + diff --git a/src/views/jsxt/refereeList/index.vue b/src/views/jsxt/refereeList/index.vue index e1bf803a4..6e1e26e99 100644 --- a/src/views/jsxt/refereeList/index.vue +++ b/src/views/jsxt/refereeList/index.vue @@ -7,7 +7,7 @@