feat 排序
This commit is contained in:
@@ -77,10 +77,10 @@ const dialog = reactive<DialogOption>({
|
||||
const handleSee = async (row: any) => {
|
||||
console.log('查看画面', row);
|
||||
// 在这里可以添加打开画面的逻辑
|
||||
if (!row || !row.videoUrl) {
|
||||
proxy?.$modal.msgError('视频地址不存在');
|
||||
return;
|
||||
}
|
||||
// if (!row || !row.videoUrl) {
|
||||
// proxy?.$modal.msgError('视频地址不存在');
|
||||
// return;
|
||||
// }
|
||||
await videosStore.getVideos(row.id);
|
||||
monitorVideoUrl.value = videosStore.hisUrl;
|
||||
dialog.visible = true;
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
prop="createTime"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column v-if="columns[4].visible" key="phonenumber" label="排序" align="center" prop="phonenumber" width="120" />
|
||||
<el-table-column v-if="columns[4].visible" key="sort" label="排序" align="center" prop="sort" width="120" />
|
||||
<el-table-column v-if="columns[5].visible" key="status" label="状态" align="center">
|
||||
<template #default="scope">
|
||||
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch>
|
||||
|
||||
Reference in New Issue
Block a user