修改bug

This commit is contained in:
liuxi 2025-02-26 10:48:10 +08:00
parent 0690f25351
commit 5a32ab5f24

View File

@ -20,7 +20,7 @@
<el-scrollbar :style="'height: 130px'"> <el-scrollbar :style="'height: 130px'">
<div class="pb-6 pt-6 bor-E5E6EB" v-for="(item, index) in videoTableData" :key="index"> <div class="pb-6 pt-6 bor-E5E6EB" v-for="(item, index) in videoTableData" :key="index">
<div class="flex-row justify-content-between"> <div class="flex-row justify-content-between">
<div class="flex-row"> <div class="flex-row" v-if="queryCondition.type == 0">
<div class="mr-8 color-000 f-weight600 f16"> <div class="mr-8 color-000 f-weight600 f16">
{{item.bookingTime}} {{item.bookingTime}}
</div> </div>
@ -32,7 +32,21 @@
<el-tag v-else-if="$util.getTimeContrast(item.bookingEndTime) && item.status.code == 4" size="small" type="warning">已取消</el-tag> <el-tag v-else-if="$util.getTimeContrast(item.bookingEndTime) && item.status.code == 4" size="small" type="warning">已取消</el-tag>
<el-tag v-else size="small" type="warning">已过期</el-tag> <el-tag v-else size="small" type="warning">已过期</el-tag>
</div> </div>
<div class="flex-row align-items-center" v-if="$util.getTimeContrast(item.bookingEndTime)"> <div class="flex-row" v-else>
<div class="mr-8 color-000 f-weight600 f16">
{{item.bookingTime}}
</div>
<el-tag v-if="item.status.code == 0" size="small" type="info">未开始</el-tag>
<el-tag v-else-if="item.status.code == 1" size="small" type="info">进行中</el-tag>
<el-tag v-else-if="item.status.code == 2" size="small" type="success">已结束</el-tag>
<el-tag v-else-if="item.status.code == 3" size="small" type="warning">视频失败</el-tag>
<el-tag v-else-if="item.status.code == 4" size="small" type="warning">已取消</el-tag>
<el-tag v-else size="small" type="warning">已过期</el-tag>
</div>
<div class="flex-row align-items-center" v-if="$util.getTimeContrast(item.bookingEndTime) && queryCondition.type == 0">
<!-- 进房 --> <!-- 进房 -->
<div class="f16 mr-8 cursor-pointer" <div class="f16 mr-8 cursor-pointer"
v-if="item.roomId && item.sdkAppId && item.userId && item.userSig && (item.status.code === 0 || item.status.code === 1)" v-if="item.roomId && item.sdkAppId && item.userId && item.userSig && (item.status.code === 0 || item.status.code === 1)"
@ -132,6 +146,7 @@ export default {
}, },
selectType(typeValue) { selectType(typeValue) {
this.queryCondition.type = typeValue; this.queryCondition.type = typeValue;
this.videoTableData = []
this.getList() this.getList()
}, },
// //