2023年6月18日 修改直播名称
This commit is contained in:
parent
626506e063
commit
eb31940a4b
|
@ -27,16 +27,16 @@
|
|||
|
||||
<a-table :loading="loading" :data-source="leftList" :pagination="false" bordered size="middle" class="ant-table-striped" :scroll="{ y: 650 }">
|
||||
<a-table-column title="教室" data-index="jsmc"/>
|
||||
<a-table-column title="教师近景" align="center" data-index="child_教师全景">
|
||||
<a-table-column title="教师近景" align="center" data-index="child_教师近景">
|
||||
<template #default="{ record }">
|
||||
<span :class="record?.child['教师全景']?.isOnLine?'green':'red'">
|
||||
<span :class="record?.child['教师近景']?.isOnLine?'green':'red'">
|
||||
<i class="fas fa-circle" />
|
||||
</span>
|
||||
</template>
|
||||
</a-table-column>
|
||||
<a-table-column title="教师全景" align="center" data-index="child_">
|
||||
<a-table-column title="教师全景" align="center" data-index="child_教师全景">
|
||||
<template #default="{ record }">
|
||||
<span :class="record?.child['录播主机']?.isOnLine?'green':'red'">
|
||||
<span :class="record?.child['教师全景']?.isOnLine?'green':'red'">
|
||||
<i class="fas fa-circle"/>
|
||||
</span>
|
||||
</template>
|
||||
|
@ -57,7 +57,7 @@
|
|||
</a-table-column>
|
||||
<a-table-column title="直播推流" align="center" data-index="child_直播推流">
|
||||
<template #default="{ record }">
|
||||
<span :class="record?.child['录播主机']?.isOnLine?'green':'red'">
|
||||
<span :class="record?.child['教师全景']?.isOnLine?'green':'red'">
|
||||
<i class="fas fa-circle"/>
|
||||
</span>
|
||||
</template>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<a-table-column width="200px" title="操作" data-index="action">
|
||||
<template #default="{ record }">
|
||||
<a @click="ylLive(record)">预览</a> |
|
||||
<a v-if="!record?.child['录播主机']?.isOnLine" @click="changeLive(record,true)">开启推流 |</a>
|
||||
<a v-if="!record?.child['教师全景']?.isOnLine" @click="changeLive(record,true)">开启推流 |</a>
|
||||
<a v-else @click="changeLive(record,false)">关闭推流 |</a>
|
||||
<a v-if="record.sfyx == 1" @click="changeKt(record,true)">课堂上线</a>
|
||||
<a v-else-if="record.sfyx == 0" @click="changeKt(record,false)">课堂下线</a>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</a-table>
|
||||
</div>
|
||||
<a-modal :visible="isShowAllLive" width="80%" style="top: 20px" title="直播" :ok-button-props="{ style: { display: 'none' } }" cancelText="关闭" @cancel="() => (isShowAllLive = false,showAllLiveRef.close())">
|
||||
<showAllLive ref="showAllLiveRef" :currentItem="currentItem"/>
|
||||
<showAllLive ref="showAllLiveRef" :currentItem="currentItem" :isShowAllLive="isShowAllLive"/>
|
||||
</a-modal>
|
||||
</template>
|
||||
<script lang="ts" setup name="zhihuijiaoshiIndexPage">
|
||||
|
|
Loading…
Reference in New Issue