index.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import '@/assets/iconfont/iconfont.css'
  4. // 主要
  5. import main from '@/components/main.vue'
  6. // 停复役单编制
  7. import SSDCompile from '@/views/energyOperationSupport/components/startStopDocuments/SSDCompile.vue'
  8. // 停复役单审批
  9. import SSDApproval from '@/views/energyOperationSupport/components/startStopDocuments/SSDApproval.vue'
  10. // 停复役单查询
  11. import SSDQuery from '@/views/energyOperationSupport/components/startStopDocuments/SSDQuery.vue'
  12. // 运方单编制
  13. import PWODCompile from '@/views/energyOperationSupport/components/powerWaterOperationDocuments/PWODCompile.vue'
  14. // 运方单签收
  15. import PWODSignFor from '@/views/energyOperationSupport/components/powerWaterOperationDocuments/PWODSignFor.vue'
  16. // 运方单执行
  17. import PWODPerform from '@/views/energyOperationSupport/components/powerWaterOperationDocuments/PWODPerform.vue'
  18. // 运方单查询
  19. import PWODQuery from '@/views/energyOperationSupport/components/powerWaterOperationDocuments/PWODQuery.vue'
  20. // 电力运方单编制
  21. import EODCompile from '@/views/energyOperationSupport/components/electricityOperationDocuments/EODCompile.vue'
  22. // 电力运方单签收
  23. import EODSignFor from '@/views/energyOperationSupport/components/electricityOperationDocuments/EODSignFor.vue'
  24. // 电力运方单执行
  25. import EODPerform from '@/views/energyOperationSupport/components/electricityOperationDocuments/EODPerform.vue'
  26. // 电力运方单查询
  27. import EODQuery from '@/views/energyOperationSupport/components/electricityOperationDocuments/EODQuery.vue'
  28. // 预案文档目录管理
  29. import APDocumentDirectory from '@/views/energyOperationSupport/components/accidentPlan/APDocumentDirectory.vue'
  30. // 预案文档管理
  31. import APDocument from '@/views/energyOperationSupport/components/accidentPlan/APDocument.vue'
  32. // 整改单编制
  33. import rectificationCompile from '@/views/energyOperationSupport/components/rectificationPunishmentTube/rectificationCompile.vue'
  34. // 整改单查询
  35. import rectificationQuery from '@/views/energyOperationSupport/components/rectificationPunishmentTube/rectificationQuery.vue'
  36. // 处罚单编制
  37. import punishmentCompile from '@/views/energyOperationSupport/components/rectificationPunishmentTube/punishmentCompile.vue'
  38. // 处罚单查询
  39. import punishmentQuery from '@/views/energyOperationSupport/components/rectificationPunishmentTube/punishmentQuery.vue'
  40. // 能源介质管网变更编制
  41. import tubeCompile from '@/views/energyOperationSupport/components/rectificationPunishmentTube/tubeCompile.vue'
  42. // 能源介质管网变更查询
  43. import tubeQuery from '@/views/energyOperationSupport/components/rectificationPunishmentTube/tubeQuery.vue'
  44. // 安全文件管理
  45. import SecurityFile from '@/views/energyOperationSupport/components/securitys/SecurityFile.vue'
  46. Vue.use(Router)
  47. export default new Router({
  48. routes: [{
  49. path: '/',
  50. name: 'main',
  51. component: main,
  52. redirect: {
  53. name: 'SSDCompile'
  54. },
  55. children: [
  56. {
  57. path: 'SSDCompile',
  58. name: 'SSDCompile',
  59. component: SSDCompile
  60. },
  61. {
  62. path: 'SSDApproval',
  63. name: 'SSDApproval',
  64. component: SSDApproval
  65. },
  66. {
  67. path: 'SSDQuery',
  68. name: 'SSDQuery',
  69. component: SSDQuery
  70. },
  71. {
  72. path: 'PWODCompile',
  73. name: 'PWODCompile',
  74. component: PWODCompile
  75. },
  76. {
  77. path: 'PWODSignFor',
  78. name: 'PWODSignFor',
  79. component: PWODSignFor
  80. },
  81. {
  82. path: 'PWODPerform',
  83. name: 'PWODPerform',
  84. component: PWODPerform
  85. },
  86. {
  87. path: 'PWODQuery',
  88. name: 'PWODQuery',
  89. component: PWODQuery
  90. },
  91. {
  92. path: 'EODCompile',
  93. name: 'EODCompile',
  94. component: EODCompile
  95. },
  96. {
  97. path: 'EODSignFor',
  98. name: 'EODSignFor',
  99. component: EODSignFor
  100. },
  101. {
  102. path: 'EODPerform',
  103. name: 'EODPerform',
  104. component: EODPerform
  105. },
  106. {
  107. path: 'EODQuery',
  108. name: 'EODQuery',
  109. component: EODQuery
  110. },
  111. {
  112. path: 'APDocumentDirectory',
  113. name: 'APDocumentDirectory',
  114. component: APDocumentDirectory
  115. },
  116. {
  117. path: 'APDocument',
  118. name: 'APDocument',
  119. component: APDocument
  120. },
  121. {
  122. path: 'rectificationCompile',
  123. name: 'rectificationCompile',
  124. component: rectificationCompile
  125. },
  126. {
  127. path: 'rectificationQuery',
  128. name: 'rectificationQuery',
  129. component: rectificationQuery
  130. },
  131. {
  132. path: 'punishmentCompile',
  133. name: 'punishmentCompile',
  134. component: punishmentCompile
  135. },
  136. {
  137. path: 'punishmentQuery',
  138. name: 'punishmentQuery',
  139. component: punishmentQuery
  140. },
  141. {
  142. path: 'tubeCompile',
  143. name: 'tubeCompile',
  144. component: tubeCompile
  145. },
  146. {
  147. path: 'tubeQuery',
  148. name: 'tubeQuery',
  149. component: tubeQuery
  150. },
  151. {
  152. path: 'SecurityFile',
  153. name: 'SecurityFile',
  154. component: SecurityFile
  155. }
  156. ]
  157. }]
  158. })