Ver Fonte

修改名称

wukai há 2 semanas atrás
pai
commit
9658622228

+ 3 - 0
src/layout/components/Navbar.vue

@@ -36,6 +36,9 @@
           </div>
           <template #dropdown>
             <el-dropdown-menu>
+              <router-link to="/house/config">
+                <el-dropdown-item>仓库配置</el-dropdown-item>
+              </router-link>
               <router-link to="/user/profile">
                 <el-dropdown-item>个人中心</el-dropdown-item>
               </router-link>

+ 13 - 13
src/router/index.js

@@ -78,8 +78,8 @@ export const constantRoutes = [
       {
         path: '/camer',
         component: () => import('@/views/biz/db/index'),
-        name: 'camer',
-        meta: { title: '设备', png: 'ico_camer.png', affix: true }
+        name: '视频融合',
+        meta: { title: '视频融合', png: 'ico_camer.png', affix: true }
       }
     ]
   },
@@ -91,8 +91,8 @@ export const constantRoutes = [
       {
         path: '/device',
         component: () => import('@/views/biz/sensorConfig/index'),
-        name: 'device',
-        meta: { title: '感知', png: 'ico_device.png', affix: true }
+        name: '物联感知',
+        meta: { title: '物联感知', png: 'ico_device.png', affix: true }
       }
     ]
   },
@@ -104,28 +104,28 @@ export const constantRoutes = [
       {
         path: '/ai',
         component: () => import('@/views/biz/algo/index'),
-        name: 'ai',
-        meta: { title: 'AI', png: 'ico_ai.png', affix: true }
+        name: 'AI边缘计算',
+        meta: { title: 'AI边缘计算', png: 'ico_ai.png', affix: true }
       }
     ]
   },
   {
-    path: '/house/config',
+    path: '',
     component: Layout,
-    redirect: '/',
+    redirect: '/house/config',
     hidden: true,
     children: [
       {
         path: '/house/config',
         component: () => import('@/views/biz/houseConfig/index'),
         name: '仓库配置',
-        meta: { title: 'AI', png: 'ico_ai.png', affix: true }
+        meta: { title: '仓库配置', png: 'ico_ai.png', affix: true }
       }
     ]
   },
   {
-    path: '/device/channel',
-    redirect: '/',
+    path: '',
+    redirect: '/device/channel',
     hidden: true,
     children: [
       {
@@ -142,11 +142,11 @@ export const constantRoutes = [
     children: [
       {
         path: '/alarm',
-        name: 'alarm',
+        name: '事件中枢',
         beforeEnter() {
           window.open('https://smp.quanmate.com.cn/admin/yet_another_workflow/flows?page=1&per_page=24&status=active', '_blank');
         },
-        meta: { title: '事件', png: 'ico_alarm.png', affix: true }
+        meta: { title: '事件中枢', png: 'ico_alarm.png', affix: true }
       }
     ]
   },

+ 1 - 0
src/views/biz/algo/index.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="app-container">
+    <el-divider content-position="center">AI边缘计算</el-divider>
     <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="98px">
       <el-form-item label="仓库名称" prop="houseName">
         <el-input

+ 1 - 0
src/views/biz/db/index.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="app-container">
+    <el-divider content-position="center">视频融合</el-divider>
     <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
       <el-form-item label="仓库名称" prop="houseName">
         <el-input

+ 1 - 0
src/views/biz/houseConfig/index.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="app-container">
+    <el-divider content-position="center">仓库配置</el-divider>
     <el-row :gutter="20">
       <splitpanes class="default-theme">
         <!--部门数据-->

+ 1 - 0
src/views/biz/sensorConfig/index.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="app-container">
+    <el-divider content-position="center">物联感知</el-divider>
     <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
       <el-form-item label="仓库名称" prop="houseName">
         <el-input