index.js 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. import Layout from '@/page/index/'
  2. export default [{
  3. path: '/wel',
  4. component: Layout,
  5. redirect: '/wel/index',
  6. children: [{
  7. path: '/certificate/list',
  8. name: '电签列表',
  9. meta: {
  10. i18n: 'ElectricSignaturelist'
  11. },
  12. component: () =>
  13. import ( /* webpackChunkName: "views" */ '@/views/certificate/list')
  14. }, {
  15. path: '/certificate/list/addList',
  16. name: '新增电签',
  17. meta: {
  18. i18n: 'AddATelegram'
  19. },
  20. component: () =>
  21. import ( /* webpackChunkName: "views" */ '@/views/certificate/lists/addList')
  22. },
  23. {
  24. path: '/certificate/management/see',
  25. name: '查看证书',
  26. meta: {
  27. i18n: 'ViewCertificate'
  28. },
  29. component: () =>
  30. import ( /* webpackChunkName: "views" */ '@/views/certificate/managements/see')
  31. },
  32. {
  33. path: '/certificate/management',
  34. name: '电签管理',
  35. meta: {
  36. i18n: 'ElectricitySignManagement'
  37. },
  38. component: () =>
  39. import ( /* webpackChunkName: "views" */ '@/views/certificate/management')
  40. },
  41. {
  42. path: '/AssessmentArea',
  43. name: '考核区',
  44. meta: {
  45. i18n: 'AssessmentArea'
  46. },
  47. component: () =>
  48. import ( /* webpackChunkName: "views" */ '@/views/AssessmentArea/index')
  49. },
  50. {
  51. path: 'index',
  52. name: '首页',
  53. meta: {
  54. i18n: 'dashboard'
  55. },
  56. component: () =>
  57. import ( /* webpackChunkName: "views" */ '@/views/wel/index')
  58. },
  59. {
  60. path: 'dashboard',
  61. name: '控制台',
  62. meta: {
  63. i18n: 'dashboard',
  64. menu: false,
  65. },
  66. component: () =>
  67. import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
  68. },
  69. {
  70. path: '/manager/projectinfo/detail',
  71. name: '项目详情',
  72. meta: {
  73. i18n: 'projectinfodetail',
  74. menu: false,
  75. },
  76. component: () =>
  77. import ( /* webpackChunkName: "views" */ '@/views/manager/projectinfo/detail.vue')
  78. }
  79. ]
  80. }, {
  81. path: '/test',
  82. component: Layout,
  83. redirect: '/test/index',
  84. children: [{
  85. path: 'index',
  86. name: '测试页',
  87. meta: {
  88. i18n: 'test'
  89. },
  90. component: () =>
  91. import ( /* webpackChunkName: "views" */ '@/views/util/test')
  92. }]
  93. }, {
  94. path: '/dict-horizontal',
  95. component: Layout,
  96. redirect: '/dict-horizontal/index',
  97. children: [{
  98. path: 'index',
  99. name: '字典管理',
  100. meta: {
  101. i18n: 'dict'
  102. },
  103. component: () =>
  104. import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
  105. }]
  106. }, {
  107. path: '/dict-vertical',
  108. component: Layout,
  109. redirect: '/dict-vertical/index',
  110. children: [{
  111. path: 'index',
  112. name: '字典管理',
  113. meta: {
  114. i18n: 'dict'
  115. },
  116. component: () =>
  117. import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
  118. }]
  119. }, {
  120. path: '/info',
  121. component: Layout,
  122. redirect: '/info/index',
  123. children: [{
  124. path: 'index',
  125. name: '个人信息',
  126. meta: {
  127. i18n: 'info'
  128. },
  129. component: () =>
  130. import ( /* webpackChunkName: "views" */ '@/views/system/userinfo')
  131. }]
  132. }, {
  133. path: '/work/process/leave',
  134. component: Layout,
  135. redirect: '/work/process/leave/form',
  136. children: [{
  137. path: 'form/:processDefinitionId',
  138. name: '请假流程',
  139. meta: {
  140. i18n: 'work'
  141. },
  142. component: () =>
  143. import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
  144. }, {
  145. path: 'handle/:taskId/:processInstanceId/:businessId',
  146. name: '处理请假流程',
  147. meta: {
  148. i18n: 'work'
  149. },
  150. component: () =>
  151. import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
  152. }, {
  153. path: 'detail/:processInstanceId/:businessId',
  154. name: '请假流程详情',
  155. meta: {
  156. i18n: 'work'
  157. },
  158. component: () =>
  159. import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
  160. }]
  161. }, {
  162. path: '/wbs',
  163. component: Layout,
  164. redirect: '/wbs/edit',
  165. children: [{
  166. path: 'edit/:id',
  167. name: '编辑WBS树',
  168. meta: {
  169. i18n: 'edit',
  170. },
  171. component: () =>
  172. import ( /* webpackChunkName: "views" */ '@/views/manager/wbsinfo/edit')
  173. },
  174. {
  175. path: '/wbs/edit',
  176. name: '编辑WBS树',
  177. meta: {
  178. i18n: 'edit',
  179. },
  180. component: () =>
  181. import ( /* webpackChunkName: "views" */ '@/views/manager/wbsinfo/edit')
  182. },
  183. {
  184. path: '/wbs/element',
  185. name: '元素库',
  186. meta: {
  187. i18n: 'element',
  188. },
  189. component: () =>
  190. import ( /* webpackChunkName: "views" */ '@/views/manager/wbsinfo/element')
  191. },
  192. ]
  193. }, {
  194. path: '/contract',
  195. component: Layout,
  196. redirect: '/contract/detail',
  197. children: [{
  198. path: 'detail',
  199. name: '创建合同段',
  200. meta: {
  201. i18n: 'edit'
  202. },
  203. component: () =>
  204. import ( /* webpackChunkName: "views" */ '@/views/manager/contractinfo/detail')
  205. }]
  206. }, {
  207. path: '/excel',
  208. component: Layout,
  209. redirect: '/excel/excelmodel',
  210. children: [{
  211. path: 'excelmodel/:id',
  212. name: '清表模板',
  213. meta: {
  214. i18n: 'excelmodel'
  215. },
  216. component: () =>
  217. import ( /* webpackChunkName: "views" */ '@/views/exctab/excelmodel/excelmodel')
  218. }]
  219. },
  220. {
  221. path: '/excels',
  222. component: Layout,
  223. redirect: '/excels/ElementIdentification',
  224. children: [{
  225. path: 'ElementIdentification/:id',
  226. name: '元素识别',
  227. meta: {
  228. i18n: 'ElementIdentification'
  229. },
  230. component: () =>
  231. import ( /* webpackChunkName: "views" */ '@/views/exctab/ElementIdentification/index')
  232. }]
  233. },
  234. {
  235. path: '/project',
  236. component: Layout,
  237. redirect: '/project/tree',
  238. children: [{
  239. path: 'tree',
  240. name: '私有WBS',
  241. meta: {
  242. i18n: 'privateTree',
  243. },
  244. component: () =>
  245. import ( /* webpackChunkName: "views" */ '@/views/manager/projectinfo/tree')
  246. },
  247. {
  248. path: 'editElement',
  249. name: '编辑元素',
  250. meta: {
  251. i18n: 'editElement'
  252. },
  253. component: () =>
  254. import ( /* webpackChunkName: "views" */ '@/views/manager/projectinfo/editElement/editElement')
  255. },
  256. {
  257. path: 'independent',
  258. name: '独立表单库',
  259. meta: {
  260. i18n: 'independent'
  261. },
  262. component: () =>
  263. import ( /* webpackChunkName: "views" */ '@/views/manager/projectinfo/independent')
  264. }
  265. ]
  266. }, {
  267. path: '/formula',
  268. component: Layout,
  269. redirect: '/formula/edit',
  270. children: [{
  271. path: 'edit',
  272. name: '编辑公式',
  273. meta: {
  274. i18n: 'formula'
  275. },
  276. component: () =>
  277. import ( /* webpackChunkName: "views" */ '@/views/formula/edit')
  278. },
  279. // {
  280. // path: 'edit2',
  281. // name: '编辑公式',
  282. // meta: {
  283. // i18n: 'formula'
  284. // },
  285. // component: () =>
  286. // import ( /* webpackChunkName: "views" */ '@/views/formula2/edit')
  287. // }
  288. ]
  289. },
  290. {
  291. path: '/tentative',
  292. component: Layout,
  293. redirect: '/tentative/testclassify',
  294. children: [{
  295. path: '/tentative/testclassify',
  296. name: '试验外委/第三方试验分类配置',
  297. meta: {
  298. i18n: 'testclassify'
  299. },
  300. component: () =>
  301. import ( /* webpackChunkName: "views" */ '@/views/tentative/testclassify')
  302. }, {
  303. path: '/tentative/testcollect',
  304. name: '试验台账分类配置',
  305. meta: {
  306. i18n: 'testcollect'
  307. },
  308. component: () =>
  309. import ( /* webpackChunkName: "views" */ '@/views/tentative/testcollect')
  310. }
  311. ]
  312. }
  313. ]