From 00212ed8e808fc7b76c04389224e65f27f074fb2 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 26 四月 2024 15:30:04 +0800
Subject: [PATCH] su

---
 src/router/index.js |  256 ++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 183 insertions(+), 73 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index a7bb996..1aa1504 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -28,6 +28,7 @@
   }
  */
 
+
 // 鍏叡璺敱
 export const constantRoutes = [
   {
@@ -42,20 +43,126 @@
       {
         path: '/emer',
         component: () => import('@/views/system/emer/index'),
-        name:'rmer',
+        name: 'rmer',
         meta: { title: '鐭ヨ瘑搴撶鐞� ', icon: 'dashboard', }
       },
       {
         path: '/icd',
         component: () => import('@/views/system/icd/index'),
-        name:'rmer',
+        name: 'rmer',
         meta: { title: '鐤剧梾瀛楀吀 ', icon: 'dashboard', }
       },
       {
         path: '/ssdm',
         component: () => import('@/views/system/ssdm/index'),
-        name:'rmer',
+        name: 'rmer',
         meta: { title: '鐭ヨ瘑搴撶鐞� ', icon: 'dashboard', }
+      },
+      {
+        path: '/notice',
+        component: () => import('@/views/system/notice/index'),
+        name: 'rmer',
+        meta: { title: '閫氱煡鍏憡 ' }
+      },
+    ]
+  },
+  {
+    path: '/system',
+    component: Layout,
+    hidden: true,
+    children: [
+      {
+        path: 'about',
+        component: () => import('@/views/hosp/about/index'),
+        name: 'AuthRole',
+        meta: { title: '鏃ョ粨鏌ヨ' }
+      }
+    ]
+  },
+  // 瀵兼鍗曞拰浣撴鎶ュ憡椤甸潰鏍囩鏍�
+  {
+    path: '/report',
+    component: Layout,
+    hidden: true,
+    children: [
+      {
+        path: 'breDailyReport',
+        component: () => import('@/views/jmreport/jmreport/view'),
+        name: 'DailyReportReport',
+        meta: { title: '瀵兼鍗�', activeMenu: '/bre/DailyReport' },
+      },
+      {
+        path: 'viewReport',
+        component: () => import('@/views/jmreport/jmreport/view'),
+        name: 'DailyReportReport',
+        meta: { title: '浣撴鎶ュ憡', activeMenu: '/bre/viewReport' },
+      },
+      {
+        path: 'settlement',
+        component: () => import('@/views/jmreport/jmreport/settlement'),
+        name: 'DailyReportReport',
+        meta: { title: '涓汉缁撹处鍗�', activeMenu: '/bre/settlement' },
+      },
+      {
+        path: 'charge',
+        component: () => import('@/views/jmreport/jmreport/charge'),
+        name: 'DailyReportReport',
+        meta: { title: '鏀舵灏忕エ', activeMenu: '/bre/charge' },
+      },
+      {
+        path: 'refund',
+        component: () => import('@/views/jmreport/jmreport/refund'),
+        name: 'DailyReportReport',
+        meta: { title: '閫�娆惧皬绁�', activeMenu: '/bre/refund' },
+      },
+      {
+        path: 'invoice',
+        component: () => import('@/views/jmreport/jmreport/invoice'),
+        name: 'DailyReportReport',
+        meta: { title: '鍙戠エ', activeMenu: '/bre/invoice' },
+      },
+      {
+        path: 'groupReport',
+        component: () => import('@/views/jmreport/jmreport/groupReport'),
+        name: 'DailyReportReport',
+        meta: { title: '鍥㈤槦鎶ュ憡', activeMenu: '/bre/groupReport ' },
+      },
+      {
+        path: 'jiankangzheng',
+        component: () => import('@/views/jmreport/jmreport/jiankangzheng'),
+        name: 'DailyReportReport',
+        meta: { title: '鍋ュ悍璇佹鏌ヨ〃', activeMenu: '/bre/jiankangzheng ' },
+      },
+      {
+        path: 'zongjianjiankangzheng',
+        component: () => import('@/views/jmreport/jmreport/zongjianjiankangzheng'),
+        name: 'DailyReportReport',
+        meta: { title: '', activeMenu: '/bre/zongjianjiankangzheng ' },
+      },
+    ]
+  },
+  {
+    path: '/editor',
+    component: Layout,
+    hidden: true,
+    // redirect: 'noredirect',
+    children: [
+      {
+        path: 'moban',
+        meta: { title: '闂嵎缂栬緫',requireLogin: true },
+        name: 'editor',
+        component: () => import('@/views/hosp/surveyTemplate/editor/index')
+      },
+      // {
+      //   path: 'publish',
+      //   meta: { title: '闂嵎鍙戝竷',requireLogin: true },
+      //   name: 'publish',
+      //   component: () => import('@/views/web/questionnaire/publish/index')
+      // },
+      {
+        path: 'ProjectForm',
+        meta: { requireLogin: false },
+        component: () => import('@/views/hosp/surveyTemplate/editor/preview/ProjectForm.vue')
       },
     ]
   },
@@ -64,7 +171,7 @@
     component: () => import('@/views/login'),
     hidden: true
   },
-  
+
   {
     path: '/register',
     component: () => import('@/views/register'),
@@ -80,7 +187,7 @@
     component: () => import('@/views/error/401'),
     hidden: true
   },
