Ver código fonte

fix(*): 人脸和工装

wangxiao 2 anos atrás
pai
commit
635a29cff2

+ 1 - 1
src/api/cvs/feature.ts

@@ -55,7 +55,7 @@ export const addCar = (data: CVS.Feature.Car) => {
 
 export const delCarById = (id: string) => {
   return request<string>({
-    url: `/face/${id}`,
+    url: `/car/${id}`,
     method: 'DELETE'
   })
 }

+ 0 - 0
src/pages/cvs/dataServer/template.vue → src/pages/cvs/dataServer/dataServer.vue


+ 1 - 1
src/pages/cvs/video/space.vue

@@ -128,7 +128,7 @@
           </a-row>
           <a-row class="content-item" v-show="spaceState.recording.enabled"  >
             <a-col span="4">单个文件时常: </a-col>
-            <a-col><a-input-number id="inputNumber"  :min="1" v-model:value="spaceState.recording.duration"   /> 分钟 </a-col>
+            <a-col><a-input-number id="inputNumber"  :min="1" v-model:value="spaceState.recording.duration"   />  </a-col>
           </a-row>
           <a-row class="content-item" v-show="spaceState.recording.enabled"  >
             <a-col span="4" >存储格式: </a-col>

+ 8 - 15
src/router/index.ts

@@ -320,13 +320,13 @@ const cvs = {
     {
       path: '/cvs/csys',
       name: '系统概览 ',
-      icon: '',
+      icon: 'PieChartOutlined',
       component: () => import('@/pages/cvs/csys/index.vue')
     },
     {
       path: '/cvs/video',
       name: '视频接入',
-      icon: '',
+      icon: 'VideoCameraAddOutlined',
       redirect: '/cvs/video/space',
       children: [
         {
@@ -352,13 +352,13 @@ const cvs = {
     {
       path: '/cvs/project',
       name: '项目管理',
-      icon: '',
+      icon: 'GroupOutlined',
       component: () => import('@/pages/cvs/project/index.vue')
     },
     {
       path: '/cvs/operator',
       name: '算子仓库',
-      icon: '',
+      icon: 'CloudServerOutlined',
       redirect: '/cvs/operator/manage',
       children: [
         {
@@ -380,20 +380,13 @@ const cvs = {
     {
       path: '/cvs/cvsSever',
       name: '数据管理',
-      icon: '',
-      children: [
-        {
-          path: '/cvs/cvsSever/template',
-          name: '模版管理',
-          icon: '',
-          component: () => import('@/pages/cvs/dataServer/template.vue')
-        }
-      ]
+      icon: 'AppstoreOutlined',
+      component: () => import('@/pages/cvs/dataServer/dataServer.vue')
     },
     {
       path: '/cvs/edge',
       name: '边缘设备',
-      icon: '',
+      icon: 'ApiOutlined',
       children: [
         {
           path: '/cvs/edge/list',
@@ -418,7 +411,7 @@ const cvs = {
     {
       path: '/cvs/nodes',
       name: '节点管理 ',
-      icon: '',
+      icon: 'DeploymentUnitOutlined',
       component: () => import('@/pages/cvs/nodes/index.vue')
     }
   ]