openatc-components 0.5.17 → 0.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +31 -31
  5. package/.postcssrc.js +10 -10
  6. package/README.md +30 -30
  7. package/build/build.js +41 -41
  8. package/build/check-versions.js +54 -54
  9. package/build/package.config.js +58 -58
  10. package/build/package.dev.config.js +107 -107
  11. package/build/package.prod.config.js +160 -160
  12. package/build/utils.js +101 -101
  13. package/build/vue-loader.conf.js +22 -22
  14. package/build/webpack.base.conf.js +120 -120
  15. package/build/webpack.dev.conf.js +95 -95
  16. package/build/webpack.prod.conf.js +149 -149
  17. package/config/prod.env.js +5 -5
  18. package/config/test.env.js +7 -7
  19. package/index.html +12 -12
  20. package/package/kisscomps/components/Channelization/Channelization.vue +585 -585
  21. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  22. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  23. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  24. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  25. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  26. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  27. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  28. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  29. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  30. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  31. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  32. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  33. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  36. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  37. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  38. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  39. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  56. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  57. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  58. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  59. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  60. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  61. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  62. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  63. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  64. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  65. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  66. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  67. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  68. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  88. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  89. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  90. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  91. package/package/kisscomps/components/KanBan/kanban.vue +231 -231
  92. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  93. package/package/kisscomps/components/OptimizeKanban/index.js +2 -0
  94. package/package/kisscomps/components/OptimizeKanban/index.vue +369 -0
  95. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  96. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  97. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  98. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  99. package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  100. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  101. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  102. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  103. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  104. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  105. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  106. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  107. package/package/kisscomps/components/PhasePedSelect/index.vue +206 -206
  108. package/package/kisscomps/components/RcpRightPanel/index.vue +4 -0
  109. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  110. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  111. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  112. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  113. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  114. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  115. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  116. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  117. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  118. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  119. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  120. package/package/kisscomps/components/SelectGBCrossStage/index.vue +5 -0
  121. package/package/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  122. package/package/kisscomps/components/StageOptimize/index.js +2 -2
  123. package/package/kisscomps/components/StageOptimize/index.vue +310 -0
  124. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  125. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  126. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  127. package/package/kisscomps/components/XiaoKanban/index.vue +122 -122
  128. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  129. package/package/kisscomps/components/patternConfig/planContent.vue +604 -604
  130. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  131. package/package/kissui.min.js +1 -1
  132. package/package.json +1 -1
  133. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  134. package/src/EdgeMgr/controller/crossDiagramMgr.js +125 -125
  135. package/src/api/authapi.js +31 -31
  136. package/src/api/config.js +21 -21
  137. package/src/api/control.js +110 -110
  138. package/src/api/device.js +135 -135
  139. package/src/api/fault.js +66 -66
  140. package/src/api/index.js +24 -24
  141. package/src/api/login.js +46 -46
  142. package/src/api/optimize.js +72 -72
  143. package/src/api/passwdAssest.js +101 -101
  144. package/src/api/permission.js +33 -33
  145. package/src/api/route.js +171 -171
  146. package/src/assets/font/LICENSE.txt +202 -202
  147. package/src/assets/font/font.css +6 -6
  148. package/src/i18n/index.js +26 -26
  149. package/src/i18n/language/ru.js +874 -882
  150. package/src/icons/index.js +20 -20
  151. package/src/icons/svg/azimuthlocking.svg +26 -26
  152. package/src/icons/svg/bendi.svg +110 -110
  153. package/src/icons/svg/bujin.svg +36 -36
  154. package/src/icons/svg/connectBlue.svg +7 -7
  155. package/src/icons/svg/currentvolume.svg +0 -0
  156. package/src/icons/svg/custom-BRTlane.svg +40 -40
  157. package/src/icons/svg/custom-buslane.svg +40 -40
  158. package/src/icons/svg/custom-detector.svg +12 -12
  159. package/src/icons/svg/custom-east-bottom.svg +32 -32
  160. package/src/icons/svg/custom-east-top.svg +32 -32
  161. package/src/icons/svg/custom-ewped.svg +35 -35
  162. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  163. package/src/icons/svg/custom-north-left.svg +32 -32
  164. package/src/icons/svg/custom-north-right.svg +32 -32
  165. package/src/icons/svg/custom-peddetector.svg +17 -17
  166. package/src/icons/svg/custom-snped.svg +35 -35
  167. package/src/icons/svg/custom-south-left.svg +32 -32
  168. package/src/icons/svg/custom-south-right.svg +32 -32
  169. package/src/icons/svg/custom-tramlane.svg +40 -40
  170. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  171. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  172. package/src/icons/svg/custom-west-bottom.svg +32 -32
  173. package/src/icons/svg/custom-west-top.svg +32 -32
  174. package/src/icons/svg/custom-xlped.svg +14 -14
  175. package/src/icons/svg/custom-xrped.svg +14 -14
  176. package/src/icons/svg/cutRed.svg +7 -7
  177. package/src/icons/svg/cycle.svg +0 -0
  178. package/src/icons/svg/dingzhouqi.svg +34 -34
  179. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  180. package/src/icons/svg/guandeng.svg +81 -81
  181. package/src/icons/svg/huangshan.svg +71 -71
  182. package/src/icons/svg/maincontrol.svg +0 -0
  183. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  184. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  185. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  186. package/src/icons/svg/model.svg +0 -0
  187. package/src/icons/svg/phasediff.svg +0 -0
  188. package/src/icons/svg/prioritycontrol.svg +21 -21
  189. package/src/icons/svg/quanhong.svg +86 -86
  190. package/src/icons/svg/shanghe.svg +11 -11
  191. package/src/icons/svg/shoudong.svg +103 -103
  192. package/src/icons/svg/tentativeplan.svg +28 -28
  193. package/src/icons/svg/time.svg +0 -0
  194. package/src/icons/svg/wuxianlan.svg +46 -46
  195. package/src/icons/svg/xiala.svg +11 -11
  196. package/src/icons/svg/xingrenguojie.svg +33 -33
  197. package/src/icons/svg/xitong.svg +89 -89
  198. package/src/icons/svg/youxian.svg +41 -41
  199. package/src/icons/svg/zizhukongzhi.svg +43 -43
  200. package/src/kisscomps/components/Channelization/Channelization.vue +585 -585
  201. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  202. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  203. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  204. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  205. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  206. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  207. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  208. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  209. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  210. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  211. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  212. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  213. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  214. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  215. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  216. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  217. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  218. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  219. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  220. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  221. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  222. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  223. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  224. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  225. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  226. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  227. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  228. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  229. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  230. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  231. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  232. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  233. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  234. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  235. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  236. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  237. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  238. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  239. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  240. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  241. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  242. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  243. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  244. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  245. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  246. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  247. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  248. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  249. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  250. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  251. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  252. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  253. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  254. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  255. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  256. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  257. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  258. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  259. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  260. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  261. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  262. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  263. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  264. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  265. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  266. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  267. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  268. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  269. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  270. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  271. package/src/kisscomps/components/KanBan/kanban.vue +231 -231
  272. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  273. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  274. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  275. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  276. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  277. package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  278. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  279. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  280. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  281. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  282. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  283. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  284. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  285. package/src/kisscomps/components/PhasePedSelect/index.vue +206 -206
  286. package/src/kisscomps/components/RcpRightPanel/index.vue +4 -0
  287. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  288. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  289. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  290. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  291. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  292. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  293. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  294. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  295. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  296. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  297. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  298. package/src/kisscomps/components/SelectGBCrossStage/index.vue +5 -0
  299. package/src/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  300. package/src/kisscomps/components/StageOptimize/index.js +2 -2
  301. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  302. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  303. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  304. package/src/kisscomps/components/XiaoKanban/index.vue +122 -122
  305. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  306. package/src/kisscomps/components/patternConfig/planContent.vue +604 -604
  307. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  308. package/src/lib/publicjs/ArryListUtil.js +38 -38
  309. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  310. package/src/lib/publicjs/KissApi.js +158 -158
  311. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  312. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  313. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  314. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  315. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  316. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  317. package/src/lib/publicjs/basecomponents.js +65 -65
  318. package/src/lib/publicjs/localStorage.js +112 -112
  319. package/src/lib/publicjs/objdeepcopy.js +32 -32
  320. package/src/lib/publicjs/pageScroll.js +30 -30
  321. package/src/lib/publicjs/passwdAssest.js +101 -101
  322. package/src/lib/publicjs/styleclassfactory.js +32 -32
  323. package/src/node_modules/.package_versions.json +1 -0
  324. package/src/store/index.js +26 -26
  325. package/src/store/modules/globalParam.js +67 -67
  326. package/src/utils/RingDataModel.js +335 -335
  327. package/src/utils/conflictList.js +87 -87
  328. package/src/utils/dateFormat.js +41 -41
  329. package/src/utils/index.js +69 -69
  330. package/src/utils/phaseList.js +203 -203
  331. package/src/utils/validate.js +43 -43
  332. package/src/views/home.1.vue +479 -479
  333. package/src/views/home.vue +93 -93
  334. package/src/views/intersection2.vue +328 -328
  335. package/src/views/overView.vue +63 -63
  336. package/static/styles/channelizatioon.scss +433 -433
  337. package/static/styles/common.scss +30 -30
  338. package/static/styles/commonkanban.scss +168 -168
  339. package/static/styles/dark/index.scss +2 -2
  340. package/static/styles/dark/theme/element-dark.scss +44 -44
  341. package/static/styles/index.scss +84 -84
  342. package/static/styles/intersection.scss +180 -180
  343. package/static/styles/light/index.scss +2 -2
  344. package/static/styles/light/theme/element-light.scss +44 -44
  345. package/static/styles/patternConfig.scss +56 -56
  346. package/static/styles/phasePedSelect.scss +71 -71
  347. package/static/styles/stages.scss +57 -57
  348. package/static/styles/xiaokanban.scss +61 -61
  349. package/static/token.json +2 -2
  350. package/test/e2e/custom-assertions/elementCount.js +27 -27
  351. package/test/e2e/nightwatch.conf.js +46 -46
  352. package/test/e2e/runner.js +48 -48
  353. package/test/e2e/specs/test.js +19 -19
  354. package/test/unit/.eslintrc +7 -7
  355. package/test/unit/jest.conf.js +30 -30
  356. package/test/unit/setup.js +3 -3
  357. package/test/unit/specs/HelloWorld.spec.js +11 -11
  358. package/package/kissui.js +0 -216608
  359. package/pnpm-lock.yaml +0 -16362
