feat 排序

This commit is contained in:
Ironsp
2026-05-26 14:37:41 +08:00
parent 3f5b81424a
commit 0422e43070
2 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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>