From c459808efab29dc1b8439fbb90556bdb16f4c88b Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期三, 01 四月 2026 22:40:59 +0800
Subject: [PATCH] feat: 优化支付时显示任务ID

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

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index 71907b6..341c2b2 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: 璺敱閰嶇疆椤�
@@ -52,6 +53,24 @@
     hidden: true
   },
   {
+    path: '/system/order/anonymous',
+    component: () => import('@/views/system/serviceOrder/anonymous'),
+    hidden: true,
+    meta: { title: '鍖垮悕璁㈠崟鏌ョ湅', icon: 'eye',anonymous: true }
+  },
+  {
+    path: '/evaluation',
+    component: () => import('@/views/evaluation/index'),
+    hidden: true,
+    meta: { title: '瀹㈡埛璇勪环', anonymous: true }
+  },
+  {
+    path: '/evaluation/test',
+    component: () => import('@/views/evaluation/test'),
+    hidden: true,
+    meta: { title: '璇勪环鍔熻兘娴嬭瘯', anonymous: true }
+  },
+  {
     path: '/404',
     component: () => import('@/views/error/404'),
     hidden: true
@@ -87,11 +106,146 @@
         meta: { title: '涓汉涓績', icon: 'user' }
       }
     ]
+  },
+  {
+    path: '/order/detail/:id',
+    component: () => import('@/views/system/order/detail'),
+    name: 'OrderDetail',
+    hidden: true,
+    meta: { title: '璁㈠崟璇︽儏椤�', anonymous: true }
+  },
+  {
+    path: '/anonymous/test',
+    component: () => import('@/views/anonymous/test'),
+    hidden: true,
+    meta: { title: '鍖垮悕璁块棶娴嬭瘯', anonymous: true }
+  },  {
+    path: '/system/gps/map',
+    component: () => import('@/views/system/gps/map'),
+    name: 'GpsMap',
+    hidden: true,
+    meta: { title: '杞﹁締杞ㄨ抗', showMenu: false, icon: 'map' ,anonymous: true}
+  },
+  {
+    path: '/payInfoTest',
+    component: (resolve) => require(['@/views/system/payInfoTest/index'], resolve),
+    hidden: true,
+    meta: { title: '鏀粯淇℃伅娴嬭瘯', anonymous: true }
+  }
+  ,{
+    path: '/system/gps/mapNeed',
+    component: () => import('@/views/system/gps/mapNeed'),
+    name: 'GpsMapNeed',
+    meta: { title: '杞﹁締杞ㄨ抗', icon: 'map' }
+  },
+  
+  {
+    path: '/h5/task_create',
+    component: () => import('@/views/task/h5/create'),
+    hidden: false,
+    name: 'H5TaskCreate',
+    meta: { title: '鍒涘缓浠诲姟' }
+  },
+  {
+    path: '/system/invoice/detail',
+    component: () => import('@/views/system/invoice/detail'),
+    name: 'InvoiceDetail',
+    hidden: true,
+    meta: { title: '鍙戠エ璇︽儏', activeMenu: '/system/invoice' }
+  },
+  {
+    path: '/system/invoice/audit',
+    component: () => import('@/views/system/invoice/audit'),
+    name: 'InvoiceAudit',
+    hidden: true,
+    meta: { title: '瀹℃牳鍙戠エ', activeMenu: '/system/invoice' }
+  },
+  {
+    path: '/system/invoice/apply',
+    component: () => import('@/views/system/invoice/apply'),
+    name: 'InvoiceApply',
+    hidden: true,
+    meta: { title: '鐢宠鍙戠エ', activeMenu: '/system/invoice' }
   }
 ]
 
 // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
 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: "/payment",
+    component: Layout,
+    redirect: "/payment/order",
+    name: "Payment",
+    meta: {
+      title: "鏀粯绠$悊",
+      icon: "money"
+    },
+    children: [
+      {
+        path: "order",
+        component: () => import("@/views/payment/order/index"),
+        name: "PayOrder",
+        meta: {
+          title: "鏀粯璁㈠崟鏌ヨ",
+          icon: "el-icon-s-order"
+        }
+      }
+    ]
+  },
+
   {
     path: '/system/user-auth',
     component: Layout,
@@ -161,6 +315,20 @@
         meta: { title: '淇敼鐢熸垚閰嶇疆', activeMenu: '/tool/gen' }
       }
     ]
+  },
+  {
+    path: '/task/general-detail',
+    component: Layout,
+    hidden: true,
+    permissions: ['task:general:query'],
+    children: [
+      {
+        path: 'index/:taskId(\\d+)',
+        component: () => import('@/views/task/general/detail'),
+        name: 'TaskDetail',
+        meta: { title: '浠诲姟璇︽儏', activeMenu: '/task/general' }
+      }
+    ]
   }
 ]
 
@@ -177,7 +345,7 @@
 }
 
 export default new Router({
-  mode: 'history', // 鍘绘帀url涓殑#
+  mode: 'history', // 浣跨敤history妯″紡,URL鏇寸編瑙�
   scrollBehavior: () => ({ y: 0 }),
   routes: constantRoutes
 })

--
Gitblit v1.9.1