feat:优化视频预览
This commit is contained in:
1 parent
18b39813c0
commit
01508bf7a2
16 files changed
+3563
-665
No files matched your search
@@ -48,9 +48,6 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="200" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button v-if="false" icon="VideoPlay" text type="primary"
|
||||
@click="previewVideoDialogRef.openDialog('channel', row.channelCode)">
|
||||
预览</el-button>
|
||||
<el-button icon="edit-pen" text type="primary" v-auth="'area_areaHouse_edit'"
|
||||
@click="formDialogRef.openDialog(state.queryForm.houseId, row.id)">编辑</el-button>
|
||||
<el-button icon="delete" text type="primary" v-auth="'area_areaHouse_del'"
|
||||
@@ -67,7 +64,6 @@
|
||||
</template>
|
||||
|
||||
<BindCameraFormDialog ref="formDialogRef" @refresh="getDataList" />
|
||||
<PreviewVideoDialog ref="previewVideoDialogRef" />
|
||||
|
||||
</el-dialog>
|
||||
</template>
|
||||
@@ -82,11 +78,9 @@ import * as AreaHouseApi from '/@/api/area/areaHouse'
|
||||
|
||||
// 引入组件
|
||||
const BindCameraFormDialog = defineAsyncComponent(() => import('./bindCameraForm.vue'));
|
||||
const PreviewVideoDialog = defineAsyncComponent(() => import('../../device/components/preview-video/index.vue'));
|
||||
|
||||
// 定义变量内容
|
||||
const formDialogRef = ref()
|
||||
const previewVideoDialogRef = ref()
|
||||
|
||||
const dataFormRef = ref();
|
||||
const visible = ref(false)
|
||||
|
||||
Reference in new issue
Block a user