diff --git a/src/views/newMap/displayNew/demonChat.vue b/src/views/newMap/displayNew/demonChat.vue index af3ff607a..8bb7b08a2 100644 --- a/src/views/newMap/displayNew/demonChat.vue +++ b/src/views/newMap/displayNew/demonChat.vue @@ -349,6 +349,7 @@ export default { }, clearAllData() { this.resetCoversition(); + this.createCoversition = false; }, resetCoversition() { this.conversitionId = ''; @@ -358,7 +359,6 @@ export default { this.chatContentList = []; this.isStartRecord = false; this.inviteUserName = ''; - this.createCoversition = true; this.inviteUser = {}; this.isQuitShow = false; } diff --git a/src/views/newMap/displayNew/menuScript.vue b/src/views/newMap/displayNew/menuScript.vue index 694e88723..ad12fc38c 100644 --- a/src/views/newMap/displayNew/menuScript.vue +++ b/src/views/newMap/displayNew/menuScript.vue @@ -16,6 +16,8 @@ {{ $t('display.demon.threeDimensionalView') }} + + 故障设备 @@ -100,6 +102,9 @@ export default { }, isShowScheduling() { return this.$store.state.training.prdType == '05'; + }, + isStation() { + return this.$store.state.training.prdType == '01'; } }, watch: { @@ -211,6 +216,19 @@ export default { } }); window.open(routeData.href, '_blank', 'noopener noreferrer'); + }, + jumpjlmap3dFault() { + const routeData = this.$router.resolve({ + path:'/jlmap3d/maintainer', + query:{ + mapid:this.$route.query.mapId, + group:this.group, + token:getToken(), + project: this.project, + noPreLogout: true + } + }); + this.openWindow = window.open(routeData.href); } } }; diff --git a/src/views/newMap/displayNew/scriptPreviewChat.vue b/src/views/newMap/displayNew/scriptPreviewChat.vue index f8cd69481..f9faed076 100644 --- a/src/views/newMap/displayNew/scriptPreviewChat.vue +++ b/src/views/newMap/displayNew/scriptPreviewChat.vue @@ -185,6 +185,7 @@ export default { this.chatContentList = []; this.isHasCoversition = false; this.isStartRecord = false; + // this.createCoversition = true; } }, // 邀请会话的消息 @@ -219,6 +220,7 @@ export default { }, clearAllData() { this.resetCoversition(); + this.createCoversition = false; }, resetCoversition() { this.conversitionId = ''; @@ -228,7 +230,6 @@ export default { this.chatContentList = []; this.isStartRecord = false; this.inviteUserName = ''; - this.createCoversition = false; this.inviteUser = {}; this.isQuitShow = false; }