From 078252b6ac02f8849a278ae8dd7fe053f4680a5a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 11 May 2020 15:43:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 10 +++++- .../newMap/displayNew/demon/addQuest.vue | 36 +++++++++++++------ src/views/newMap/displayNew/designIndex.vue | 17 +++++++-- src/views/newMap/displayNew/menuSchema.vue | 5 +-- src/views/scriptManage/home.vue | 4 +-- 5 files changed, 54 insertions(+), 18 deletions(-) diff --git a/src/api/script.js b/src/api/script.js index b203a935e..9524987be 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -17,7 +17,7 @@ export function getScriptById(id) { method: 'get' }); } -/** 通过ID查询未发布剧本的详细信息 */ +/** 通过group查询未发布剧本的详细信息 */ export function getDraftScriptByGroup(group) { return request({ url: `/api/simulation/${group}/script/loadedScript`, @@ -25,6 +25,14 @@ export function getDraftScriptByGroup(group) { }); } +/** 通过group查询未发布剧本的详细信息(新版) */ +export function getDraftScriptByGroupNew(group) { + return request({ + url: `/api/scriptSimulation/${group}/scriptDetail`, + method: 'get' + }); +} + /** 剧本撤销发布 */ export function retractScript(id, data) { return request({ diff --git a/src/views/newMap/displayNew/demon/addQuest.vue b/src/views/newMap/displayNew/demon/addQuest.vue index b34ec5851..300eb3d38 100644 --- a/src/views/newMap/displayNew/demon/addQuest.vue +++ b/src/views/newMap/displayNew/demon/addQuest.vue @@ -51,7 +51,7 @@