hyf 3 سال پیش
والد
کامیت
19c90b5f03
3فایلهای تغییر یافته به همراه75 افزوده شده و 75 حذف شده
  1. 6 6
      src/layout/components/Navbar.vue
  2. 66 66
      src/router/modules/hhpt.js
  3. 3 3
      src/settings.js

+ 6 - 6
src/layout/components/Navbar.vue

@@ -109,12 +109,12 @@ export default {
       sideMenuTabId: 1,
       sideMenus: [],
       sideMenuTabList: [
-        { name: '工作总览', icon: 'el-icon-s-platform', path: '/hos/satisfy/overview', permit: 'hos_satisfy_overview', id: 0 },
-        // { name: '实时监测', icon: 'icon-common_monitoring', path: '/hos/satisfy/panorama', permit: 'hos_satisfy_panorama', id: 1 },
-        { name: '建设规划', icon: 'icon-common_saving', path: '/hos/satisfy/instruction', permit: 'hos_satisfy_instruction', id: 2 },
-        { name: '任务动态', icon: 'icon-common_task', path: '/hos/satisfy/task', permit: 'hos_satisfy_task', id: 3 },
-        { name: '成果评价', icon: 'icon-common_evaluate', path: '/hos/satisfy/assess', permit: 'hos_satisfy_assess', id: 4 },
-        { name: '文件中心', icon: 'icon-common_file', path: '/hos/satisfy/doc', permit: 'hos_satisfy_doc', id: 5 },
+        { name: '工作总览', icon: 'el-icon-s-platform', path: '/hos/satisfy/overview', permit: 'hos_health_overview', id: 0 },
+        // { name: '实时监测', icon: 'icon-common_monitoring', path: '/hos/satisfy/panorama', permit: 'hos_health_panorama', id: 1 },
+        { name: '建设规划', icon: 'icon-common_saving', path: '/hos/satisfy/instruction', permit: 'hos_health_instruction', id: 2 },
+        { name: '任务动态', icon: 'icon-common_task', path: '/hos/satisfy/task', permit: 'hos_health_task', id: 3 },
+        { name: '成果评价', icon: 'icon-common_evaluate', path: '/hos/satisfy/assess', permit: 'hos_health_assess', id: 4 },
+        { name: '文件中心', icon: 'icon-common_file', path: '/hos/satisfy/doc', permit: 'hos_health_doc', id: 5 },
         { name: '业务配置', icon: 'el-icon-setting', path: '/hos/checklist', permit: 'hos_checklist', id: 6 },
         { name: '系统配置', icon: 'icon-common_workbench', path: '/hos/profile', permit: 'hos_setting', id: 7 }
       ]

+ 66 - 66
src/router/modules/hhpt.js

@@ -4,39 +4,39 @@ const csatRouter = [
   {
     path: '/',
     component: Layout,
-    name: 'HosSatisfyOverview',
-    redirect: '/hos/satisfy/overview',
+    name: 'HosHealthOverview',
+    redirect: '/hos/health/overview',
     groupId: [0],
     children: [
       {
-        path: '/hos/satisfy/overview',
+        path: '/hos/health/overview',
         component: () => import('@/views/hos/overview'),
-        name: 'hos_satisfy_overview',
-        meta: { title: '数据总览', noCache: true, icon: 'icon-common_safety', permit: 'hos_satisfy_overview' }
+        name: 'hos_health_overview',
+        meta: { title: '数据总览', noCache: true, icon: 'icon-common_safety', permit: 'hos_health_overview' }
       }
     ]
   },
 
   {
-    path: '/hos/satisfy/panorama',
+    path: '/hos/health/panorama',
     component: Layout,
-    name: 'HosSatisfyPanorama',
-    redirect: '/hos/satisfy/monitor/overview',
+    name: 'HosHealthPanorama',
+    redirect: '/hos/health/monitor/overview',
     groupId: [1],
     children: [
       {
-        path: '/hos/satisfy/monitor/overview',
+        path: '/hos/health/monitor/overview',
         component: () => import('@/views/hos/panorama'),
-        name: 'hos_satisfy_panorama',
-        meta: { title: '实时监测', noCache: true, icon: 'icon-common_safety', permit: 'hos_satisfy_panorama' }
+        name: 'hos_health_panorama',
+        meta: { title: '实时监测', noCache: true, icon: 'icon-common_safety', permit: 'hos_health_panorama' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/data',
+    path: '/hos/health/data',
     component: Layout,
-    name: 'HosSatisfyData',
-    redirect: '/hos/satisfy/data/index',
+    name: 'HosHealthData',
+    redirect: '/hos/health/data/index',
     groupId: [1],
     meta: {
       title: '监测数据',
@@ -53,161 +53,161 @@ const csatRouter = [
       {
         path: 'index',
         component: () => import('@/views/hos/data/index'),
-        name: 'hos_satisfy_data',
-        meta: { title: '反馈数据', noCache: true, permit: 'hos_satisfy_data' }
+        name: 'hos_health_data',
+        meta: { title: '反馈数据', noCache: true, permit: 'hos_health_data' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/statis',
+    path: '/hos/health/statis',
     component: Layout,
-    name: 'HosSatisfyStatis',
-    redirect: '/hos/satisfy/statis/year',
+    name: 'HosHealthStatis',
+    redirect: '/hos/health/statis/year',
     groupId: [1],
     meta: {
       title: '统计分析',
       icon: 'el-icon-s-data',
-      permit: 'hos_satisfy_statis'
+      permit: 'hos_health_statis'
     },
     children: [
       {
         path: 'year',
         component: () => import('@/views/hos/statis/year/index'),
-        name: 'hos_satisfy_statis_year',
-        meta: { title: '按年统计', noCache: true, permit: 'hos_satisfy_statis_year' }
+        name: 'hos_health_statis_year',
+        meta: { title: '按年统计', noCache: true, permit: 'hos_health_statis_year' }
       },
       {
         path: 'month',
         component: () => import('@/views/hos/statis/month/index'),
-        name: 'hos_satisfy_statis_month',
-        meta: { title: '按月统计', noCache: true, permit: 'hos_satisfy_statis_month' }
+        name: 'hos_health_statis_month',
+        meta: { title: '按月统计', noCache: true, permit: 'hos_health_statis_month' }
       },
       {
         path: 'group',
         component: () => import('@/views/hos/statis/group/index'),
-        name: 'hos_satisfy_statis_group',
-        meta: { title: '按科室统计', noCache: true, permit: 'hos_satisfy_statis_group' }
+        name: 'hos_health_statis_group',
+        meta: { title: '按科室统计', noCache: true, permit: 'hos_health_statis_group' }
       },
       {
         path: 'checklist',
         component: () => import('@/views/hos/statis/checklist/index'),
-        name: 'hos_satisfy_statis_checklist',
-        meta: { title: '按清单统计', noCache: true, permit: 'hos_satisfy_statis_checklist' }
+        name: 'hos_health_statis_checklist',
+        meta: { title: '按清单统计', noCache: true, permit: 'hos_health_statis_checklist' }
       },
       {
         path: 'target',
         component: () => import('@/views/hos/statis/target/index'),
-        name: 'hos_satisfy_statis_target',
-        meta: { title: '按目标统计', noCache: true, permit: 'hos_satisfy_statis_target' }
+        name: 'hos_health_statis_target',
+        meta: { title: '按目标统计', noCache: true, permit: 'hos_health_statis_target' }
       }
     ]
   },
 
   {
-    path: '/hos/satisfy/story',
+    path: '/hos/health/story',
     component: Layout,
-    name: 'HosSatisfyStory',
-    redirect: '/hos/satisfy/story/index',
+    name: 'HosHealthStory',
+    redirect: '/hos/health/story/index',
     groupId: [2],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/story'),
-        name: 'hos_satisfy_story',
-        meta: { title: '建设规范', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_satisfy_story' }
+        name: 'hos_health_story',
+        meta: { title: '建设规范', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_health_story' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/instruction',
+    path: '/hos/health/instruction',
     component: Layout,
-    name: 'HosSatisfyInstruction',
-    redirect: '/hos/satisfy/instruction/index',
+    name: 'HosHealthInstruction',
+    redirect: '/hos/health/instruction/index',
     groupId: [2],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/instruction'),
-        name: 'hos_satisfy_instruction',
-        meta: { title: '实施计划', noCache: true, icon: 'el-icon-document', permit: 'hos_satisfy_instruction' }
+        name: 'hos_health_instruction',
+        meta: { title: '实施计划', noCache: true, icon: 'el-icon-document', permit: 'hos_health_instruction' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/task',
+    path: '/hos/health/task',
     component: Layout,
-    name: 'HosSatisfyTask',
-    redirect: '/hos/satisfy/task/index',
+    name: 'HosHealthTask',
+    redirect: '/hos/health/task/index',
     groupId: [3],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/task/index'),
-        name: 'hos_satisfy_task',
-        meta: { title: '工作任务', noCache: true, icon: 'icon-common_satisfaction', permit: 'hos_satisfy_task' }
+        name: 'hos_health_task',
+        meta: { title: '工作任务', noCache: true, icon: 'icon-common_satisfaction', permit: 'hos_health_task' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/news',
+    path: '/hos/health/news',
     component: Layout,
-    name: 'HosSatisfyNews',
-    redirect: '/hos/satisfy/news/index',
+    name: 'HosHealthNews',
+    redirect: '/hos/health/news/index',
     groupId: [3],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/news/index'),
-        name: 'hos_satisfy_news',
-        meta: { title: '最新动态', noCache: true, icon: 'icon-common_knowledge', permit: 'hos_satisfy_news' }
+        name: 'hos_health_news',
+        meta: { title: '最新动态', noCache: true, icon: 'icon-common_knowledge', permit: 'hos_health_news' }
       }
     ]
   },
 
   {
-    path: '/hos/satisfy/assess',
+    path: '/hos/health/assess',
     component: Layout,
-    name: 'HosSatisfyAssess',
-    redirect: '/hos/satisfy/assess/index',
+    name: 'HosHealthAssess',
+    redirect: '/hos/health/assess/index',
     groupId: [4],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/assess'),
-        name: 'hos_satisfy_assess',
-        meta: { title: '成果评价', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_satisfy_assess' }
+        name: 'hos_health_assess',
+        meta: { title: '成果评价', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_health_assess' }
       }
     ]
   },
   {
-    path: '/hos/satisfy/report',
+    path: '/hos/health/report',
     component: Layout,
-    name: 'HosSatisfyReport',
-    redirect: '/hos/satisfy/report/index',
+    name: 'HosHealthReport',
+    redirect: '/hos/health/report/index',
     groupId: [4],
-    meta: { permit: 'hos_satisfy_report' },
+    meta: { permit: 'hos_health_report' },
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/report/index'),
-        name: 'hos_satisfy_report',
-        meta: { title: '评价报告', noCache: true, icon: 'icon-common_file', permit: 'hos_satisfy_report' }
+        name: 'hos_health_report',
+        meta: { title: '评价报告', noCache: true, icon: 'icon-common_file', permit: 'hos_health_report' }
       }
     ]
   },
 
   {
-    path: '/hos/satisfy/doc',
+    path: '/hos/health/doc',
     component: Layout,
-    name: 'HosSatisfyDoc',
-    redirect: '/hos/satisfy/doc/index',
+    name: 'HosHealthDoc',
+    redirect: '/hos/health/doc/index',
     groupId: [5],
     children: [
       {
         path: 'index',
         component: () => import('@/views/hos/doc/index'),
-        name: 'hos_satisfy_doc',
-        meta: { title: '电子文档', noCache: true, icon: 'icon-common_file', permit: 'hos_satisfy_doc' }
+        name: 'hos_health_doc',
+        meta: { title: '电子文档', noCache: true, icon: 'icon-common_file', permit: 'hos_health_doc' }
       }
     ]
   },

+ 3 - 3
src/settings.js

@@ -47,9 +47,9 @@ module.exports = {
   * dev 开发环境
   * pro正式环境
   */
-  appID: '10005',
-  appKey: '82a8bf439373e309',
-  appSecret: '82a8bf439373e309',
+  appID: '10009',
+  appKey: '82a8bf439373e313',
+  appSecret: '82a8bf439373e313',
   permitTplId: 7,
   mqttUrl: 'mqtt://1.15.92.205:8083/mqtt',
   wsServerUrl: {