新版地图绘制 删除地图页面跳转问题

综合演练仿真 聊天  发送语音消息
This commit is contained in:
joylink_cuiweidong 2020-04-23 17:13:11 +08:00
parent 747c56cac1
commit cdae58efbe
3 changed files with 13 additions and 4 deletions

View File

@ -310,3 +310,12 @@ export function getSimulationConversationIdNew(params, group) {
params: params
});
}
// 获取、微信仿真聊天接口(新版地图)
export function uploadAudioFileNew (group, lang, per, conversationId, file) {
return request({
url: `/simulation/${group}/wx/chat?conversationId=${conversationId}&lang=${lang}&per=${per}`,
method: 'post',
data: file
});
}

View File

@ -1,6 +1,6 @@
<template>
<div>
<!-- <chat-box /> -->
<chat-box :group="group" />
<!-- <div v-show="!minimize" class="reminder-drag">
<div v-if="userRole != '05' && userRole != ''">
<div class="tabs-roles">
@ -79,7 +79,7 @@
import QrCode from '@/components/QrCode';
// import ChartWindow from './chatWindow';
// import ChartView from './chartView';
// import ChatBox from './chatBox';
import ChatBox from './chatBox';
import SetTime from '@/views/newMap/displayNew/demon/setTime';
import { ranAsPlan, exitRunPlan } from '@/api/simulation';
import { exitFullscreen } from '@/utils/screen';
@ -93,7 +93,7 @@ export default {
components: {
// ChartView,
// ChartWindow,
// ChatBox,
ChatBox,
QrCode,
SetTime,
RealDevice

View File

@ -239,7 +239,7 @@ export default {
this.$store.dispatch('map/mapClear').then(() => {
_that.$emit('editMap', null);
// _that.$router.push({ path: `${UrlConfig.map.draft}/0/draft` });
_that.$router.push({ path: `${UrlConfig.designUser.prefix}` });
_that.$router.push({ path: `${UrlConfig.newDesignuser.prefix}` });
});
}
_that.refresh();