wangxiao před 3 roky
rodič
revize
e997e47208

binární
dist.zip


+ 5 - 0
src/pages/rts/monitor/index.vue

@@ -0,0 +1,5 @@
+<template><h1/></template>
+<script lang="ts" setup >
+</script>
+
+<style></style>

+ 5 - 0
src/pages/rts/protocol/index.vue

@@ -0,0 +1,5 @@
+<template><h1/></template>
+<script lang="ts" setup >
+</script>
+
+<style></style>

+ 5 - 0
src/pages/rts/pull/index.vue

@@ -0,0 +1,5 @@
+<template><h1/></template>
+<script lang="ts" setup >
+</script>
+
+<style></style>

+ 5 - 0
src/pages/rts/push/index.vue

@@ -0,0 +1,5 @@
+<template><h1/></template>
+<script lang="ts" setup >
+</script>
+
+<style></style>

+ 5 - 0
src/pages/rts/record/index.vue

@@ -0,0 +1,5 @@
+<template><h1/></template>
+<script lang="ts" setup >
+</script>
+
+<style></style>

+ 47 - 0
src/pages/rts/stream/index.vue

@@ -0,0 +1,47 @@
+<template><h1/></template>
+
+<script lang="ts" setup >
+const columns = [
+  {
+    title: 'StreamPath',
+    dataIndex: 'Path',
+    key: 'Path'
+  },
+  {
+    title: '视频流状态',
+    dataIndex: 'State',
+    key: 'State'
+  },
+  {
+    title: '订阅拉流数量',
+    dataIndex: 'Subscribers',
+    key: 'Subscribers'
+  },
+  {
+    title: '音视频轨道',
+    dataIndex: 'Tracks',
+    key: 'Tracks'
+  },
+  {
+    title: '开始时间',
+    dataIndex: 'StartTime',
+    key: 'StartTime'
+  },
+  {
+    title: '视频流类型',
+    dataIndex: 'Type',
+    key: 'Type'
+  },
+  {
+    title: 'BPS',
+    dataIndex: 'BPS',
+    key: 'BPS'
+  },
+  {
+    title: '操作',
+    key: 'action'
+  }
+]
+</script>
+
+<style></style>

+ 45 - 16
src/router/index.ts

@@ -126,22 +126,51 @@ const routes: Array<ROUTER.RoutesProps> = [
           }
         ]
       }
-
-      // {
-      //   path: '/deviceAccess',
-      //   name: '地址展示',
-      //   component: () => import('@/pages/Dashboard/index.vue')
-      // },
-      // {
-      //   path: '/fowChart',
-      //   name: '流程图说明',
-      //   component: () => import('@/pages/Dashboard/index.vue')
-      // },
-      // {
-      //   path: '/dataSummary',
-      //   name: '数据汇总',
-      //   component: () => import('@/pages/Dashboard/index.vue')
-      // }
+    ]
+  },
+  {
+    path: '/rts',
+    name: '视联网',
+    title: '视联网',
+    component: () => import('@/layout/layout.vue'),
+    redirect: '/stream',
+    children: [
+      {
+        path: '/stream',
+        name: '视频流管理',
+        icon: 'PlayCircleOutlined',
+        component: () => import('@/pages/rts/stream/index.vue')
+      },
+      {
+        path: '/pull',
+        name: '拉流管理',
+        icon: 'FallOutlined',
+        component: () => import('@/pages/rts/pull/index.vue')
+      },
+      {
+        path: '/push',
+        name: '推流管理',
+        icon: 'RiseOutlined',
+        component: () => import('@/pages/rts/push/index.vue')
+      },
+      {
+        path: '/record',
+        name: '存储配置',
+        icon: 'FileAddOutlined',
+        component: () => import('@/pages/rts/record/index.vue')
+      },
+      {
+        path: '/protocol',
+        name: ' 协议配置',
+        icon: 'DeploymentUnitOutlined',
+        component: () => import('@/pages/rts/protocol/index.vue')
+      },
+      {
+        path: '/monitor',
+        name: '系统监控',
+        icon: 'ProfileOutlined',
+        component: () => import('@/pages/rts/monitor/index.vue')
+      }
     ]
   }
 ]