剧本编制代码调整
This commit is contained in:
parent
0c95382b7e
commit
c315f9121a
@ -236,6 +236,7 @@ export default {
|
||||
const coversitionList = resp.data;
|
||||
let memberListCoversition = {};
|
||||
coversitionList.forEach(coversition=>{
|
||||
if (!coversition.over) {
|
||||
const memberList = coversition.memberList;
|
||||
memberList.forEach(member=>{
|
||||
if (member.memberId == this.$store.state.scriptRecord.updateRoleId) {
|
||||
@ -245,6 +246,7 @@ export default {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
this.memberListCoversition = memberListCoversition;
|
||||
} else {
|
||||
|
@ -4,7 +4,8 @@
|
||||
<div v-for="(chatContent,index) in chatContentList" :key="index" class="chatContentInClass">
|
||||
<div :class="chatContent.self?'rightUser':'leftUser'">
|
||||
<div class="userHeader">
|
||||
<div v-if="chatContent.all&& !chatContent.self" class="userName">{{ covertName(chatContent.member) }}</div>
|
||||
<!-- chatContent.all&& -->
|
||||
<div v-if="!chatContent.self" class="userName">{{ covertName(chatContent.member) }}</div>
|
||||
<div :class="chatContent.self?'userChatTime textRight':'userChatTime'">{{ formatTime(chatContent.chatTime) }}</div>
|
||||
</div>
|
||||
<!-- @click="playAudio('audio'+index) -->
|
||||
@ -55,7 +56,8 @@ export default {
|
||||
});
|
||||
return result;
|
||||
} else {
|
||||
return this.covertEachName(data);
|
||||
const userInfoName = this.covertEachName(data);
|
||||
return userInfoName.slice(0, userInfoName.length - 1);
|
||||
}
|
||||
} else {
|
||||
return '@All';
|
||||
@ -112,7 +114,7 @@ export default {
|
||||
display: inline-block;
|
||||
}
|
||||
.userHeader{margin-bottom: 2px;}
|
||||
.userName{font-size: 12px;display:inline-block;}
|
||||
.userName{font-size: 12px;display:inline-block;margin-right:10px;}
|
||||
.userChatTime{font-size: 12px;display:inline-block;}
|
||||
.userBubble{
|
||||
max-width: 200px;
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="scriptPanelLeft">
|
||||
<div class="panelLeftSelect">
|
||||
<span style="font-size:13px;">当前剧本角色:</span>
|
||||
<el-select v-model="memberId" placeholder="请选择" :disabled="!backDisabled||isPause" @change="changeRole">
|
||||
<el-select v-model="memberId" filterable placeholder="请选择" :disabled="!backDisabled||isPause" @change="changeRole">
|
||||
<el-option v-for="member in memberList" :key="member.id" :label="member.name" :value="member.id" />
|
||||
</el-select>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user