裁判系统 获取参赛者的历史对话
This commit is contained in:
parent
63c3d785dd
commit
6f59f03acd
@ -2,7 +2,7 @@
|
|||||||
<!-- v-quickMenuDrag -->
|
<!-- v-quickMenuDrag -->
|
||||||
<div class="chatBox" :style="{'bottom':bottom+'px'}">
|
<div class="chatBox" :style="{'bottom':bottom+'px'}">
|
||||||
<div v-show="!minimize" class="chat-box">
|
<div v-show="!minimize" class="chat-box">
|
||||||
<chat-member-list v-if="project!='refereeJsxt'" ref="chatMemberList" :group="group" :current-coversition="currentCoversition" />
|
<chat-member-list v-if="project!='refereeJsxt'|| IsAnswering" ref="chatMemberList" :group="group" :current-coversition="currentCoversition" />
|
||||||
<div class="chat-box-main">
|
<div class="chat-box-main">
|
||||||
<chat-coversition-list ref="chatCoversitionList" :user-role="userRole" @hideAddCoversition="hideAddCoversition" @setCurrentCoversition="setCurrentCoversition" @setHeadTitle="setHeadTitle" />
|
<chat-coversition-list ref="chatCoversitionList" :user-role="userRole" @hideAddCoversition="hideAddCoversition" @setCurrentCoversition="setCurrentCoversition" @setHeadTitle="setHeadTitle" />
|
||||||
<div class="chat-window">
|
<div class="chat-window">
|
||||||
@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-box-content">
|
<div class="chat-box-content">
|
||||||
<chat-content ref="chatContent" :project="project" :current-coversition="currentCoversition" @changeCoversition="changeCoversition" />
|
<chat-content ref="chatContent" :project="project" :is-answering="IsAnswering" :current-coversition="currentCoversition" @changeCoversition="changeCoversition" />
|
||||||
<div v-if="recordSending" class="chat_record_tip">
|
<div v-if="recordSending" class="chat_record_tip">
|
||||||
<div id="record_progress_bar" :style="'width:'+100/60*seconds+'%'" />
|
<div id="record_progress_bar" :style="'width:'+100/60*seconds+'%'" />
|
||||||
<div class="record_icon" />
|
<div class="record_icon" />
|
||||||
@ -105,6 +105,9 @@ export default {
|
|||||||
},
|
},
|
||||||
project() {
|
project() {
|
||||||
return getSessionStorage('project');
|
return getSessionStorage('project');
|
||||||
|
},
|
||||||
|
IsAnswering() {
|
||||||
|
return !(this.$route.path.includes('refereeJsxtDisplay'));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
@ -36,6 +36,10 @@ export default {
|
|||||||
project:{
|
project:{
|
||||||
type:String,
|
type:String,
|
||||||
required:true
|
required:true
|
||||||
|
},
|
||||||
|
isAnswering:{
|
||||||
|
type:Boolean,
|
||||||
|
required:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@ -91,7 +95,7 @@ export default {
|
|||||||
this.inintData();
|
this.inintData();
|
||||||
},
|
},
|
||||||
currentCoversition:function (val, old) {
|
currentCoversition:function (val, old) {
|
||||||
if (val && this.project != 'refereeJsxt') {
|
if (val && (this.project != 'refereeJsxt' || this.isAnswering)) {
|
||||||
this.chatContentList = [];
|
this.chatContentList = [];
|
||||||
this.coversition = this.currentCoversition;
|
this.coversition = this.currentCoversition;
|
||||||
this.inintData();
|
this.inintData();
|
||||||
|
Loading…
Reference in New Issue
Block a user