From 2f09efc660bf2cc94cbc5291ad25ca06fc9bdadf Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 24 一月 2026 22:03:09 +0800
Subject: [PATCH] feat: 增加OCR测试,车辆

---
 ruoyi-ui/src/router/index.js |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 54 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index 2282284..6266b3e 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -5,6 +5,7 @@
 
 /* Layout */
 import Layout from '@/layout'
+import qywechatRouter from './modules/qywechat'
 
 /**
  * Note: 璺敱閰嶇疆椤�
@@ -149,6 +150,58 @@
 
 // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
 export const dynamicRoutes = [
+  qywechatRouter,
+  
+  // 缃戠粶璇婃柇璺敱
+  {
+    path: "/system/diag",
+    component: Layout,
+    redirect: "/system/diag/ocrConnection",
+    name: "Diag",
+    meta: {
+      title: "缃戠粶璇婃柇",
+      icon: "link",
+      permissions: ["system:diag:view"]
+    },
+    children: [
+      {
+        path: "ocrConnection",
+        component: () => import("@/views/system/diag/ocrConnection"),
+        name: "OCRConnectionDiag",
+        meta: {
+          title: "OCR杩炴帴璇婃柇",
+          icon: "monitor",
+          permissions: ["system:diag:ocr"]
+        }
+      }
+    ]
+  },
+  
+  // 鍖婚櫌鍒嗚瘝娴嬭瘯璺敱
+  {
+    path: "/system/hospital",
+    component: Layout,
+    redirect: "/system/hospital/tokenizer",
+    name: "Hospital",
+    meta: {
+      title: "鍖婚櫌绠$悊",
+      icon: "hospital",
+      permissions: ["system:hospital:view"]
+    },
+    children: [
+      {
+        path: "tokenizer",
+        component: () => import("@/views/system/hospital/tokenizer"),
+        name: "HospitalTokenizer",
+        meta: {
+          title: "鍖婚櫌鍒嗚瘝娴嬭瘯",
+          icon: "search",
+          permissions: ["system:hospital:tokenizer"]
+        }
+      }
+    ]
+  },
+  
   {
     path: '/system/user-auth',
     component: Layout,
@@ -248,7 +301,7 @@
 }
 
 export default new Router({
-  mode: 'hash', // 浣跨敤hash妯″紡锛屽吋瀹规�ф洿濂�
+  mode: 'history', // 浣跨敤history妯″紡,URL鏇寸編瑙�
   scrollBehavior: () => ({ y: 0 }),
   routes: constantRoutes
 })

--
Gitblit v1.9.1