代码调整
This commit is contained in:
parent
fb17b72e5e
commit
27a54d5842
@ -140,7 +140,7 @@ export function loadDraftScript(scriptId, memberId, group) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 剧本预览选择角色 */
|
/** 剧本预览选择角色 */
|
||||||
export function loadDraftScriptNew(scriptId, memberId, group) {
|
export function loadDraftScriptNew(memberId, group) {
|
||||||
return request({
|
return request({
|
||||||
url: `/simulation/${group}/${memberId}`,
|
url: `/simulation/${group}/${memberId}`,
|
||||||
method: 'put'
|
method: 'put'
|
||||||
|
@ -65,7 +65,7 @@ import { checkLoginLine } from '@/api/login';
|
|||||||
import { loadNewMapDataByGroup } from '@/utils/loaddata';
|
import { loadNewMapDataByGroup } from '@/utils/loaddata';
|
||||||
import { EventBus } from '@/scripts/event-bus';
|
import { EventBus } from '@/scripts/event-bus';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import {loadDraftScript} from '@/api/designPlatform';
|
import {loadDraftScript, loadDraftScriptNew} from '@/api/designPlatform';
|
||||||
|
|
||||||
// 三维
|
// 三维
|
||||||
// import Jl3dSimulation from '@/views/jlmap3d/simulation/jl3dsimulation';
|
// import Jl3dSimulation from '@/views/jlmap3d/simulation/jl3dsimulation';
|
||||||
@ -389,7 +389,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.switchMode(prdType);
|
this.switchMode(prdType);
|
||||||
const res = await loadDraftScript(row.id, id, this.group);
|
debugger;
|
||||||
|
const res = this.$route.query.drawWay ? await loadDraftScriptNew(id, this.group) : await loadDraftScript(row.id, id, this.group);
|
||||||
if (res && res.code == 200) {
|
if (res && res.code == 200) {
|
||||||
this.questId = parseInt(row.id);
|
this.questId = parseInt(row.id);
|
||||||
if (mapLocation) {
|
if (mapLocation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user