From 7907276fcff72f2f1bbad2a75cd93b1dd6651529 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 30 六月 2025 17:47:22 +0800
Subject: [PATCH] Merge branch 'dev-2.2.0' of http://120.26.58.240:8888/r/JYBIndependentFront into dev-2.2.0

---
 src/router/index.ts |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 027c19a..f283d1a 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -3,6 +3,7 @@
 import Layout from '@/layout/MainLayout/Layout.vue';
 import ErrorLayout from '@/layout/ErrorLayout/ErrorLayout.vue';
 import { AppType } from '@/constants';
+import { loadEnv } from '@build/index';
 
 // import { ElIcons } from '@/typings'
 
@@ -103,6 +104,42 @@
         meta: {
           rank: 10002,
           title: '淇濆崟璇︽儏',
+          // rootMenu: true,
+          icon: 'home',
+        },
+      },
+      {
+        path: '/InsurancePolicyStampFiles/:id',
+        name: 'InsurancePolicyStampFiles',
+        hidden: true,
+        component: () => import('@/views/Home/InsurancePolicyStampFiles.vue'),
+        meta: {
+          rank: 10003,
+          title: '淇濆崟涓嬭浇',
+          // rootMenu: true,
+          icon: 'home',
+        },
+      },
+      {
+        path: '/InsureDownloadInvoice/:id',
+        name: 'InsureDownloadInvoice',
+        hidden: true,
+        component: () => import('@/views/Home/InsureDownloadInvoice.vue'),
+        meta: {
+          rank: 10004,
+          title: '鍙戠エ涓嬭浇',
+          // rootMenu: true,
+          icon: 'home',
+        },
+      },
+      {
+        path: '/InsurePayDetail/:id',
+        name: 'InsurePayDetail',
+        hidden: true,
+        component: () => import('@/views/Home/InsurePayDetail.vue'),
+        meta: {
+          rank: 10005,
+          title: '鏀粯璇︽儏',
           // rootMenu: true,
           icon: 'home',
         },
@@ -295,9 +332,11 @@
   },
 ];
 
+const { VITE_PUBLIC_PATH } = loadEnv();
+
 const createRouterFactory = () =>
   createRouter({
-    history: createWebHistory(), // hash妯″紡锛歝reateWebHashHistory锛宧istory妯″紡锛歝reateWebHistory
+    history: createWebHistory(VITE_PUBLIC_PATH), // hash妯″紡锛歝reateWebHashHistory锛宧istory妯″紡锛歝reateWebHistory
     scrollBehavior(to, from, savedPosition) {
       return new Promise((resolve) => {
         if (savedPosition) {

--
Gitblit v1.9.1