Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
b2f9e388aa
@ -339,9 +339,10 @@ export default {
|
||||
this.handleLoginSucessRoute();
|
||||
});
|
||||
}).catch(error => {
|
||||
if (error.data && error.data.status === 'EXPIRE') {
|
||||
if ((error.data && error.data.status === 'EXPIRE') || error.code != 200) {
|
||||
this.loadingCode = true;
|
||||
this.loginUrl = '';
|
||||
this.tipsMsg = error.message || '';
|
||||
} else {
|
||||
self.checkLoginStatus();
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ export default {
|
||||
height: 520px;
|
||||
&--list {
|
||||
background: #fff;
|
||||
height: calc(100% - 39px);
|
||||
height: calc(100% - 109px);
|
||||
border-bottom: 1px #ccc solid;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
|
@ -10,7 +10,7 @@
|
||||
>
|
||||
<div class="room">
|
||||
<div class="room__container">
|
||||
<div style="width: 70%;height: 100%;">
|
||||
<div style="width: 70%;height: calc(100%-20px);">
|
||||
<div style="margin-left: 10px;margin-right: 10px;">
|
||||
<el-input v-model="queryMember" placeholder="请输入搜索人员">
|
||||
<el-button slot="append" icon="el-icon-search" />
|
||||
@ -22,7 +22,7 @@
|
||||
:data="treeData"
|
||||
:props="defaultProps"
|
||||
default-expand-all
|
||||
style="margin: 10px;margin-bottom: 0;border: 1px solid #ccc;overflow-y: auto;height: calc(100% - 50px);"
|
||||
style="margin: 10px;margin-bottom: 0;border: 1px solid #ccc;overflow-y: auto;height: calc(100% - 120px);"
|
||||
:filter-node-method="filterNode"
|
||||
@node-click="handleNodeClick"
|
||||
>
|
||||
|
@ -534,7 +534,7 @@ export default {
|
||||
const user = this.simulationUsers[this.$store.state.user.id];
|
||||
this.isConversitionCreator = conversation.creatorId == user.memberId;
|
||||
!conversation.over && conversation.memberList.forEach(member =>{
|
||||
if (member.memberId == user.memberId) {
|
||||
if (member.memberId == user.memberId && member.connect) {
|
||||
this.conversitionMemberList = conversation.memberList;
|
||||
this.conversitionId = conversation.id;
|
||||
this.messageList = [];
|
||||
|
@ -9,7 +9,6 @@
|
||||
:style="computedStyle(member)"
|
||||
:title="memberData[member.memberId].label + (memberData[member.memberId].userId? '(' + (simulationUsers[memberData[member.memberId].userId] || {}).nickName + ')': '')"
|
||||
>{{ memberData[member.memberId].label + (memberData[member.memberId].userId? '(' + (simulationUsers[memberData[member.memberId].userId] || {}).nickName + ')': '') }}</div>
|
||||
<!-- :class="member.online?'each-chat-member':'each-chat-member each-chat-member-outline'" -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -53,6 +52,9 @@ export default {
|
||||
const userId = (this.memberData[member.memberId] || {}).userId;
|
||||
if (userId && userId == this.userId) {
|
||||
return {color: 'red'};
|
||||
} else if (userId) {
|
||||
const user = this.simulationUsers[userId];
|
||||
return {color: member.connect && user.online ? 'green' : 'gray'};
|
||||
} else {
|
||||
return {color: member.connect ? 'green' : 'gray'};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user