From db7f79194a8523f219885f40929e287ac3245a42 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Mon, 24 Mar 2025 17:27:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=89=8D=E7=AB=AF=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/dialog/GbChannelSelect.vue | 8 ++------ .../src/components/dialog/UnusualGroupChannelSelect.vue | 8 ++------ .../src/components/dialog/UnusualRegionChannelSelect.vue | 8 ++------ web_src/src/components/dialog/linkChannelRecord.vue | 8 ++------ web_src/src/components/dialog/shareChannelAdd.vue | 8 ++------ web_src/src/components/group.vue | 8 ++------ web_src/src/components/region.vue | 9 +++------ web_src/src/main.js | 7 +++++++ 8 files changed, 22 insertions(+), 42 deletions(-) diff --git a/web_src/src/components/dialog/GbChannelSelect.vue b/web_src/src/components/dialog/GbChannelSelect.vue index d7008e5db..e3df0452d 100644 --- a/web_src/src/components/dialog/GbChannelSelect.vue +++ b/web_src/src/components/dialog/GbChannelSelect.vue @@ -26,9 +26,7 @@ - - - + 刷新 @@ -49,9 +47,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/dialog/UnusualGroupChannelSelect.vue b/web_src/src/components/dialog/UnusualGroupChannelSelect.vue index 6d3950610..130e7d9ef 100644 --- a/web_src/src/components/dialog/UnusualGroupChannelSelect.vue +++ b/web_src/src/components/dialog/UnusualGroupChannelSelect.vue @@ -26,9 +26,7 @@ - - - + 清除 @@ -55,9 +53,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/dialog/UnusualRegionChannelSelect.vue b/web_src/src/components/dialog/UnusualRegionChannelSelect.vue index 251cf0372..66191b759 100644 --- a/web_src/src/components/dialog/UnusualRegionChannelSelect.vue +++ b/web_src/src/components/dialog/UnusualRegionChannelSelect.vue @@ -26,9 +26,7 @@ - - - + 清除 @@ -55,9 +53,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/dialog/linkChannelRecord.vue b/web_src/src/components/dialog/linkChannelRecord.vue index 2f5834bd9..644e10347 100755 --- a/web_src/src/components/dialog/linkChannelRecord.vue +++ b/web_src/src/components/dialog/linkChannelRecord.vue @@ -25,9 +25,7 @@ - - - + 添加 @@ -56,9 +54,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/dialog/shareChannelAdd.vue b/web_src/src/components/dialog/shareChannelAdd.vue index b6a3429c6..e4f8595d9 100755 --- a/web_src/src/components/dialog/shareChannelAdd.vue +++ b/web_src/src/components/dialog/shareChannelAdd.vue @@ -23,9 +23,7 @@ - - - + 添加 @@ -74,9 +72,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/group.vue b/web_src/src/components/group.vue index 311474cb0..43cb5bea0 100755 --- a/web_src/src/components/group.vue +++ b/web_src/src/components/group.vue @@ -32,9 +32,7 @@ v-model="channelType" placeholder="请选择" default-first-option> - - - + 添加通道 @@ -63,9 +61,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/components/region.vue b/web_src/src/components/region.vue index 8482eb9b9..1ae6f29b0 100755 --- a/web_src/src/components/region.vue +++ b/web_src/src/components/region.vue @@ -28,12 +28,11 @@ 类型: + - - - + 添加通道 @@ -62,9 +61,7 @@ - 国标设备 - 推流设备 - 拉流代理 + {{$channelTypeList[scope.row.dataType].name}} diff --git a/web_src/src/main.js b/web_src/src/main.js index f37a2dcc6..8ea7ece1c 100755 --- a/web_src/src/main.js +++ b/web_src/src/main.js @@ -76,6 +76,13 @@ axios.interceptors.request.use( Vue.prototype.$axios = axios; Vue.prototype.$cookies.config(60 * 30); Vue.prototype.$tableHeght = window.innerHeight - 170; +Vue.prototype.$channelTypeList = { + 1: {id: 1, name: "国标设备", style: {color: "#409eff", borderColor: "#b3d8ff"}}, + 2: {id: 2, name: "推流设备", style: {color: "#67c23a", borderColor: "#c2e7b0"}}, + 3: {id: 3, name: "拉流代理", style: {color: "#e6a23c", borderColor: "#f5dab1"}}, +}; + +