视频间列表

This commit is contained in:
liuxi 2025-01-06 18:05:02 +08:00
parent f814141e15
commit ad9cc5be38
2 changed files with 15 additions and 13 deletions

View File

@ -64,14 +64,14 @@
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip></el-table-column>
<el-table-column prop="bookingTime" label="预约开始时间" show-overflow-tooltip></el-table-column>
<el-table-column prop="bookingEndTime" label="预约结束时间" show-overflow-tooltip></el-table-column>
<el-table-column prop="状态" label="操作时间" show-overflow-tooltip>
<el-table-column label="状态" show-overflow-tooltip>
<template slot-scope="scope">
<span>
{{ scope.row.status == 0 ? '未开始': '' }}
{{ scope.row.status == 1 ? '进行中': '' }}
{{ scope.row.status == 2 ? '已结束': '' }}
{{ scope.row.status == 3 ? '视频失败': '' }}
{{ scope.row.status == 4 ? '已取消': '' }}
{{ scope.row.status.code == 0 ? '未开始': '' }}
{{ scope.row.status.code == 1 ? '进行中': '' }}
{{ scope.row.status.code == 2 ? '已结束': '' }}
{{ scope.row.status.code == 3 ? '视频失败': '' }}
{{ scope.row.status.code == 4 ? '已取消': '' }}
</span>
</template>
</el-table-column>
@ -84,12 +84,13 @@
</template>
</el-table-column>
<el-table-column label="操作" width="240">
<el-table-column label="操作" width="150">
<template slot-scope="scope">
<div class="flex-row align-items-center">
<el-button size="mini" @click="handleDelete(scope.row)">进入视频间</el-button>
<el-button size="mini" @click="VideoDialog={id:scope.row.id, bookingTime:scope.row.bookingTime}">修改</el-button>
<el-button size="mini" v-if="scope.row.status.code !== 4 && scope.row.status.code !== 2" @click="handleBackCase(scope.row)">取消</el-button>
<!-- 只有进行中 快开始的时候才能进入视频间 -->
<el-button size="mini" v-if="scope.row.status.code == 1 || scope.row.status.code == 2" @click="handleDelete(scope.row)">进入视频间</el-button>
<el-button size="mini" v-if="scope.row.status.code == 0" @click="VideoDialog={id:scope.row.id, bookingTime:scope.row.bookingTime}">修改</el-button>
<el-button size="mini" v-if="scope.row.status.code == 0" @click="handleBackCase(scope.row)">取消</el-button>
</div>
</template>
</el-table-column>

View File

@ -204,6 +204,7 @@
import api from "@/services/caseManagement";
import workApi from "@/services/workbenchApi";
import pkapi from "@/services/casePackageManagement";
import { color } from "echarts";
export default {
components: {
importPackageDialog: () => import('../case-package/components/importPackageDialog'),//
@ -441,8 +442,8 @@
show: false
},
data: [
{ value: this.mediation_success_rate.mediateFail, name: '调解失败' },
{ value: this.mediation_success_rate.mediateSuccess, name: '调解成功' },
{ value: this.mediation_success_rate.mediateFail, name: '调解失败',itemStyle:{color:'#FFE7E0'} },
{ value: this.mediation_success_rate.mediateSuccess, name: '调解成功' ,itemStyle:{color:'#E4F3CE'}},
]
}
]