From 32b48e05d7792b262c7dd35f0c1ef81293dee16d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 06 May 2025 16:55:53 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage

---
 src/router/page/index.js                              |   14 ++++++++++----
 src/config/website.js                                 |    6 ++++--
 src/router/views/index.js                             |   18 ++++++++++++++++++
 src/views/algorithmRepository/algorithmRepository.vue |    6 +++---
 src/assets/images/ht-sfbg.png                         |    0 
 5 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/src/assets/images/ht-sfbg.png b/src/assets/images/ht-sfbg.png
index 39fa6fa..c60dfd0 100644
--- a/src/assets/images/ht-sfbg.png
+++ b/src/assets/images/ht-sfbg.png
Binary files differ
diff --git a/src/config/website.js b/src/config/website.js
index a0934aa..9bba3e6 100644
--- a/src/config/website.js
+++ b/src/config/website.js
@@ -32,8 +32,10 @@
     menu: true,
   },
   fistPage: {
-    name: '首页',
-    path: '/wel/index',
+    name: '事件工单',
+    // path: '/wel/index',
+    path: '/tickets/ticket',
+    
   },
   //配置菜单的属性
   menu: {
diff --git a/src/router/page/index.js b/src/router/page/index.js
index 3a148f7..2006514 100644
--- a/src/router/page/index.js
+++ b/src/router/page/index.js
@@ -64,9 +64,15 @@
       isAuth: false,
     },
   },
+  // {
+  //   path: '/',
+  //   name: '主页',
+  //   // redirect: '/wel',
+  //   redirect:'/tickets/ticket',
+  // },
   {
-    path: '/',
-    name: '主页',
-    redirect: '/wel',
-  },
+     path: '/',
+     name: '主页',
+     redirect: '/tickets/ticket',
+     },
 ];
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 7b7c589..a8977c6 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -27,6 +27,24 @@
       },
     ],
   },
+  // 事件工单
+  {
+     path: '/tickets',
+    component: () =>
+     Store.getters.isMacOs ? import('@/mac/index.vue') : import('@/page/index/index.vue'),
+     redirect: '/tickets/ticket',
+     children: [
+     {
+     path: 'ticket',
+   name: '事件工单',
+     meta: {
+     i18n: 'dashboard',
+    },
+    component: () => import(/* webpackChunkName: "views" */ '@/views/tickets/ticket.vue'),
+     },
+    ],
+     },
+
   {
     path: '/test',
     component: Layout,
diff --git a/src/views/algorithmRepository/algorithmRepository.vue b/src/views/algorithmRepository/algorithmRepository.vue
index 928ee07..ccda450 100644
--- a/src/views/algorithmRepository/algorithmRepository.vue
+++ b/src/views/algorithmRepository/algorithmRepository.vue
@@ -6,10 +6,10 @@
           <img class="imgicon" :src="`${baseUrl}/后台-算法仓库/${item.dictValue}.png`" alt="" />
           <div>{{ item.dictValue }}</div>
           <div
-            :class="item.dictValue === '病虫害识别' ? 'stopStatus' : 'normalStatus'"
+            :class="item.dictValue === '病虫害' ? 'stopStatus' : 'normalStatus'"
             @click="jumpDatail(item)"
           >
-            {{ item.dictValue === '病虫害识别' ? '停用状态' : '正常状态' }}
+            {{ item.dictValue === '病虫害' ? '停用状态' : '正常状态' }}
           </div>
         </div>
       </div>
@@ -114,7 +114,7 @@
   });
 };
 const jumpDatail = val => {
-  if (val.dictValue === '病虫害识别') {
+  if (val.dictValue === '病虫害') {
     showDetail.value = false;
   } else {
     showDetail.value = true;

--
Gitblit v1.9.3