index.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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 '../components/startStopDocuments/SSDCompile.vue'
  8. // 停复役单审批
  9. import SSDApproval from '../components/startStopDocuments/SSDApproval.vue'
  10. // 停复役单查询
  11. import SSDQuery from '../components/startStopDocuments/SSDQuery.vue'
  12. // 运方单编制
  13. import PWODCompile from '../components/powerWaterOperationDocuments/PWODCompile.vue'
  14. // 运方单签收
  15. import PWODSignFor from '../components/powerWaterOperationDocuments/PWODSignFor.vue'
  16. // 运方单执行
  17. import PWODPerform from '../components/powerWaterOperationDocuments/PWODPerform.vue'
  18. // 运方单查询
  19. import PWODQuery from '../components/powerWaterOperationDocuments/PWODQuery.vue'
  20. // 电力运方单编制
  21. import EODCompile from '../components/electricityOperationDocuments/EODCompile.vue'
  22. // 电力运方单签收
  23. import EODSignFor from '../components/electricityOperationDocuments/EODSignFor.vue'
  24. // 电力运方单执行
  25. import EODPerform from '../components/electricityOperationDocuments/EODPerform.vue'
  26. // 电力运方单查询
  27. import EODQuery from '../components/electricityOperationDocuments/EODQuery.vue'
  28. // 预案文档目录管理
  29. import APDocumentDirectory from '../components/accidentPlan/APDocumentDirectory.vue'
  30. // 预案文档管理
  31. import APDocument from '../components/accidentPlan/APDocument.vue'
  32. // 整改单编制
  33. import rectificationCompile from '../components/rectificationPunishmentTube/rectificationCompile.vue'
  34. // 整改单查询
  35. import rectificationQuery from '../components/rectificationPunishmentTube/rectificationQuery.vue'
  36. // 处罚单编制
  37. import punishmentCompile from '../components/rectificationPunishmentTube/punishmentCompile.vue'
  38. // 处罚单查询
  39. import punishmentQuery from '../components/rectificationPunishmentTube/punishmentQuery.vue'
  40. // 能源介质管网变更编制
  41. import tubeCompile from '../components/rectificationPunishmentTube/tubeCompile.vue'
  42. // 能源介质管网变更查询
  43. import tubeQuery from '../components/rectificationPunishmentTube/tubeQuery.vue'
  44. // 安全文件管理
  45. import SecurityFile from '../components/securitys/SecurityFile.vue'
  46. // 安全文件管理
  47. import securitys from '../components/securitys/Securitys.vue'
  48. // 安全文件一览图
  49. import SecurityFilePic from '../components/securitys/SecurityFilePic.vue'
  50. // 安全文件一览图
  51. import pic from '../components/securitys/pic.vue'
  52. // 安全文件一览图
  53. import pic1 from '../components/securitys/pic1.vue'
  54. // 安全文件一览图
  55. import riskDistributionPic from '../components/securitys/riskDistributionPic.vue'
  56. Vue.use(Router)
  57. export default new Router({
  58. routes: [{
  59. path: '/',
  60. name: 'main',
  61. component: main,
  62. redirect: {
  63. name: 'SSDCompile'
  64. },
  65. children: [
  66. {
  67. path: 'SSDCompile',
  68. name: 'SSDCompile',
  69. component: SSDCompile
  70. },
  71. {
  72. path: 'SSDApproval',
  73. name: 'SSDApproval',
  74. component: SSDApproval
  75. },
  76. {
  77. path: 'SSDQuery',
  78. name: 'SSDQuery',
  79. component: SSDQuery
  80. },
  81. {
  82. path: 'PWODCompile',
  83. name: 'PWODCompile',
  84. component: PWODCompile
  85. },
  86. {
  87. path: 'PWODSignFor',
  88. name: 'PWODSignFor',
  89. component: PWODSignFor
  90. },
  91. {
  92. path: 'PWODPerform',
  93. name: 'PWODPerform',
  94. component: PWODPerform
  95. },
  96. {
  97. path: 'PWODQuery',
  98. name: 'PWODQuery',
  99. component: PWODQuery
  100. },
  101. {
  102. path: 'EODCompile',
  103. name: 'EODCompile',
  104. component: EODCompile
  105. },
  106. {
  107. path: 'EODSignFor',
  108. name: 'EODSignFor',
  109. component: EODSignFor
  110. },
  111. {
  112. path: 'EODPerform',
  113. name: 'EODPerform',
  114. component: EODPerform
  115. },
  116. {
  117. path: 'EODQuery',
  118. name: 'EODQuery',
  119. component: EODQuery
  120. },
  121. {
  122. path: 'APDocumentDirectory',
  123. name: 'APDocumentDirectory',
  124. component: APDocumentDirectory
  125. },
  126. {
  127. path: 'APDocument',
  128. name: 'APDocument',
  129. component: APDocument
  130. },
  131. {
  132. path: 'rectificationCompile',
  133. name: 'rectificationCompile',
  134. component: rectificationCompile
  135. },
  136. {
  137. path: 'rectificationQuery',
  138. name: 'rectificationQuery',
  139. component: rectificationQuery
  140. },
  141. {
  142. path: 'punishmentCompile',
  143. name: 'punishmentCompile',
  144. component: punishmentCompile
  145. },
  146. {
  147. path: 'punishmentQuery',
  148. name: 'punishmentQuery',
  149. component: punishmentQuery
  150. },
  151. {
  152. path: 'tubeCompile',
  153. name: 'tubeCompile',
  154. component: tubeCompile
  155. },
  156. {
  157. path: 'tubeQuery',
  158. name: 'tubeQuery',
  159. component: tubeQuery
  160. },
  161. {
  162. path: 'SecurityFile',
  163. name: 'SecurityFile',
  164. component: SecurityFile
  165. },
  166. {
  167. path: 'securitys',
  168. name: 'securitys',
  169. component: securitys
  170. },
  171. {
  172. path: 'SecurityFilePic',
  173. name: 'SecurityFilePic',
  174. component: SecurityFilePic
  175. },
  176. {
  177. path: 'pic',
  178. name: 'pic',
  179. component: pic
  180. },
  181. {
  182. path: 'pic1',
  183. name: 'pic1',
  184. component: pic1
  185. },
  186. {
  187. path: 'riskDistributionPic',
  188. name: 'riskDistributionPic',
  189. component: riskDistributionPic
  190. }
  191. ]
  192. }]
  193. })