-  
+
   {
     path: '',
     component: Layout,
@@ -115,7 +222,7 @@
         component: () => import('@/views/system/dict/index'),
         hidden: true
       },
-      
+
       {
         path: 'profile',
         component: () => import('@/views/system/user/profile/index'),
@@ -199,71 +306,73 @@
     ]
   },
   // 瀵兼鍗曞拰浣撴鎶ュ憡椤甸潰鏍囩鏍�
-  {
-    path: '/report',
-    component: Layout,
-    hidden: true,
-    permissions: ['bre:DailyReport:list'],
-    children: [
-      {
-        path: 'breDailyReport',
-        component: () => import('@/views/jmreport/jmreport/view'),
-        name:'DailyReportReport',
-        meta:{title:'瀵兼鍗�',activeMenu:'/bre/DailyReport'},
-      },
-      {
-        path: 'viewReport',
-        component: () => import('@/views/jmreport/jmreport/view'),
-        name:'DailyReportReport',
-        meta:{title:'浣撴鎶ュ憡',activeMenu:'/bre/viewReport'},
-      },
-      {
-        path: 'settlement',
-        component: () => import('@/views/jmreport/jmreport/settlement'),
-        name:'DailyReportReport',
-        meta:{title:'涓汉缁撹处鍗�',activeMenu:'/bre/settlement'},
-      },
-      {
-        path: 'charge',
-        component: () => import('@/views/jmreport/jmreport/charge'),
-        name:'DailyReportReport',
-        meta:{title:'鏀舵灏忕エ',activeMenu:'/bre/charge'},
-      },
-      {
-        path: 'refund',
-        component: () => import('@/views/jmreport/jmreport/refund'),
-        name:'DailyReportReport',
-        meta:{title:'閫�娆惧皬绁�',activeMenu:'/bre/refund'},
-      },
-      {
-        path: 'invoice',
-        component: () => import('@/views/jmreport/jmreport/invoice'),
-        name:'DailyReportReport',
-        meta:{title:'鍙戠エ',activeMenu:'/bre/invoice'},
-      },
-      {
-        path: 'groupReport',
-        component: () => import('@/views/jmreport/jmreport/groupReport'),
-        name:'DailyReportReport',
-        meta:{title:'鍥㈤槦鎶ュ憡',activeMenu:'/bre/groupReport '},
-      },
-    ]
-  },
+  // {
+  //   path: '/report',
+  //   component: Layout,
+  //   hidden: true,
+  //   permissions: ['tool:gen:edit'],
+  //   // permissions: ['bre:DailyReport:list'],
+  //   children: [
+  //     {
+  //       path: 'breDailyReport',
+  //       component: () => import('@/views/jmreport/jmreport/view'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'瀵兼鍗�',activeMenu:'/bre/DailyReport'},
+  //     },
+  //     {
+  //       path: 'viewReport',
+  //       component: () => import('@/views/jmreport/jmreport/view'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'浣撴鎶ュ憡',activeMenu:'/bre/viewReport'},
+  //     },
+  //     {
+  //       path: 'settlement',
+  //       component: () => import('@/views/jmreport/jmreport/settlement'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'涓汉缁撹处鍗�',activeMenu:'/bre/settlement'},
+  //     },
+  //     {
+  //       path: 'charge',
+  //       component: () => import('@/views/jmreport/jmreport/charge'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'鏀舵灏忕エ',activeMenu:'/bre/charge'},
+  //     },
+  //     {
+  //       path: 'refund',
+  //       component: () => import('@/views/jmreport/jmreport/refund'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'閫�娆惧皬绁�',activeMenu:'/bre/refund'},
+  //     },
+  //     {
+  //       path: 'invoice',
+  //       component: () => import('@/views/jmreport/jmreport/invoice'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'鍙戠エ',activeMenu:'/bre/invoice'},
+  //     },
+  //     {
+  //       path: 'groupReport',
+  //       component: () => import('@/views/jmreport/jmreport/groupReport'),
+  //       name:'DailyReportReport',
+  //       meta:{title:'鍥㈤槦鎶ュ憡',activeMenu:'/bre/groupReport '},
+  //     },
+  //   ]
+  // },
 
-  {
-    path: '/system',
-    component: Layout,
-    hidden: true,
-    permissions: ['system:user:edit'],
-    children: [
-      {
-        path: 'about',
-        component: () => import('@/views/hosp/about/index'),
-        name: 'AuthRole',
-        meta: { title: '鏃ョ粨鏌ヨ' }
-      }
-    ]
-  },
+  // {
+  //   path: '/system',
+  //   component: Layout,
+  //   hidden: true,
+  //   permissions: ['system:user:edit'],
+  //   children: [
+  //     {
+  //       path: 'about',
+  //       component: () => import('@/views/hosp/about/index'),
+  //       name: 'AuthRole',
+  //       meta: { title: '鏃ョ粨鏌ヨ' }
+  //     }
+  //   ]
+  // },
+
   {
     path: '/hosp',
     component: Layout,
@@ -274,12 +383,13 @@
         path: 'datacomparison',
         component: () => import('@/views/hosp/datacomparison/index'),
         name: 'Contrast',
-        meta: { title: '鏁版嵁瀵规瘮', keepAlive: false
-      }
+        meta: {
+          title: '鏁版嵁瀵规瘮', keepAlive: false
+        }
       }
     ]
   },
- 
+
 ]
 
 // 闃叉杩炵画鐐瑰嚮澶氭璺敱鎶ラ敊

--
Gitblit v1.8.0