Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
d345e5dcc2
@ -1,13 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="chatBox" :class="{'active': drawer}" :style="{'bottom':bottom+'px'}">
|
<div class="chatBox" :class="{'active': drawer}" :style="{'bottom':bottom+'px'}">
|
||||||
<div class="menuTrainListBtn" @click="clickBtn">
|
<div class="menuTrainListBtn" @click="clickBtn">
|
||||||
<div v-if="userRole == 'DISPATCHER'" id="teleName">
|
<div v-if="userRole == 'DISPATCHER'">
|
||||||
|
<div id="teleName" />
|
||||||
<p style="margin: 0;">调</p>
|
<p style="margin: 0;">调</p>
|
||||||
<p style="margin: 0;">度</p>
|
<p style="margin: 0;">度</p>
|
||||||
<p style="margin: 0;">电</p>
|
<p style="margin: 0;">电</p>
|
||||||
<p style="margin: 0;">话</p>
|
<p style="margin: 0;">话</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="userRole != 'AUDIENCE' && userRole != 'DISPATCHER'" id="teleName">
|
<div v-if="userRole != 'AUDIENCE' && userRole != 'DISPATCHER'">
|
||||||
|
<div id="teleName" />
|
||||||
<p style="margin: 0;">电</p>
|
<p style="margin: 0;">电</p>
|
||||||
<p style="margin: 0;">话</p>
|
<p style="margin: 0;">话</p>
|
||||||
</div>
|
</div>
|
||||||
@ -798,6 +800,9 @@ export default {
|
|||||||
this.quitLoading = true;
|
this.quitLoading = true;
|
||||||
this.userString = '';
|
this.userString = '';
|
||||||
overSimulationConversition(this.group, this.conversitionId).then(resp => {
|
overSimulationConversition(this.group, this.conversitionId).then(resp => {
|
||||||
|
if (this.recordSending) {
|
||||||
|
this.cancleRecording();
|
||||||
|
}
|
||||||
this.connectSuccess = false;
|
this.connectSuccess = false;
|
||||||
this.conversitionMemberList = [];
|
this.conversitionMemberList = [];
|
||||||
this.messageList = [];
|
this.messageList = [];
|
||||||
@ -1229,6 +1234,17 @@ export default {
|
|||||||
-webkit-animation: isInviting infinite 1s; /* Safari 和 Chrome */
|
-webkit-animation: isInviting infinite 1s; /* Safari 和 Chrome */
|
||||||
-o-animation: isInviting infinite 1s; /* Opera */
|
-o-animation: isInviting infinite 1s; /* Opera */
|
||||||
}
|
}
|
||||||
|
#teleName{
|
||||||
|
background: #6BBE16;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
border-radius: 0px 5px 5px 0px;
|
||||||
|
z-index: -1;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.isInviting::before{
|
.isInviting::before{
|
||||||
|
@ -187,7 +187,17 @@ export default {
|
|||||||
this.quickChangeMember = {list:quickChangeMember};
|
this.quickChangeMember = {list:quickChangeMember};
|
||||||
const memberdata = this.quickChangeMember.list.find(mem=>{ return mem.id == newRole.id; });
|
const memberdata = this.quickChangeMember.list.find(mem=>{ return mem.id == newRole.id; });
|
||||||
if (!memberdata) {
|
if (!memberdata) {
|
||||||
newRole.userId = this.$store.state.user.id; this.quickChangeMember.list.push(newRole);
|
newRole.userId = this.$store.state.user.id;
|
||||||
|
const roleTypeEnumMap = {
|
||||||
|
'STATION_SUPERVISOR':'行值',
|
||||||
|
'DISPATCHER':'行调',
|
||||||
|
'DRIVER':'司机',
|
||||||
|
'MAINTAINER':'通号',
|
||||||
|
'DEPOT_DISPATCHER':'车辆段调度',
|
||||||
|
'PARENT_DEPARTMENT':'上级部门'
|
||||||
|
};
|
||||||
|
newRole.type = roleTypeEnumMap[newRole.type];
|
||||||
|
this.quickChangeMember.list.push(newRole);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addMember() {
|
addMember() {
|
||||||
|
Loading…
Reference in New Issue
Block a user