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