csat.js 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. import Layout from '@/layout/index'
  2. const csatRouter = [
  3. {
  4. path: '/',
  5. component: Layout,
  6. name: 'HosSatisfyOverview',
  7. redirect: '/hos/satisfy/overview',
  8. groupId: [0],
  9. children: [
  10. {
  11. path: '/hos/satisfy/overview',
  12. component: () => import('@/views/hos/overview'),
  13. name: 'hos_satisfy_overview',
  14. meta: { title: '数据总览', noCache: true, icon: 'icon-common_panorama1', permit: 'hos_satisfy_overview' }
  15. }
  16. ]
  17. },
  18. {
  19. path: '/hos/satisfy/panorama',
  20. component: Layout,
  21. name: 'HosSatisfyPanorama',
  22. redirect: '/hos/satisfy/monitor/overview',
  23. groupId: [1],
  24. children: [
  25. {
  26. path: '/hos/satisfy/monitor/overview',
  27. component: () => import('@/views/hos/panorama'),
  28. name: 'hos_satisfy_panorama',
  29. meta: { title: '数字全景', noCache: true, icon: 'icon-common_panorama1', permit: 'hos_satisfy_panorama' }
  30. }
  31. ]
  32. },
  33. {
  34. path: '/hos/satisfy/data',
  35. component: Layout,
  36. name: 'HosSatisfyData',
  37. redirect: '/hos/satisfy/data/index',
  38. groupId: [1],
  39. meta: {
  40. title: '监测数据',
  41. icon: 'el-icon-c-scale-to-original',
  42. permit: 'hos_wx_user'
  43. },
  44. children: [
  45. {
  46. path: 'wx',
  47. component: () => import('@/views/system/customer/wx/index'),
  48. name: 'hos_wx_user',
  49. meta: { title: '微信用户', noCache: true, permit: 'hos_wx_user' }
  50. },
  51. {
  52. path: 'index',
  53. component: () => import('@/views/hos/record/index'),
  54. name: 'hos_satisfy_data',
  55. meta: { title: '评价记录', noCache: true, permit: 'hos_satisfy_data' }
  56. }
  57. ]
  58. },
  59. {
  60. path: '/hos/satisfy/statis',
  61. component: Layout,
  62. name: 'HosSatisfyStatis',
  63. redirect: '/hos/satisfy/statis/year',
  64. groupId: [1],
  65. meta: {
  66. title: '统计分析',
  67. icon: 'el-icon-s-data',
  68. permit: 'hos_satisfy_statis'
  69. },
  70. children: [
  71. {
  72. path: 'group',
  73. component: () => import('@/views/hos/statis/group/index'),
  74. name: 'hos_satisfy_statis_group',
  75. meta: { title: '部门排名', noCache: true, permit: 'hos_satisfy_statis_group' }
  76. },
  77. {
  78. path: 'doctor',
  79. component: () => import('@/views/hos/statis/doctor/index'),
  80. name: 'hos_satisfy_statis_doctor',
  81. meta: { title: '医生排名', noCache: true, permit: 'hos_satisfy_statis_doctor' }
  82. },
  83. {
  84. path: 'grid',
  85. component: () => import('@/views/hos/statis/grid/index'),
  86. name: 'hos_satisfy_statis_grid',
  87. meta: { title: '科室排名', noCache: true, permit: 'hos_satisfy_statis_grid' }
  88. },
  89. {
  90. path: 'year',
  91. component: () => import('@/views/hos/statis/year/index'),
  92. name: 'hos_satisfy_statis_year',
  93. meta: { title: '按年统计', noCache: true, permit: 'hos_satisfy_statis_year' }
  94. },
  95. {
  96. path: 'month',
  97. component: () => import('@/views/hos/statis/month/index'),
  98. name: 'hos_satisfy_statis_month',
  99. meta: { title: '按月统计', noCache: true, permit: 'hos_satisfy_statis_month' }
  100. },
  101. {
  102. path: 'checklist',
  103. component: () => import('@/views/hos/statis/checklist/index'),
  104. name: 'hos_satisfy_statis_checklist',
  105. meta: { title: '按清单统计', noCache: true, permit: 'hos_satisfy_statis_checklist' }
  106. }
  107. ]
  108. },
  109. {
  110. path: '/hos/satisfy/story',
  111. component: Layout,
  112. name: 'HosSatisfyStory',
  113. redirect: '/hos/satisfy/story/index',
  114. groupId: [2],
  115. children: [
  116. {
  117. path: 'index',
  118. component: () => import('@/views/hos/story'),
  119. name: 'hos_satisfy_story',
  120. meta: { title: '建设规范', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_satisfy_story' }
  121. }
  122. ]
  123. },
  124. {
  125. path: '/hos/satisfy/instruction',
  126. component: Layout,
  127. name: 'HosSatisfyInstruction',
  128. redirect: '/hos/satisfy/instruction/index',
  129. groupId: [2],
  130. children: [
  131. {
  132. path: 'index',
  133. component: () => import('@/views/hos/instruction'),
  134. name: 'hos_satisfy_instruction',
  135. meta: { title: '实施计划', noCache: true, icon: 'el-icon-document', permit: 'hos_satisfy_instruction' }
  136. }
  137. ]
  138. },
  139. {
  140. path: '/hos/satisfy/task',
  141. component: Layout,
  142. name: 'HosSatisfyTask',
  143. redirect: '/hos/satisfy/task/index',
  144. groupId: [3],
  145. children: [
  146. {
  147. path: 'index',
  148. component: () => import('@/views/hos/task/index'),
  149. name: 'hos_satisfy_task',
  150. meta: { title: '工作任务', noCache: true, icon: 'icon-common_satisfaction', permit: 'hos_satisfy_task' }
  151. }
  152. ]
  153. },
  154. {
  155. path: '/hos/satisfy/news',
  156. component: Layout,
  157. name: 'HosSatisfyNews',
  158. redirect: '/hos/satisfy/news/index',
  159. groupId: [3],
  160. children: [
  161. {
  162. path: 'index',
  163. component: () => import('@/views/hos/news/index'),
  164. name: 'hos_satisfy_news',
  165. meta: { title: '最新动态', noCache: true, icon: 'icon-common_knowledge', permit: 'hos_satisfy_news' }
  166. }
  167. ]
  168. },
  169. {
  170. path: '/hos/satisfy/assess',
  171. component: Layout,
  172. name: 'HosSatisfyAssess',
  173. redirect: '/hos/satisfy/assess/index',
  174. groupId: [4],
  175. children: [
  176. {
  177. path: 'index',
  178. component: () => import('@/views/hos/assess'),
  179. name: 'hos_satisfy_assess',
  180. meta: { title: '成果评价', noCache: true, icon: 'icon-common_evaluate', permit: 'hos_satisfy_assess' }
  181. }
  182. ]
  183. },
  184. {
  185. path: '/hos/satisfy/report',
  186. component: Layout,
  187. name: 'HosSatisfyReport',
  188. redirect: '/hos/satisfy/report/index',
  189. groupId: [4],
  190. meta: { permit: 'hos_satisfy_report' },
  191. children: [
  192. {
  193. path: 'index',
  194. component: () => import('@/views/hos/report/index'),
  195. name: 'hos_satisfy_report',
  196. meta: { title: '评价报告', noCache: true, icon: 'icon-common_file', permit: 'hos_satisfy_report' }
  197. }
  198. ]
  199. },
  200. {
  201. path: '/hos/satisfy/doc',
  202. component: Layout,
  203. name: 'HosSatisfyDoc',
  204. redirect: '/hos/satisfy/doc/index',
  205. groupId: [5],
  206. children: [
  207. {
  208. path: 'index',
  209. component: () => import('@/views/hos/doc/index'),
  210. name: 'hos_satisfy_doc',
  211. meta: { title: '电子文档', noCache: true, icon: 'icon-common_file', permit: 'hos_satisfy_doc' }
  212. }
  213. ]
  214. },
  215. {
  216. path: '/hos/baseConfig',
  217. component: Layout,
  218. name: 'HosChecklist',
  219. redirect: '/hos/checklist',
  220. groupId: [6],
  221. meta: {
  222. title: '基础配置',
  223. icon: 'el-icon-postcard',
  224. permit: 'hos_checklist'
  225. },
  226. children: [
  227. {
  228. path: '/hos/checklist',
  229. component: () => import('@/views/system/checklist/index'),
  230. name: 'hos_checklist',
  231. meta: { title: '清单管理', noCache: true, permit: 'hos_checklist' }
  232. },
  233. {
  234. path: 'doctor',
  235. component: () => import('@/views/hos/doctor/index'),
  236. name: 'hos_doctor',
  237. meta: { title: '医生管理', noCache: true, permit: 'hos_doctor' }
  238. },
  239. {
  240. path: 'grid',
  241. component: () => import('@/views/system/grid'),
  242. name: 'hos_grid',
  243. meta: { title: '网格管理', noCache: true, permit: 'hos_grid' }
  244. }
  245. ]
  246. },
  247. {
  248. path: '/hos',
  249. component: Layout,
  250. redirect: '/hos/profile',
  251. name: 'hos_setting',
  252. groupId: [7],
  253. meta: {
  254. title: '系统管理',
  255. icon: 'icon-common_digitization',
  256. permit: 'hos_setting'
  257. },
  258. children: [
  259. {
  260. path: 'profile',
  261. component: () => import('@/views/hos/profile/index'),
  262. name: 'hos_setting_profile',
  263. meta: { title: '医院信息', noCache: true, permit: 'hos_setting_profile' }
  264. },
  265. {
  266. path: 'account',
  267. component: () => import('@/views/system/group/index'),
  268. name: 'hos_setting_group_user',
  269. meta: { title: '帐号管理', noCache: true, permit: 'hos_setting_group_user' }
  270. },
  271. {
  272. path: 'position',
  273. component: () => import('@/views/system/position/index'),
  274. name: 'hos_setting_position',
  275. meta: { title: '岗位管理', noCache: true, permit: 'hos_setting_position' }
  276. },
  277. {
  278. path: 'taskCat',
  279. component: () => import('@/views/system/setting/taskCat/index'),
  280. name: 'hos_setting_task_cat',
  281. meta: { title: '任务类别', noCache: true, permit: 'hos_setting_task_cat' }
  282. },
  283. {
  284. path: 'groupCat',
  285. component: () => import('@/views/system/setting/groupCat/index'),
  286. name: 'hos_setting_group_cat',
  287. meta: { title: '部门类别', noCache: true, permit: 'hos_setting_group_cat' }
  288. },
  289. {
  290. path: 'checklistCat',
  291. component: () => import('@/views/system/setting/checklistCat/index'),
  292. name: 'hos_setting_checklist_cat',
  293. meta: { title: '清单类别', noCache: true, permit: 'hos_setting_checklist_cat' }
  294. },
  295. {
  296. path: 'params',
  297. component: () => import('@/views/system/setting/params/index'),
  298. name: 'hos_setting_params',
  299. meta: { title: '基础配置', noCache: true, permit: 'hos_setting_params' }
  300. }
  301. ]
  302. },
  303. {
  304. path: '/hos/help',
  305. component: Layout,
  306. name: 'HosHelp',
  307. redirect: '/hos/help/index',
  308. groupId: [7],
  309. meta: { permit: 'hos_help' },
  310. children: [
  311. {
  312. path: 'index',
  313. component: () => import('@/views/hos/help/index'),
  314. name: 'hos_help',
  315. meta: { title: '帮助文档', noCache: true, icon: 'icon-common_file', permit: 'hos_help' }
  316. }
  317. ]
  318. }
  319. ]
  320. export default csatRouter