From 5c9ad767adb380cc708edfc35b784769f1a79f4d Mon Sep 17 00:00:00 2001
From: JiangQiming <291854119@qq.com>
Date: Mon, 27 Feb 2023 18:13:06 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=9A=E9=81=93=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/media/Device/Channel/Save.vue | 147 +++++++++++++++++++++++
src/views/media/Device/Channel/index.vue | 10 ++
2 files changed, 157 insertions(+)
create mode 100644 src/views/media/Device/Channel/Save.vue
diff --git a/src/views/media/Device/Channel/Save.vue b/src/views/media/Device/Channel/Save.vue
new file mode 100644
index 00000000..51762e16
--- /dev/null
+++ b/src/views/media/Device/Channel/Save.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+ 通道ID
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 视频地址
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/media/Device/Channel/index.vue b/src/views/media/Device/Channel/index.vue
index 6ca977e2..0e17cec7 100644
--- a/src/views/media/Device/Channel/index.vue
+++ b/src/views/media/Device/Channel/index.vue
@@ -76,6 +76,12 @@
+
+
@@ -84,6 +90,7 @@ import ChannelApi from '@/api/media/channel';
import type { ActionsType } from '@/components/Table/index.vue';
import { useMenuStore } from 'store/menu';
import { message } from 'ant-design-vue';
+import Save from './Save.vue';
const menuStory = useMenuStore();
const route = useRoute();
@@ -163,6 +170,8 @@ const handleAdd = () => {
const listRef = ref();
const playVis = ref(false);
+const channelData = ref();
+
const getActions = (
data: Partial>,
type: 'card' | 'table',
@@ -178,6 +187,7 @@ const getActions = (
icon: 'EditOutlined',
onClick: () => {
saveVis.value = true;
+ channelData.value = data;
},
},
{