From 45d0cb0a12e3ff7e60d1b2455469b08286805735 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 12 Aug 2019 19:30:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=89=A7=E6=9C=AC=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quest.js | 11 ++++++++++- src/views/display/demon/addQuest.vue | 23 ++++++++++++----------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/api/quest.js b/src/api/quest.js index 34290433a..4f86e1d66 100644 --- a/src/api/quest.js +++ b/src/api/quest.js @@ -1,6 +1,6 @@ import request from '@/utils/request'; -/** 分页查找仿真任务*/ +/** 分页查找个人录制的仿真任务*/ export function getQuestPageList(params) { return request({ url: `/api/quest/paging`, @@ -53,3 +53,12 @@ export function updateMapLocation(id, data) { data }); } + +/** 分页查找上线的仿真任务*/ +export function getQuestPageListOnline(params) { + return request({ + url: `/api/quest/paging/online`, + method: 'get', + params: params + }); +} diff --git a/src/views/display/demon/addQuest.vue b/src/views/display/demon/addQuest.vue index 3e1ff47c3..9f9bcb72e 100644 --- a/src/views/display/demon/addQuest.vue +++ b/src/views/display/demon/addQuest.vue @@ -45,8 +45,9 @@