@@ -1,423 +1,423 @@
1
- /* eslint-disable no-tabs */
2
- /**
3
- * Copyright (c) 2020 kedacom
4
- * OpenATC is licensed under Mulan PSL v2.
5
- * You can use this software according to the terms and conditions of the Mulan PSL v2.
6
- * You may obtain a copy of Mulan PSL v2 at:
7
- * http://license.coscl.org.cn/MulanPSL2
8
- * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
9
- * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
10
- * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
11
- * See the Mulan PSL v2 for more details.
12
- **/
13
- <template>
14
- <div :style="{position: 'absolute'}">
15
- <!-- , left: Data.left?Data.left:'2px', top: Data.top -->
16
- <svg
17
- :width="Width"
18
- :height="Height"
19
- version="1.1"
20
- id="图层_1"
21
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
22
- viewBox="0 0 34 34"
23
- style="enable-background:new 0 0 34 34;"
24
- xml:space="preserve">
25
- <g id="路段行人过街-东西"
26
- :class="status[0].isshow? '' : 'invisible'">
27
- <rect x="19.9" y="14.2" class="st1" width="1.6" height="5.6"/>
28
- <rect x="17.4" y="14.2" class="st1" width="1.6" height="5.6"/>
29
- <rect x="22.4" y="14.2" class="st1" width="1.6" height="5.6"/>
30
- <rect x="24.9" y="14.2" class="st1" width="1.6" height="5.6"/>
31
- <rect x="27.4" y="14.2" class="st1" width="1.6" height="5.6"/>
32
- <rect x="29.9" y="14.2" class="st1" width="1.6" height="5.6"/>
33
- <rect x="32.4" y="14.2" class="st1" width="1.6" height="5.6"/>
34
- <rect x="7.5" y="14.2" class="st1" width="1.6" height="5.6"/>
35
- <rect x="5" y="14.2" class="st1" width="1.6" height="5.6"/>
36
- <rect x="2.5" y="14.2" class="st1" width="1.6" height="5.6"/>
37
- <rect x="0" y="14.2" class="st1" width="1.6" height="5.6"/>
38
- <rect x="10" y="14.2" class="st1" width="1.6" height="5.6"/>
39
- <rect x="12.5" y="14.2" class="st1" width="1.6" height="5.6"/>
40
- <rect x="14.9" y="14.2" class="st1" width="1.6" height="5.6"/>
41
- </g>
42
- <g id="路段行人过街-南北" class="st0"
43
- :class="status[1].isshow? '' : 'invisible'">
44
- >
45
- <rect x="14.2" y="19.9" class="st1" width="5.6" height="1.6"/>
46
- <rect x="14.2" y="17.4" class="st1" width="5.6" height="1.6"/>
47
- <rect x="14.2" y="22.4" class="st1" width="5.6" height="1.6"/>
48
- <rect x="14.2" y="24.9" class="st1" width="5.6" height="1.6"/>
49
- <rect x="14.2" y="27.4" class="st1" width="5.6" height="1.6"/>
50
- <rect x="14.2" y="29.9" class="st1" width="5.6" height="1.6"/>
51
- <rect x="14.2" y="32.4" class="st1" width="5.6" height="1.6"/>
52
- <rect x="14.2" y="7.5" class="st1" width="5.6" height="1.6"/>
53
- <rect x="14.2" y="5" class="st1" width="5.6" height="1.6"/>
54
- <rect x="14.2" y="2.5" class="st1" width="5.6" height="1.6"/>
55
- <rect x="14.2" y="0" class="st1" width="5.6" height="1.6"/>
56
- <rect x="14.2" y="10" class="st1" width="5.6" height="1.6"/>
57
- <rect x="14.2" y="12.5" class="st1" width="5.6" height="1.6"/>
58
- <rect x="14.2" y="14.9" class="st1" width="5.6" height="1.6"/>
59
- </g>
60
- <g id="斜向行人1" class="st0"
61
- :class="status[2].isshow? '' : 'invisible'">
62
- >
63
- <rect x="14.2" y="16.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0438 17.0053)" class="st1" width="5.6" height="1.6"/>
64
- <rect x="12.4" y="14.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.3149 15.2456)" class="st1" width="5.6" height="1.6"/>
65
- <rect x="15.9" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.7727 18.7651)" class="st1" width="5.6" height="1.6"/>
66
- <rect x="17.7" y="19.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.5017 20.5248)" class="st1" width="5.6" height="1.6"/>
67
- <rect x="19.5" y="21.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.2306 22.2845)" class="st1" width="5.6" height="1.6"/>
68
- <rect x="21.2" y="23.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.9595 24.0443)" class="st1" width="5.6" height="1.6"/>
69
- <rect x="23" y="25" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.6884 25.804)" class="st1" width="5.6" height="1.6"/>
70
- <rect x="24.7" y="26.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.4128 27.5531)" class="st1" width="5.6" height="1.6"/>
71
- <rect x="26.5" y="28.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.1418 29.3128)" class="st1" width="5.6" height="1.6"/>
72
- <rect x="28.3" y="30.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.8707 31.0725)" class="st1" width="5.6" height="1.6"/>
73
- <rect x="5.4" y="7.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.3993 8.2067)" class="st1" width="5.6" height="1.6"/>
74
- <rect x="3.6" y="5.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.6704 6.4469)" class="st1" width="5.6" height="1.6"/>
75
- <rect x="1.9" y="3.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.9415 4.6872)" class="st1" width="5.6" height="1.6"/>
76
- <rect x="0.1" y="2.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.2126 2.9275)" class="st1" width="5.6" height="1.6"/>
77
- <rect x="7.1" y="9.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.1282 9.9664)" class="st1" width="5.6" height="1.6"/>
78
- <rect x="8.9" y="10.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.8571 11.7261)" class="st1" width="5.6" height="1.6"/>
79
- <rect x="10.7" y="12.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.586 13.4859)" class="st1" width="5.6" height="1.6"/>
80
- </g>
81
- <g id="斜向行人2" class="st0"
82
- :class="status[3].isshow? '' : 'invisible'"
83
- >
84
- <rect x="16.2" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.047 16.9978)" class="st1" width="1.6" height="5.6"/>
85
- <rect x="17.9" y="12.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.2872 17.7267)" class="st1" width="1.6" height="5.6"/>
86
- <rect x="14.4" y="15.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.8067 16.2689)" class="st1" width="1.6" height="5.6"/>
87
- <rect x="12.7" y="17.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.5664 15.54)" class="st1" width="1.6" height="5.6"/>
88
-
89
- <rect x="10.9" y="19.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.3262 14.8111)" class="st1" width="1.6" height="5.6"/>
90
- <rect x="9.1" y="21.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.0859 14.0822)" class="st1" width="1.6" height="5.6"/>
91
- <rect x="7.4" y="23" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.8456 13.3533)" class="st1" width="1.6" height="5.6"/>
92
- <rect x="5.6" y="24.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.5947 12.6288)" class="st1" width="1.6" height="5.6"/>
93
- <rect x="3.9" y="26.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.3544 11.8999)" class="st1" width="1.6" height="5.6"/>
94
- <rect x="2.1" y="28.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.1142 11.171)" class="st1" width="1.6" height="5.6"/>
95
- <rect x="25" y="5.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.7517 20.6423)" class="st1" width="1.6" height="5.6"/>
96
- <rect x="26.7" y="3.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.5114 21.3712)" class="st1" width="1.6" height="5.6"/>
97
- <rect x="28.5" y="1.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 5.2712 22.1001)" class="st1" width="1.6" height="5.6"/>
98
- <rect x="30.3" y="0.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 7.0309 22.829)" class="st1" width="1.6" height="5.6"/>
99
-
100
- <rect x="23.2" y="7.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.040609e-03 19.9134)" class="st1" width="1.6" height="5.6"/>
101
- <rect x="21.5" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.7678 19.1845)" class="st1" width="1.6" height="5.6"/>
102
- <rect x="19.7" y="10.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.5275 18.4556)" class="st1" width="1.6" height="5.6"/>
103
- </g>
104
- <g id="北行人"
105
- :class="status[4].isshow? '' : 'invisible'"
106
- class="st0">
107
- <rect x="19.9" class="st1" width="1.6" height="5.6"/>
108
- <rect x="17.4" class="st1" width="1.6" height="5.6"/>
109
- <rect x="22.4" class="st1" width="1.6" height="5.6"/>
110
- <rect x="24.9" class="st1" width="1.6" height="5.6"/>
111
- <rect x="27.4" class="st1" width="1.6" height="5.6"/>
112
- <rect x="29.9" class="st1" width="1.6" height="5.6"/>
113
- <rect x="32.4" class="st1" width="1.6" height="5.6"/>
114
- <rect x="7.5" class="st1" width="1.6" height="5.6"/>
115
- <rect x="5" class="st1" width="1.6" height="5.6"/>
116
- <rect x="2.5" class="st1" width="1.6" height="5.6"/>
117
- <rect x="0" class="st1" width="1.6" height="5.6"/>
118
- <rect x="10" class="st1" width="1.6" height="5.6"/>
119
- <rect x="12.5" class="st1" width="1.6" height="5.6"/>
120
- <rect x="14.9" class="st1" width="1.6" height="5.6"/>
121
- </g>
122
- <g id="南行人"
123
- :class="status[5].isshow? '' : 'invisible'"
124
- class="st0">
125
- <rect x="19.9" y="28.4" class="st1" width="1.6" height="5.6"/>
126
- <rect x="17.4" y="28.4" class="st1" width="1.6" height="5.6"/>
127
- <rect x="22.4" y="28.4" class="st1" width="1.6" height="5.6"/>
128
- <rect x="24.9" y="28.4" class="st1" width="1.6" height="5.6"/>
129
- <rect x="27.4" y="28.4" class="st1" width="1.6" height="5.6"/>
130
- <rect x="29.9" y="28.4" class="st1" width="1.6" height="5.6"/>
131
- <rect x="32.4" y="28.4" class="st1" width="1.6" height="5.6"/>
132
- <rect x="7.5" y="28.4" class="st1" width="1.6" height="5.6"/>
133
- <rect x="5" y="28.4" class="st1" width="1.6" height="5.6"/>
134
- <rect x="2.5" y="28.4" class="st1" width="1.6" height="5.6"/>
135
- <rect x="0" y="28.4" class="st1" width="1.6" height="5.6"/>
136
- <rect x="10" y="28.4" class="st1" width="1.6" height="5.6"/>
137
- <rect x="12.5" y="28.4" class="st1" width="1.6" height="5.6"/>
138
- <rect x="14.9" y="28.4" class="st1" width="1.6" height="5.6"/>
139
- </g>
140
- <g id="东行人"
141
- :class="status[6].isshow? '' : 'invisible'"
142
- class="st0">
143
- <rect x="28.4" y="19.9" class="st1" width="5.6" height="1.6"/>
144
- <rect x="28.4" y="17.4" class="st1" width="5.6" height="1.6"/>
145
- <rect x="28.4" y="22.4" class="st1" width="5.6" height="1.6"/>
146
- <rect x="28.4" y="24.9" class="st1" width="5.6" height="1.6"/>
147
- <rect x="28.4" y="27.4" class="st1" width="5.6" height="1.6"/>
148
- <rect x="28.4" y="29.9" class="st1" width="5.6" height="1.6"/>
149
- <rect x="28.4" y="32.4" class="st1" width="5.6" height="1.6"/>
150
- <rect x="28.4" y="7.5" class="st1" width="5.6" height="1.6"/>
151
- <rect x="28.4" y="5" class="st1" width="5.6" height="1.6"/>
152
- <rect x="28.4" y="2.5" class="st1" width="5.6" height="1.6"/>
153
- <rect x="28.4" y="0" class="st1" width="5.6" height="1.6"/>
154
- <rect x="28.4" y="10" class="st1" width="5.6" height="1.6"/>
155
- <rect x="28.4" y="12.5" class="st1" width="5.6" height="1.6"/>
156
- <rect x="28.4" y="14.9" class="st1" width="5.6" height="1.6"/>
157
- </g>
158
- <g id="西行人"
159
- :class="status[7].isshow? '' : 'invisible'"
160
- class="st0">
161
- <rect y="19.9" class="st1" width="5.6" height="1.6"/>
162
- <rect y="17.4" class="st1" width="5.6" height="1.6"/>
163
- <rect y="22.4" class="st1" width="5.6" height="1.6"/>
164
- <rect y="24.9" class="st1" width="5.6" height="1.6"/>
165
- <rect y="27.4" class="st1" width="5.6" height="1.6"/>
166
- <rect y="29.9" class="st1" width="5.6" height="1.6"/>
167
- <rect y="32.4" class="st1" width="5.6" height="1.6"/>
168
- <rect y="7.5" class="st1" width="5.6" height="1.6"/>
169
- <rect y="5" class="st1" width="5.6" height="1.6"/>
170
- <rect y="2.5" class="st1" width="5.6" height="1.6"/>
171
- <rect y="0" class="st1" width="5.6" height="1.6"/>
172
- <rect y="10" class="st1" width="5.6" height="1.6"/>
173
- <rect y="12.5" class="st1" width="5.6" height="1.6"/>
174
- <rect y="14.9" class="st1" width="5.6" height="1.6"/>
175
- </g>
176
- <g id="二次过街-西" class="st0">
177
- <g id="西下"
178
- :class="status[8].isshow? '' : 'invisible'"
179
- >
180
- <rect y="19.9" class="st1" width="5.6" height="1.6"/>
181
- <rect y="22.4" class="st1" width="5.6" height="1.6"/>
182
- <rect y="24.9" class="st1" width="5.6" height="1.6"/>
183
- <rect y="27.4" class="st1" width="5.6" height="1.6"/>
184
- <rect y="29.9" class="st1" width="5.6" height="1.6"/>
185
- <rect y="32.4" class="st1" width="5.6" height="1.6"/>
186
- </g>
187
- <g id="西上"
188
- :class="status[9].isshow? '' : 'invisible'"
189
- >
190
- <rect y="7.5" class="st1" width="5.6" height="1.6"/>
191
- <rect y="5" class="st1" width="5.6" height="1.6"/>
192
- <rect y="2.5" class="st1" width="5.6" height="1.6"/>
193
- <rect y="0" class="st1" width="5.6" height="1.6"/>
194
- <rect y="10" class="st1" width="5.6" height="1.6"/>
195
- <rect y="12.5" class="st1" width="5.6" height="1.6"/>
196
- </g>
197
- </g>
198
- <g id="二次过街-东" class="st0">
199
- <g id="东上"
200
- :class="status[10].isshow? '' : 'invisible'"
201
- >
202
- <rect x="28.4" y="12.5" class="st1" width="5.6" height="1.6"/>
203
- <rect x="28.4" y="10" class="st1" width="5.6" height="1.6"/>
204
- <rect x="28.4" y="7.5" class="st1" width="5.6" height="1.6"/>
205
- <rect x="28.4" y="5" class="st1" width="5.6" height="1.6"/>
206
- <rect x="28.4" y="2.5" class="st1" width="5.6" height="1.6"/>
207
- <rect x="28.4" y="0" class="st1" width="5.6" height="1.6"/>
208
- </g>
209
- <g id="东下"
210
- :class="status[11].isshow? '' : 'invisible'"
211
- >
212
- <rect x="28.4" y="24.9" class="st1" width="5.6" height="1.6"/>
213
- <rect x="28.4" y="27.4" class="st1" width="5.6" height="1.6"/>
214
- <rect x="28.4" y="29.9" class="st1" width="5.6" height="1.6"/>
215
- <rect x="28.4" y="32.4" class="st1" width="5.6" height="1.6"/>
216
- <rect x="28.4" y="22.4" class="st1" width="5.6" height="1.6"/>
217
- <rect x="28.4" y="19.9" class="st1" width="5.6" height="1.6"/>
218
- </g>
219
- </g>
220
- <g id="二次过街-南" class="st0">
221
- <g id="南右"
222
- :class="status[12].isshow? '' : 'invisible'"
223
- >
224
- <rect x="19.9" y="28.4" class="st1" width="1.6" height="5.6"/>
225
- <rect x="22.4" y="28.4" class="st1" width="1.6" height="5.6"/>
226
- <rect x="24.9" y="28.4" class="st1" width="1.6" height="5.6"/>
227
- <rect x="27.4" y="28.4" class="st1" width="1.6" height="5.6"/>
228
- <rect x="29.9" y="28.4" class="st1" width="1.6" height="5.6"/>
229
- <rect x="32.4" y="28.4" class="st1" width="1.6" height="5.6"/>
230
- </g>
231
- <g id="南左"
232
- :class="status[13].isshow? '' : 'invisible'"
233
- >
234
- <rect x="7.5" y="28.4" class="st1" width="1.6" height="5.6"/>
235
- <rect x="5" y="28.4" class="st1" width="1.6" height="5.6"/>
236
- <rect x="2.5" y="28.4" class="st1" width="1.6" height="5.6"/>
237
- <rect x="0" y="28.4" class="st1" width="1.6" height="5.6"/>
238
- <rect x="10" y="28.4" class="st1" width="1.6" height="5.6"/>
239
- <rect x="12.5" y="28.4" class="st1" width="1.6" height="5.6"/>
240
- </g>
241
- </g>
242
- <g id="二次过街-北_1_" class="st0">
243
- <g id="北右_1_"
244
- :class="status[14].isshow? '' : 'invisible'"
245
- >
246
- <rect x="19.9" class="st1" width="1.6" height="5.6"/>
247
- <rect x="22.4" class="st1" width="1.6" height="5.6"/>
248
- <rect x="24.9" class="st1" width="1.6" height="5.6"/>
249
- <rect x="27.4" class="st1" width="1.6" height="5.6"/>
250
- <rect x="29.9" class="st1" width="1.6" height="5.6"/>
251
- <rect x="32.4" class="st1" width="1.6" height="5.6"/>
252
- </g>
253
- <g id="北左_1_"
254
- :class="status[15].isshow? '' : 'invisible'"
255
- >
256
- <rect x="7.5" class="st1" width="1.6" height="5.6"/>
257
- <rect x="5" class="st1" width="1.6" height="5.6"/>
258
- <rect x="2.5" class="st1" width="1.6" height="5.6"/>
259
- <rect x="0" class="st1" width="1.6" height="5.6"/>
260
- <rect x="10" class="st1" width="1.6" height="5.6"/>
261
- <rect x="12.5" class="st1" width="1.6" height="5.6"/>
262
- </g>
263
- </g>
264
- </svg>
265
- </div>
266
- </template>
267
- <script>
268
- export default {
269
- name: 'PatternWalkSvg',
270
- data () {
271
- return {
272
- status: [
273
- {
274
- id: 1,
275
- name: '东西路段人行横道',
276
- isshow: false,
277
- color: '#0096ba'
278
- },
279
- {
280
- id: 2,
281
- name: '南北路段人行横道',
282
- isshow: false,
283
- color: '#0096ba'
284
- },
285
- {
286
- id: 3,
287
- name: 'X人行横道-\\',
288
- isshow: false,
289
- color: '#0096ba'
290
- },
291
- {
292
- id: 4,
293
- name: 'X人行横道-/',
294
- isshow: false,
295
- color: '#0096ba'
296
- },
297
- {
298
- id: 5,
299
- name: '北人行横道',
300
- isshow: false,
301
- color: '#0096ba'
302
- },
303
- {
304
- id: 6,
305
- name: '南人行横道',
306
- isshow: false,
307
- color: '#0096ba'
308
- },
309
- {
310
- id: 7,
311
- name: '东人行横道',
312
- isshow: false,
313
- color: '#0096ba'
314
- },
315
- {
316
- id: 8,
317
- name: '西人行横道',
318
- isshow: false,
319
- color: '#0096ba'
320
- },
321
- {
322
- id: 9,
323
- name: '西人行横道-下',
324
- isshow: false,
325
- color: '#0096ba'
326
- },
327
- {
328
- id: 10,
329
- name: '西人行横道-上',
330
- isshow: false,
331
- color: '#0096ba'
332
- },
333
- {
334
- id: 11,
335
- name: '东人行横道-上',
336
- isshow: false,
337
- color: '#0096ba'
338
- },
339
- {
340
- id: 12,
341
- name: '东人行横道-下',
342
- isshow: false,
343
- color: '#0096ba'
344
- },
345
- {
346
- id: 13,
347
- name: '南人行横道-右',
348
- isshow: false,
349
- color: '#0096ba'
350
- },
351
- {
352
- id: 14,
353
- name: '南人行横道-左',
354
- isshow: false,
355
- color: '#0096ba'
356
- },
357
- {
358
- id: 15,
359
- name: '北人行横道-右',
360
- isshow: false,
361
- color: '#0096ba'
362
- },
363
- {
364
- id: 16,
365
- name: '北人行横道-左',
366
- isshow: false,
367
- color: '#0096ba'
368
- }
369
- ]
370
- }
371
- },
372
- props: {
373
- showWalk: {
374
- type: Array
375
- },
376
- Width: {
377
- type: String,
378
- default: '34px'
379
- },
380
- Height: {
381
- type: String,
382
- default: '34px'
383
- },
384
- Data: {
385
- type: Object
386
- }
387
- },
388
- watch: {
389
- showWalk: {
390
- handler: function (newList) {
391
- this.refreshShow(newList)
392
- },
393
- deep: true // 深度监听
394
- }
395
- },
396
- created () {
397
- this.refreshShow(this.showWalk)
398
- },
399
- methods: {
400
- refreshShow (showWalk) {
401
- for (let i = 0; i < 16; i++) {
402
- if (this.status[i].isshow) {
403
- this.status[i].isshow = false
404
- }
405
- }
406
- for (let i = 0; i < showWalk.length; i++) {
407
- for (let j = 0; j < this.status.length; j++) {
408
- if (showWalk[i].name === this.status[j].name) {
409
- this.status[j].isshow = true
410
- }
411
- }
412
- }
413
- }
414
- }
415
- }
416
- </script>
417
- <style scoped>
418
- .invisible {
419
- visibility: hidden;
420
- }
421
- .st0{opacity:0.5;}
422
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
423
- </style>
1
+ /* eslint-disable no-tabs */
2
+ /**
3
+ * Copyright (c) 2020 kedacom
4
+ * OpenATC is licensed under Mulan PSL v2.
5
+ * You can use this software according to the terms and conditions of the Mulan PSL v2.
6
+ * You may obtain a copy of Mulan PSL v2 at:
7
+ * http://license.coscl.org.cn/MulanPSL2
8
+ * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
9
+ * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
10
+ * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
11
+ * See the Mulan PSL v2 for more details.
12
+ **/
13
+ <template>
14
+ <div :style="{position: 'absolute'}">
15
+ <!-- , left: Data.left?Data.left:'2px', top: Data.top -->
16
+ <svg
17
+ :width="Width"
18
+ :height="Height"
19
+ version="1.1"
20
+ id="图层_1"
21
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
22
+ viewBox="0 0 34 34"
23
+ style="enable-background:new 0 0 34 34;"
24
+ xml:space="preserve">
25
+ <g id="路段行人过街-东西"
26
+ :class="status[0].isshow? '' : 'invisible'">
27
+ <rect x="19.9" y="14.2" class="st1" width="1.6" height="5.6"/>
28
+ <rect x="17.4" y="14.2" class="st1" width="1.6" height="5.6"/>
29
+ <rect x="22.4" y="14.2" class="st1" width="1.6" height="5.6"/>
30
+ <rect x="24.9" y="14.2" class="st1" width="1.6" height="5.6"/>
31
+ <rect x="27.4" y="14.2" class="st1" width="1.6" height="5.6"/>
32
+ <rect x="29.9" y="14.2" class="st1" width="1.6" height="5.6"/>
33
+ <rect x="32.4" y="14.2" class="st1" width="1.6" height="5.6"/>
34
+ <rect x="7.5" y="14.2" class="st1" width="1.6" height="5.6"/>
35
+ <rect x="5" y="14.2" class="st1" width="1.6" height="5.6"/>
36
+ <rect x="2.5" y="14.2" class="st1" width="1.6" height="5.6"/>
37
+ <rect x="0" y="14.2" class="st1" width="1.6" height="5.6"/>
38
+ <rect x="10" y="14.2" class="st1" width="1.6" height="5.6"/>
39
+ <rect x="12.5" y="14.2" class="st1" width="1.6" height="5.6"/>
40
+ <rect x="14.9" y="14.2" class="st1" width="1.6" height="5.6"/>
41
+ </g>
42
+ <g id="路段行人过街-南北" class="st0"
43
+ :class="status[1].isshow? '' : 'invisible'">
44
+ >
45
+ <rect x="14.2" y="19.9" class="st1" width="5.6" height="1.6"/>
46
+ <rect x="14.2" y="17.4" class="st1" width="5.6" height="1.6"/>
47
+ <rect x="14.2" y="22.4" class="st1" width="5.6" height="1.6"/>
48
+ <rect x="14.2" y="24.9" class="st1" width="5.6" height="1.6"/>
49
+ <rect x="14.2" y="27.4" class="st1" width="5.6" height="1.6"/>
50
+ <rect x="14.2" y="29.9" class="st1" width="5.6" height="1.6"/>
51
+ <rect x="14.2" y="32.4" class="st1" width="5.6" height="1.6"/>
52
+ <rect x="14.2" y="7.5" class="st1" width="5.6" height="1.6"/>
53
+ <rect x="14.2" y="5" class="st1" width="5.6" height="1.6"/>
54
+ <rect x="14.2" y="2.5" class="st1" width="5.6" height="1.6"/>
55
+ <rect x="14.2" y="0" class="st1" width="5.6" height="1.6"/>
56
+ <rect x="14.2" y="10" class="st1" width="5.6" height="1.6"/>
57
+ <rect x="14.2" y="12.5" class="st1" width="5.6" height="1.6"/>
58
+ <rect x="14.2" y="14.9" class="st1" width="5.6" height="1.6"/>
59
+ </g>
60
+ <g id="斜向行人1" class="st0"
61
+ :class="status[2].isshow? '' : 'invisible'">
62
+ >
63
+ <rect x="14.2" y="16.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0438 17.0053)" class="st1" width="5.6" height="1.6"/>
64
+ <rect x="12.4" y="14.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.3149 15.2456)" class="st1" width="5.6" height="1.6"/>
65
+ <rect x="15.9" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.7727 18.7651)" class="st1" width="5.6" height="1.6"/>
66
+ <rect x="17.7" y="19.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.5017 20.5248)" class="st1" width="5.6" height="1.6"/>
67
+ <rect x="19.5" y="21.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.2306 22.2845)" class="st1" width="5.6" height="1.6"/>
68
+ <rect x="21.2" y="23.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.9595 24.0443)" class="st1" width="5.6" height="1.6"/>
69
+ <rect x="23" y="25" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.6884 25.804)" class="st1" width="5.6" height="1.6"/>
70
+ <rect x="24.7" y="26.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.4128 27.5531)" class="st1" width="5.6" height="1.6"/>
71
+ <rect x="26.5" y="28.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.1418 29.3128)" class="st1" width="5.6" height="1.6"/>
72
+ <rect x="28.3" y="30.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.8707 31.0725)" class="st1" width="5.6" height="1.6"/>
73
+ <rect x="5.4" y="7.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.3993 8.2067)" class="st1" width="5.6" height="1.6"/>
74
+ <rect x="3.6" y="5.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.6704 6.4469)" class="st1" width="5.6" height="1.6"/>
75
+ <rect x="1.9" y="3.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.9415 4.6872)" class="st1" width="5.6" height="1.6"/>
76
+ <rect x="0.1" y="2.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.2126 2.9275)" class="st1" width="5.6" height="1.6"/>
77
+ <rect x="7.1" y="9.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.1282 9.9664)" class="st1" width="5.6" height="1.6"/>
78
+ <rect x="8.9" y="10.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.8571 11.7261)" class="st1" width="5.6" height="1.6"/>
79
+ <rect x="10.7" y="12.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.586 13.4859)" class="st1" width="5.6" height="1.6"/>
80
+ </g>
81
+ <g id="斜向行人2" class="st0"
82
+ :class="status[3].isshow? '' : 'invisible'"
83
+ >
84
+ <rect x="16.2" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.047 16.9978)" class="st1" width="1.6" height="5.6"/>
85
+ <rect x="17.9" y="12.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.2872 17.7267)" class="st1" width="1.6" height="5.6"/>
86
+ <rect x="14.4" y="15.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.8067 16.2689)" class="st1" width="1.6" height="5.6"/>
87
+ <rect x="12.7" y="17.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.5664 15.54)" class="st1" width="1.6" height="5.6"/>
88
+
89
+ <rect x="10.9" y="19.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.3262 14.8111)" class="st1" width="1.6" height="5.6"/>
90
+ <rect x="9.1" y="21.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.0859 14.0822)" class="st1" width="1.6" height="5.6"/>
91
+ <rect x="7.4" y="23" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.8456 13.3533)" class="st1" width="1.6" height="5.6"/>
92
+ <rect x="5.6" y="24.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.5947 12.6288)" class="st1" width="1.6" height="5.6"/>
93
+ <rect x="3.9" y="26.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.3544 11.8999)" class="st1" width="1.6" height="5.6"/>
94
+ <rect x="2.1" y="28.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.1142 11.171)" class="st1" width="1.6" height="5.6"/>
95
+ <rect x="25" y="5.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.7517 20.6423)" class="st1" width="1.6" height="5.6"/>
96
+ <rect x="26.7" y="3.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.5114 21.3712)" class="st1" width="1.6" height="5.6"/>
97
+ <rect x="28.5" y="1.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 5.2712 22.1001)" class="st1" width="1.6" height="5.6"/>
98
+ <rect x="30.3" y="0.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 7.0309 22.829)" class="st1" width="1.6" height="5.6"/>
99
+
100
+ <rect x="23.2" y="7.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.040609e-03 19.9134)" class="st1" width="1.6" height="5.6"/>
101
+ <rect x="21.5" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.7678 19.1845)" class="st1" width="1.6" height="5.6"/>
102
+ <rect x="19.7" y="10.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.5275 18.4556)" class="st1" width="1.6" height="5.6"/>
103
+ </g>
104
+ <g id="北行人"
105
+ :class="status[4].isshow? '' : 'invisible'"
106
+ class="st0">
107
+ <rect x="19.9" class="st1" width="1.6" height="5.6"/>
108
+ <rect x="17.4" class="st1" width="1.6" height="5.6"/>
109
+ <rect x="22.4" class="st1" width="1.6" height="5.6"/>
110
+ <rect x="24.9" class="st1" width="1.6" height="5.6"/>
111
+ <rect x="27.4" class="st1" width="1.6" height="5.6"/>
112
+ <rect x="29.9" class="st1" width="1.6" height="5.6"/>
113
+ <rect x="32.4" class="st1" width="1.6" height="5.6"/>
114
+ <rect x="7.5" class="st1" width="1.6" height="5.6"/>
115
+ <rect x="5" class="st1" width="1.6" height="5.6"/>
116
+ <rect x="2.5" class="st1" width="1.6" height="5.6"/>
117
+ <rect x="0" class="st1" width="1.6" height="5.6"/>
118
+ <rect x="10" class="st1" width="1.6" height="5.6"/>
119
+ <rect x="12.5" class="st1" width="1.6" height="5.6"/>
120
+ <rect x="14.9" class="st1" width="1.6" height="5.6"/>
121
+ </g>
122
+ <g id="南行人"
123
+ :class="status[5].isshow? '' : 'invisible'"
124
+ class="st0">
125
+ <rect x="19.9" y="28.4" class="st1" width="1.6" height="5.6"/>
126
+ <rect x="17.4" y="28.4" class="st1" width="1.6" height="5.6"/>
127
+ <rect x="22.4" y="28.4" class="st1" width="1.6" height="5.6"/>
128
+ <rect x="24.9" y="28.4" class="st1" width="1.6" height="5.6"/>
129
+ <rect x="27.4" y="28.4" class="st1" width="1.6" height="5.6"/>
130
+ <rect x="29.9" y="28.4" class="st1" width="1.6" height="5.6"/>
131
+ <rect x="32.4" y="28.4" class="st1" width="1.6" height="5.6"/>
132
+ <rect x="7.5" y="28.4" class="st1" width="1.6" height="5.6"/>
133
+ <rect x="5" y="28.4" class="st1" width="1.6" height="5.6"/>
134
+ <rect x="2.5" y="28.4" class="st1" width="1.6" height="5.6"/>
135
+ <rect x="0" y="28.4" class="st1" width="1.6" height="5.6"/>
136
+ <rect x="10" y="28.4" class="st1" width="1.6" height="5.6"/>
137
+ <rect x="12.5" y="28.4" class="st1" width="1.6" height="5.6"/>
138
+ <rect x="14.9" y="28.4" class="st1" width="1.6" height="5.6"/>
139
+ </g>
140
+ <g id="东行人"
141
+ :class="status[6].isshow? '' : 'invisible'"
142
+ class="st0">
143
+ <rect x="28.4" y="19.9" class="st1" width="5.6" height="1.6"/>
144
+ <rect x="28.4" y="17.4" class="st1" width="5.6" height="1.6"/>
145
+ <rect x="28.4" y="22.4" class="st1" width="5.6" height="1.6"/>
146
+ <rect x="28.4" y="24.9" class="st1" width="5.6" height="1.6"/>
147
+ <rect x="28.4" y="27.4" class="st1" width="5.6" height="1.6"/>
148
+ <rect x="28.4" y="29.9" class="st1" width="5.6" height="1.6"/>
149
+ <rect x="28.4" y="32.4" class="st1" width="5.6" height="1.6"/>
150
+ <rect x="28.4" y="7.5" class="st1" width="5.6" height="1.6"/>
151
+ <rect x="28.4" y="5" class="st1" width="5.6" height="1.6"/>
152
+ <rect x="28.4" y="2.5" class="st1" width="5.6" height="1.6"/>
153
+ <rect x="28.4" y="0" class="st1" width="5.6" height="1.6"/>
154
+ <rect x="28.4" y="10" class="st1" width="5.6" height="1.6"/>
155
+ <rect x="28.4" y="12.5" class="st1" width="5.6" height="1.6"/>
156
+ <rect x="28.4" y="14.9" class="st1" width="5.6" height="1.6"/>
157
+ </g>
158
+ <g id="西行人"
159
+ :class="status[7].isshow? '' : 'invisible'"
160
+ class="st0">
161
+ <rect y="19.9" class="st1" width="5.6" height="1.6"/>
162
+ <rect y="17.4" class="st1" width="5.6" height="1.6"/>
163
+ <rect y="22.4" class="st1" width="5.6" height="1.6"/>
164
+ <rect y="24.9" class="st1" width="5.6" height="1.6"/>
165
+ <rect y="27.4" class="st1" width="5.6" height="1.6"/>
166
+ <rect y="29.9" class="st1" width="5.6" height="1.6"/>
167
+ <rect y="32.4" class="st1" width="5.6" height="1.6"/>
168
+ <rect y="7.5" class="st1" width="5.6" height="1.6"/>
169
+ <rect y="5" class="st1" width="5.6" height="1.6"/>
170
+ <rect y="2.5" class="st1" width="5.6" height="1.6"/>
171
+ <rect y="0" class="st1" width="5.6" height="1.6"/>
172
+ <rect y="10" class="st1" width="5.6" height="1.6"/>
173
+ <rect y="12.5" class="st1" width="5.6" height="1.6"/>
174
+ <rect y="14.9" class="st1" width="5.6" height="1.6"/>
175
+ </g>
176
+ <g id="二次过街-西" class="st0">
177
+ <g id="西下"
178
+ :class="status[8].isshow? '' : 'invisible'"
179
+ >
180
+ <rect y="19.9" class="st1" width="5.6" height="1.6"/>
181
+ <rect y="22.4" class="st1" width="5.6" height="1.6"/>
182
+ <rect y="24.9" class="st1" width="5.6" height="1.6"/>
183
+ <rect y="27.4" class="st1" width="5.6" height="1.6"/>
184
+ <rect y="29.9" class="st1" width="5.6" height="1.6"/>
185
+ <rect y="32.4" class="st1" width="5.6" height="1.6"/>
186
+ </g>
187
+ <g id="西上"
188
+ :class="status[9].isshow? '' : 'invisible'"
189
+ >
190
+ <rect y="7.5" class="st1" width="5.6" height="1.6"/>
191
+ <rect y="5" class="st1" width="5.6" height="1.6"/>
192
+ <rect y="2.5" class="st1" width="5.6" height="1.6"/>
193
+ <rect y="0" class="st1" width="5.6" height="1.6"/>
194
+ <rect y="10" class="st1" width="5.6" height="1.6"/>
195
+ <rect y="12.5" class="st1" width="5.6" height="1.6"/>
196
+ </g>
197
+ </g>
198
+ <g id="二次过街-东" class="st0">
199
+ <g id="东上"
200
+ :class="status[10].isshow? '' : 'invisible'"
201
+ >
202
+ <rect x="28.4" y="12.5" class="st1" width="5.6" height="1.6"/>
203
+ <rect x="28.4" y="10" class="st1" width="5.6" height="1.6"/>
204
+ <rect x="28.4" y="7.5" class="st1" width="5.6" height="1.6"/>
205
+ <rect x="28.4" y="5" class="st1" width="5.6" height="1.6"/>
206
+ <rect x="28.4" y="2.5" class="st1" width="5.6" height="1.6"/>
207
+ <rect x="28.4" y="0" class="st1" width="5.6" height="1.6"/>
208
+ </g>
209
+ <g id="东下"
210
+ :class="status[11].isshow? '' : 'invisible'"
211
+ >
212
+ <rect x="28.4" y="24.9" class="st1" width="5.6" height="1.6"/>
213
+ <rect x="28.4" y="27.4" class="st1" width="5.6" height="1.6"/>
214
+ <rect x="28.4" y="29.9" class="st1" width="5.6" height="1.6"/>
215
+ <rect x="28.4" y="32.4" class="st1" width="5.6" height="1.6"/>
216
+ <rect x="28.4" y="22.4" class="st1" width="5.6" height="1.6"/>
217
+ <rect x="28.4" y="19.9" class="st1" width="5.6" height="1.6"/>
218
+ </g>
219
+ </g>
220
+ <g id="二次过街-南" class="st0">
221
+ <g id="南右"
222
+ :class="status[12].isshow? '' : 'invisible'"
223
+ >
224
+ <rect x="19.9" y="28.4" class="st1" width="1.6" height="5.6"/>
225
+ <rect x="22.4" y="28.4" class="st1" width="1.6" height="5.6"/>
226
+ <rect x="24.9" y="28.4" class="st1" width="1.6" height="5.6"/>
227
+ <rect x="27.4" y="28.4" class="st1" width="1.6" height="5.6"/>
228
+ <rect x="29.9" y="28.4" class="st1" width="1.6" height="5.6"/>
229
+ <rect x="32.4" y="28.4" class="st1" width="1.6" height="5.6"/>
230
+ </g>
231
+ <g id="南左"
232
+ :class="status[13].isshow? '' : 'invisible'"
233
+ >
234
+ <rect x="7.5" y="28.4" class="st1" width="1.6" height="5.6"/>
235
+ <rect x="5" y="28.4" class="st1" width="1.6" height="5.6"/>
236
+ <rect x="2.5" y="28.4" class="st1" width="1.6" height="5.6"/>
237
+ <rect x="0" y="28.4" class="st1" width="1.6" height="5.6"/>
238
+ <rect x="10" y="28.4" class="st1" width="1.6" height="5.6"/>
239
+ <rect x="12.5" y="28.4" class="st1" width="1.6" height="5.6"/>
240
+ </g>
241
+ </g>
242
+ <g id="二次过街-北_1_" class="st0">
243
+ <g id="北右_1_"
244
+ :class="status[14].isshow? '' : 'invisible'"
245
+ >
246
+ <rect x="19.9" class="st1" width="1.6" height="5.6"/>
247
+ <rect x="22.4" class="st1" width="1.6" height="5.6"/>
248
+ <rect x="24.9" class="st1" width="1.6" height="5.6"/>
249
+ <rect x="27.4" class="st1" width="1.6" height="5.6"/>
250
+ <rect x="29.9" class="st1" width="1.6" height="5.6"/>
251
+ <rect x="32.4" class="st1" width="1.6" height="5.6"/>
252
+ </g>
253
+ <g id="北左_1_"
254
+ :class="status[15].isshow? '' : 'invisible'"
255
+ >
256
+ <rect x="7.5" class="st1" width="1.6" height="5.6"/>
257
+ <rect x="5" class="st1" width="1.6" height="5.6"/>
258
+ <rect x="2.5" class="st1" width="1.6" height="5.6"/>
259
+ <rect x="0" class="st1" width="1.6" height="5.6"/>
260
+ <rect x="10" class="st1" width="1.6" height="5.6"/>
261
+ <rect x="12.5" class="st1" width="1.6" height="5.6"/>
262
+ </g>
263
+ </g>
264
+ </svg>
265
+ </div>
266
+ </template>
267
+ <script>
268
+ export default {
269
+ name: 'PatternWalkSvg',
270
+ data () {
271
+ return {
272
+ status: [
273
+ {
274
+ id: 1,
275
+ name: '东西路段人行横道',
276
+ isshow: false,
277
+ color: '#0096ba'
278
+ },
279
+ {
280
+ id: 2,
281
+ name: '南北路段人行横道',
282
+ isshow: false,
283
+ color: '#0096ba'
284
+ },
285
+ {
286
+ id: 3,
287
+ name: 'X人行横道-\\',
288
+ isshow: false,
289
+ color: '#0096ba'
290
+ },
291
+ {
292
+ id: 4,
293
+ name: 'X人行横道-/',
294
+ isshow: false,
295
+ color: '#0096ba'
296
+ },
297
+ {
298
+ id: 5,
299
+ name: '北人行横道',
300
+ isshow: false,
301
+ color: '#0096ba'
302
+ },
303
+ {
304
+ id: 6,
305
+ name: '南人行横道',
306
+ isshow: false,
307
+ color: '#0096ba'
308
+ },
309
+ {
310
+ id: 7,
311
+ name: '东人行横道',
312
+ isshow: false,
313
+ color: '#0096ba'
314
+ },
315
+ {
316
+ id: 8,
317
+ name: '西人行横道',
318
+ isshow: false,
319
+ color: '#0096ba'
320
+ },
321
+ {
322
+ id: 9,
323
+ name: '西人行横道-下',
324
+ isshow: false,
325
+ color: '#0096ba'
326
+ },
327
+ {
328
+ id: 10,
329
+ name: '西人行横道-上',
330
+ isshow: false,
331
+ color: '#0096ba'
332
+ },
333
+ {
334
+ id: 11,
335
+ name: '东人行横道-上',
336
+ isshow: false,
337
+ color: '#0096ba'
338
+ },
339
+ {
340
+ id: 12,
341
+ name: '东人行横道-下',
342
+ isshow: false,
343
+ color: '#0096ba'
344
+ },
345
+ {
346
+ id: 13,
347
+ name: '南人行横道-右',
348
+ isshow: false,
349
+ color: '#0096ba'
350
+ },
351
+ {
352
+ id: 14,
353
+ name: '南人行横道-左',
354
+ isshow: false,
355
+ color: '#0096ba'
356
+ },
357
+ {
358
+ id: 15,
359
+ name: '北人行横道-右',
360
+ isshow: false,
361
+ color: '#0096ba'
362
+ },
363
+ {
364
+ id: 16,
365
+ name: '北人行横道-左',
366
+ isshow: false,
367
+ color: '#0096ba'
368
+ }
369
+ ]
370
+ }
371
+ },
372
+ props: {
373
+ showWalk: {
374
+ type: Array
375
+ },
376
+ Width: {
377
+ type: String,
378
+ default: '34px'
379
+ },
380
+ Height: {
381
+ type: String,
382
+ default: '34px'
383
+ },
384
+ Data: {
385
+ type: Object
386
+ }
387
+ },
388
+ watch: {
389
+ showWalk: {
390
+ handler: function (newList) {
391
+ this.refreshShow(newList)
392
+ },
393
+ deep: true // 深度监听
394
+ }
395
+ },
396
+ created () {
397
+ this.refreshShow(this.showWalk)
398
+ },
399
+ methods: {
400
+ refreshShow (showWalk) {
401
+ for (let i = 0; i < 16; i++) {
402
+ if (this.status[i].isshow) {
403
+ this.status[i].isshow = false
404
+ }
405
+ }
406
+ for (let i = 0; i < showWalk.length; i++) {
407
+ for (let j = 0; j < this.status.length; j++) {
408
+ if (showWalk[i].name === this.status[j].name) {
409
+ this.status[j].isshow = true
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ </script>
417
+ <style scoped>
418
+ .invisible {
419
+ visibility: hidden;
420
+ }
421
+ .st0{opacity:0.5;}
422
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
423
+ </style>