剧本预览代码调整
This commit is contained in:
parent
d01f8a9a9f
commit
75a240d66b
@ -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;
|
||||
}
|
||||
|
@ -16,6 +16,8 @@
|
||||
<!-- <el-button v-if="isShow3dmodel && !isShowScheduling" size="small" @click="jumpjlmap3dmodel">{{ jl3dmodel }}</el-button> -->
|
||||
<!-- 三维视图 -->
|
||||
<el-button v-if="!isShowScheduling&&!isDriver" size="small" @click="jumpjlmap3d">{{ $t('display.demon.threeDimensionalView') }}</el-button>
|
||||
<!-- 故障设备视图 -->
|
||||
<el-button v-if="isStation" size="small" @click="jumpjlmap3dFault">故障设备</el-button>
|
||||
<!-- cctv视图 -->
|
||||
<!-- <el-button v-if="!isShowScheduling" size="small" @click="jumpjl3dpassflow">{{ jl3dpassflow }}</el-button> -->
|
||||
<!-- 司机视角 -->
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user