openatc-components 0.0.91 → 0.0.94

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 (117) hide show
  1. package/package/kisscomps/components/KanBan/kanban.vue +1 -1
  2. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
  3. package/package/kisscomps/index.js +1 -11
  4. package/package/kissui.min.js +1 -1
  5. package/package.json +2 -4
  6. package/src/i18n/language/en.js +2 -77
  7. package/src/i18n/language/zh.js +2 -77
  8. package/src/kisscomps/components/KanBan/kanban.vue +1 -1
  9. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
  10. package/src/kisscomps/index.js +1 -11
  11. package/src/main.js +0 -3
  12. package/src/router/index.js +0 -7
  13. package/src/store/index.js +2 -2
  14. package/src/store/modules/globalParam.js +16 -67
  15. package/src/views/intersection.vue +2 -8
  16. package/static/apiconfig.json +0 -15
  17. package/static/styles/common.scss +0 -1
  18. package/package/kisscomps/components/Channelization/Channelization.vue +0 -545
  19. package/package/kisscomps/components/Channelization/index.js +0 -2
  20. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +0 -498
  21. package/package/kisscomps/components/ChannelizationWithInterface/index.js +0 -2
  22. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +0 -249
  23. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +0 -152
  24. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +0 -91
  25. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +0 -176
  26. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +0 -108
  27. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +0 -48
  28. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +0 -182
  29. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +0 -222
  30. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +0 -191
  31. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +0 -78
  32. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +0 -433
  33. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +0 -195
  34. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +0 -71
  35. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +0 -939
  36. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +0 -118
  37. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +0 -563
  38. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +0 -157
  39. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +0 -191
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +0 -331
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +0 -157
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +0 -99
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +0 -43
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +0 -32
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +0 -20
  46. package/package/kisscomps/components/DrawChannelization/index.js +0 -2
  47. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +0 -278
  48. package/package/kisscomps/components/MessageBox/index.vue +0 -96
  49. package/src/api/cross.js +0 -33
  50. package/src/icons/svg/custom-BRTlane.svg +0 -40
  51. package/src/icons/svg/custom-bicyclelane.svg +0 -7
  52. package/src/icons/svg/custom-buslane.svg +0 -40
  53. package/src/icons/svg/custom-detector.svg +0 -12
  54. package/src/icons/svg/custom-east-bottom.svg +0 -32
  55. package/src/icons/svg/custom-east-top.svg +0 -32
  56. package/src/icons/svg/custom-ewped.svg +0 -35
  57. package/src/icons/svg/custom-motorway.svg +0 -7
  58. package/src/icons/svg/custom-nonmotorizedlane.svg +0 -40
  59. package/src/icons/svg/custom-north-left.svg +0 -32
  60. package/src/icons/svg/custom-north-right.svg +0 -32
  61. package/src/icons/svg/custom-pedcrossing.svg +0 -7
  62. package/src/icons/svg/custom-peddetector.svg +0 -17
  63. package/src/icons/svg/custom-pedeastward.svg +0 -9
  64. package/src/icons/svg/custom-pedestrian.svg +0 -7
  65. package/src/icons/svg/custom-pednorthward.svg +0 -9
  66. package/src/icons/svg/custom-pedsouthward.svg +0 -9
  67. package/src/icons/svg/custom-pedwestward.svg +0 -9
  68. package/src/icons/svg/custom-secondcrossing.svg +0 -7
  69. package/src/icons/svg/custom-sectionpedestrian.svg +0 -7
  70. package/src/icons/svg/custom-snped.svg +0 -35
  71. package/src/icons/svg/custom-south-left.svg +0 -32
  72. package/src/icons/svg/custom-south-right.svg +0 -32
  73. package/src/icons/svg/custom-straightahead.svg +0 -7
  74. package/src/icons/svg/custom-tramlane.svg +0 -40
  75. package/src/icons/svg/custom-turnaround.svg +0 -7
  76. package/src/icons/svg/custom-turnleft.svg +0 -7
  77. package/src/icons/svg/custom-turnright.svg +0 -7
  78. package/src/icons/svg/custom-vehiclebranch.svg +0 -40
  79. package/src/icons/svg/custom-vehiclemainroad.svg +0 -41
  80. package/src/icons/svg/custom-west-bottom.svg +0 -32
  81. package/src/icons/svg/custom-west-top.svg +0 -32
  82. package/src/icons/svg/custom-xlped.svg +0 -14
  83. package/src/icons/svg/custom-xpedestrian.svg +0 -7
  84. package/src/icons/svg/custom-xrped.svg +0 -14
  85. package/src/kisscomps/components/Channelization/Channelization.vue +0 -545
  86. package/src/kisscomps/components/Channelization/index.js +0 -2
  87. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +0 -498
  88. package/src/kisscomps/components/ChannelizationWithInterface/index.js +0 -2
  89. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +0 -249
  90. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +0 -152
  91. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +0 -91
  92. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +0 -176
  93. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +0 -108
  94. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +0 -48
  95. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +0 -182
  96. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +0 -222
  97. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +0 -191
  98. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +0 -78
  99. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +0 -433
  100. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +0 -195
  101. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +0 -71
  102. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +0 -939
  103. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +0 -118
  104. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +0 -563
  105. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +0 -157
  106. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +0 -191
  107. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +0 -331
  108. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +0 -157
  109. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +0 -99
  110. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +0 -43
  111. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +0 -32
  112. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +0 -20
  113. package/src/kisscomps/components/DrawChannelization/index.js +0 -2
  114. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +0 -278
  115. package/src/kisscomps/components/MessageBox/index.vue +0 -96
  116. package/src/views/customchannelization.vue +0 -49
  117. package/static/styles/channelizatioon.scss +0 -365
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.0.91",
3
+ "version": "0.0.94",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -36,9 +36,7 @@
36
36
  "vuex": "3.0.1",
37
37
  "scss-loader": "0.0.1",
38
38
  "vuedraggable": "^2.16.0",
39
- "animate.css": "^3.7.2",
40
- "echarts": "^4.9.0",
41
- "@minogin/vue-drag-resize-rotate": "^1.0.5"
39
+ "animate.css": "^3.7.2"
42
40
  },
43
41
  "devDependencies": {
44
42
  "autoprefixer": "^7.1.2",
@@ -792,9 +792,7 @@ const en = {
792
792
  'Cancel': 'Cancel',
793
793
  'Back': 'Back',
794
794
  'ignore': 'Ignore',
795
- 'confirm': 'Confirm',
796
- 'save': 'Save',
797
- 'reset': 'Reset'
795
+ 'confirm': 'Confirm'
798
796
  },
799
797
  'common': {
800
798
  'confirm': 'Confirm',
@@ -842,8 +840,7 @@ const en = {
842
840
  'setup': 'setup',
843
841
  'tipsmodaltitle': 'Tips',
844
842
  'deviceoffline': 'Device not online!',
845
- 'operationsuccess': 'Operation Success !',
846
- 'savesucess': 'Save Success!'
843
+ 'operationsuccess': 'Operation Success !'
847
844
  },
848
845
  'login': {
849
846
  'title': 'Openatc-Configer',
@@ -1107,78 +1104,6 @@ const en = {
1107
1104
  'channel': 'channel',
1108
1105
  'detector': 'detector',
1109
1106
  'port': 'port'
1110
- },
1111
- 'channelizationmap': {
1112
- 'importpicture': 'Import Picture',
1113
- 'importtip': 'The picture format is SVG, PNG and JPG, and the size is no more than 10MB',
1114
- 'importsizeerror': 'Picture size exceeds 10MB, please re import!',
1115
- 'importtypeerror': 'Picture format error, please import again!',
1116
- 'importcrosspicture': 'Import intersection picture',
1117
- 'againimport': 'Re import',
1118
- 'motorway': 'Motorway',
1119
- 'bicyclelane': 'Non motorized Lane',
1120
- 'pedcrossing': 'Ped crossing',
1121
- 'countdown': 'Countdown',
1122
- 'detector': 'Detector',
1123
- 'laneturn': 'Lane turn',
1124
- 'straightahead': 'Straightahead',
1125
- 'turnleft': 'Turnleft',
1126
- 'turnright': 'Turnright',
1127
- 'turnaround': 'Turnaround',
1128
- 'position': 'Position',
1129
- 'eastward': 'Eastward',
1130
- 'westward': 'Westward',
1131
- 'southward': 'Southward',
1132
- 'northward': 'Northward',
1133
- 'etped': 'East-Top',
1134
- 'ebped': 'East-Bottom',
1135
- 'wtped': 'West-Top',
1136
- 'wbped': 'West-Bottom',
1137
- 'slped': 'South-Left',
1138
- 'srped': 'South-Right',
1139
- 'nlped': 'North-Left',
1140
- 'nrped': 'North-Right',
1141
- 'xrped': 'X-/',
1142
- 'xlped': 'X-\\',
1143
- 'ewped': 'East-West',
1144
- 'snped': 'South-North',
1145
- 'choosedirerror': 'Select at least one lane to turn!',
1146
- 'lanetype': 'Lane Type',
1147
- 'vehiclemainroad': 'Vehicle Main Road',
1148
- 'vehiclebranch': 'Vehicle Branch',
1149
- 'nonmotorizedlane': 'Non Motorized',
1150
- 'buslane': 'Bus Lane',
1151
- 'BRTlane': 'BRT Lane',
1152
- 'tramlane': 'Tram Lane',
1153
- 'pedestriantype': 'Pedestrian Type',
1154
- 'pedestrian': 'Pedestrian',
1155
- 'secondcrossing': 'Second Crossing',
1156
- 'xpedestrian': 'X Pedestrian',
1157
- 'sectionpedestrian': 'Section Pedestrian',
1158
- 'delete': 'Delete',
1159
- 'drawtips': 'Click add on the intersection map after selection',
1160
- 'canclesetting': 'Cancel the channelization setting of the current intersection?',
1161
- 'phaseassociated': 'Phase Associated',
1162
- 'phase': 'phase',
1163
- 'associatedphaseerror': 'Association failed. Lanes in the same direction cannot be associated with different phases!',
1164
- 'overlapassociated': 'Overlap Associated',
1165
- 'flowsaturation': 'Flow saturation',
1166
- 'occupancysaturation': 'Occupancy saturation',
1167
- 'detectortype': 'Detector Type',
1168
- 'vehicledetector': 'Detector',
1169
- 'pedestriandetector': 'Pedestrian Detector',
1170
- 'detectorassociated': 'Detector Associated',
1171
- 'detectorthreshold': 'Detector Threshold',
1172
- 'occupancythreshold': 'Occupancy threshold',
1173
- 'saturationthreshold': 'Flow Saturation threshold',
1174
- 'checkthreshold': 'The threshold value cannot be blank. Please fill in a positive integer within the range of 0-100!',
1175
- 'pedestriancrossing': 'Pedestrian crossing',
1176
- 'pedestriansecondarycrossing': 'Pedestrian secondary crossing',
1177
- 'obliquepedestriancrossing': 'Oblique pedestrian crossing',
1178
- 'sectionpedestriancrossing': 'Section pedestrian crossing',
1179
- 'flipdisplay': 'Flip display',
1180
- 'vehiclelane': 'Vehicle lane',
1181
- 'sidewalk': 'Sidewalk'
1182
1107
  }
1183
1108
  }
1184
1109
  }
@@ -790,9 +790,7 @@ const zh = {
790
790
  'Cancel': '取消',
791
791
  'Back': '返回',
792
792
  'ignore': '忽略',
793
- 'confirm': '确认',
794
- 'save': '保存',
795
- 'reset': '重置'
793
+ 'confirm': '确认'
796
794
  },
797
795
  'common': {
798
796
  'confirm': '确认',
@@ -840,8 +838,7 @@ const zh = {
840
838
  'setup': '设置',
841
839
  'tipsmodaltitle': '提示',
842
840
  'deviceoffline': '设备不在线!',
843
- 'operationsuccess': '操作成功',
844
- 'savesucess': '保存成功!'
841
+ 'operationsuccess': '操作成功'
845
842
  },
846
843
  'login': {
847
844
  'title': '信号机设备配置',
@@ -1106,78 +1103,6 @@ const zh = {
1106
1103
  'channel': '通道',
1107
1104
  'detector': '检测器',
1108
1105
  'port': '端口'
1109
- },
1110
- 'channelizationmap': {
1111
- 'importpicture': '导入图片',
1112
- 'importtip': '图片格式为svg、png、jpg,大小不超过10Mb',
1113
- 'importsizeerror': '图片大小超过10Mb,请重新导入!',
1114
- 'importtypeerror': '图片格式错误,请重新导入!',
1115
- 'importcrosspicture': '导入路口图片',
1116
- 'againimport': '重新导入',
1117
- 'motorway': '机动车道',
1118
- 'bicyclelane': '非机动车道',
1119
- 'pedcrossing': '人行横道',
1120
- 'countdown': '倒计时',
1121
- 'detector': '检测器',
1122
- 'laneturn': '车道转向',
1123
- 'straightahead': '直行',
1124
- 'turnleft': '左转',
1125
- 'turnright': '右转',
1126
- 'turnaround': '掉头',
1127
- 'position': '方位',
1128
- 'eastward': '东向',
1129
- 'westward': '西向',
1130
- 'southward': '南向',
1131
- 'northward': '北向',
1132
- 'etped': '东向-上',
1133
- 'ebped': '东向-下',
1134
- 'wtped': '西向-上',
1135
- 'wbped': '西向-下',
1136
- 'slped': '南向-左',
1137
- 'srped': '南向-右',
1138
- 'nlped': '北向-左',
1139
- 'nrped': '北向-右',
1140
- 'xrped': 'X-/',
1141
- 'xlped': 'X-\\',
1142
- 'ewped': '东西向',
1143
- 'snped': '南北向',
1144
- 'choosedirerror': '至少选中一个车道转向!',
1145
- 'lanetype': '车道类型',
1146
- 'vehiclemainroad': '机动车主路',
1147
- 'vehiclebranch': '机动车支路',
1148
- 'nonmotorizedlane': '非机动车道',
1149
- 'buslane': '公交车道',
1150
- 'BRTlane': 'BRT车道',
1151
- 'tramlane': '有轨电车',
1152
- 'pedestriantype': '行人类型',
1153
- 'pedestrian': '行人过街',
1154
- 'secondcrossing': '二次过街',
1155
- 'xpedestrian': '斜向行人',
1156
- 'sectionpedestrian': '路段行人',
1157
- 'delete': '删除',
1158
- 'drawtips': '选择后在路口图上点击添加',
1159
- 'canclesetting': '是否取消当前路口渠化设置?',
1160
- 'phaseassociated': '相位关联',
1161
- 'phase': '相位',
1162
- 'associatedphaseerror': '关联失败,同方位车道不能关联不同相位!',
1163
- 'overlapassociated': '跟随相位关联',
1164
- 'flowsaturation': '流量饱和度',
1165
- 'occupancysaturation': '占有率饱和度',
1166
- 'detectortype': '检测器类型',
1167
- 'vehicledetector': '检测器',
1168
- 'pedestriandetector': '行人检测器',
1169
- 'detectorassociated': '检测器关联',
1170
- 'detectorthreshold': '检测器阈值',
1171
- 'occupancythreshold': '占有率阈值',
1172
- 'saturationthreshold': '流量饱和度阈值',
1173
- 'checkthreshold': '阈值不可为空,请填0-100范围内的正整数!',
1174
- 'pedestriancrossing': '行人过街',
1175
- 'pedestriansecondarycrossing': '行人二次过街',
1176
- 'obliquepedestriancrossing': '斜向行人过街',
1177
- 'sectionpedestriancrossing': '路段行人过街',
1178
- 'flipdisplay': '翻转显示',
1179
- 'vehiclelane': '车道',
1180
- 'sidewalk': '人行道'
1181
1106
  }
1182
1107
  }
1183
1108
  }
@@ -180,7 +180,7 @@ export default {
180
180
  ls.minSplit = temp1 > temp2 ? temp1 : temp2
181
181
  if (ls.mode !== 7 && ls.value < ls.minSplit) {
182
182
  ls.value = ls.minSplit
183
- this.$message.error(this.$t('openatccomponents.pattern.splitCheckMsg'))
183
+ this.$message.error(this.$t('edge.pattern.splitCheckMsg'))
184
184
  }
185
185
  }
186
186
  },
@@ -23,7 +23,8 @@
23
23
  <el-form-item
24
24
  :label="$t('openatccomponents.overview.delay') + ':'"
25
25
  prop="intersection">
26
- <el-input v-model="manualInfo.tempDelay" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input>
26
+ <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDelay" size="mini"></el-input-number>
27
+ <!-- <el-input v-model="manualInfo.tempDelay" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
27
28
  </el-form-item>
28
29
  </el-form>
29
30
  </el-col>
@@ -36,12 +37,14 @@
36
37
  <el-form-item
37
38
  :label="$t('openatccomponents.overview.patternoffset') + ':'"
38
39
  prop="count">
39
- <el-input v-model="manualInfo.offset" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input>
40
+ <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.offset" size="mini"></el-input-number>
41
+ <!-- <el-input v-model="manualInfo.offset" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
40
42
  </el-form-item>
41
43
  <el-form-item
42
44
  :label="$t('openatccomponents.overview.duration') + ':'"
43
45
  prop="intersection">
44
- <el-input v-model="manualInfo.duration" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input>
46
+ <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.duration" size="mini"></el-input-number>
47
+ <!-- <el-input v-model="manualInfo.duration" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
45
48
  </el-form-item>
46
49
  </el-form>
47
50
  </el-col>
@@ -4,8 +4,6 @@ import IntersectionWithInterface from './components/IntersectionWithInterface/in
4
4
  import IntersectionMap from './components/IntersectionMap/index'
5
5
  import SchemeConfig from './components/SchemeConfig/index'
6
6
  import lockingPhaselControlModal from './components/SchemeConfig/lockingPhaselControlModal/index'
7
- import Channelization from './components/Channelization/index'
8
- import DrawChannelization from './components/DrawChannelization/index'
9
7
  import FaultDetailModal from './components/FaultDetailModal/index'
10
8
  import CommonKanban from './components/CommonKanban/index'
11
9
  import patternList from './components/patternList/index'
@@ -22,7 +20,6 @@ import ExpendConfig from './components/ExpendConfig/index'
22
20
  import PatternWalkSvg from './components/PatternWalkSvg/index'
23
21
  import tentativeplancontrolmodal from './components/SchemeConfig/tentativeplancontrolmodal/index'
24
22
  import { setToken, setHost } from '../utils/auth.js'
25
- import componentsGlobalParam from '../store/modules/globalParam'
26
23
 
27
24
  import en from '../i18n/language/en'
28
25
  import zh from '../i18n/language/zh'
@@ -35,8 +32,6 @@ const components = {
35
32
  IntersectionMap,
36
33
  SchemeConfig,
37
34
  lockingPhaselControlModal,
38
- Channelization,
39
- DrawChannelization,
40
35
  FaultDetailModal,
41
36
  PatternStatus,
42
37
  BoardCard,
@@ -64,10 +59,6 @@ const func = {
64
59
  setToken
65
60
  }
66
61
 
67
- const Store = {
68
- componentsGlobalParam
69
- }
70
-
71
62
  const requireAll = requireContext => requireContext.keys().map(requireContext)
72
63
  const install = function (Vue) {
73
64
  if (install.installed) return
@@ -95,8 +86,7 @@ const API = {
95
86
  install,
96
87
  ...components,
97
88
  language,
98
- func,
99
- Store
89
+ func
100
90
  }
101
91
 
102
92
  export default API
package/src/main.js CHANGED
@@ -12,7 +12,6 @@ import i18n from './i18n'
12
12
  import 'element-ui/lib/theme-chalk/index.css'
13
13
  import './icons' // icon
14
14
  import './icons/iconfont.css'
15
- import drr from '@minogin/vue-drag-resize-rotate'
16
15
 
17
16
  window.dev = process.env.NODE_ENV
18
17
 
@@ -28,8 +27,6 @@ Vue.use(ElementUI, {
28
27
  locale
29
28
  })
30
29
 
31
- Vue.component('drr', drr)
32
-
33
30
  /* 使用动画库 */
34
31
  Vue.use(animate)
35
32
 
@@ -31,13 +31,6 @@ export default new Router({
31
31
  component: (resolve) => {
32
32
  require(['@/views/overView'], resolve)
33
33
  }
34
- },
35
- {
36
- path: '/quhua',
37
- name: 'config',
38
- component: (resolve) => {
39
- require(['@/views/customchannelization'], resolve)
40
- }
41
34
  }
42
35
  ]
43
36
  })
@@ -12,13 +12,13 @@
12
12
  import Vue from 'vue'
13
13
  import Vuex from 'vuex'
14
14
  import getters from './getters'
15
- import globalParam from './modules/globalParam'
15
+ // import globalParam from './modules/globalParam'
16
16
 
17
17
  Vue.use(Vuex)
18
18
 
19
19
  const store = new Vuex.Store({
20
20
  modules: {
21
- globalParam
21
+ // globalParam
22
22
  },
23
23
  getters
24
24
  })
@@ -9,70 +9,19 @@
9
9
  * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
- const tscParam = {
13
- phaseList: [],
14
- patternList: [],
15
- planList: [],
16
- dateList: [],
17
- overlaplList: [],
18
- channelList: [],
19
- detectorList: [],
20
- pedestrainDetectorList: [],
21
- channellock: [],
22
- // customInfo: {
23
- // areaid: Number,
24
- // intersectionid: Number,
25
- // siteid: '',
26
- // selflearning: 0,
27
- // fixintersectioninfo: '',
28
- // commuport: 0,
29
- // commutype: '',
30
- // steptype: ''
31
- // },
32
- manualpanel: {
33
- mingreen: 15
34
- },
35
- singleoptim: [
36
- ]
37
- }
38
- const Global = {
39
- state: {
40
- tscParam: JSON.parse(JSON.stringify(tscParam)),
41
- channelizationPageIndex: 1, // 总览编辑页面显示: 1 代表首次导入 2 代表已有保存的渠化图
42
- associatedPhaseList: [], // 关联相位列表
43
- PhaseDataMgr: {} // 关联相位数据处理模型
44
- },
45
- mutations: {
46
- SET_TSCPARAM: (state, tscParam) => {
47
- state.tscParam = JSON.parse(JSON.stringify(tscParam))
48
- },
49
- SET_ASSOCIATED_PHASE_LIST: (state, Associatedphaselist) => {
50
- state.associatedPhaseList = JSON.parse(JSON.stringify(Associatedphaselist))
51
- },
52
- INIT_PHASE_DATA_MGR: (state, PhaseDataMgrClass) => {
53
- state.PhaseDataMgr = PhaseDataMgrClass
54
- },
55
- SET_CHANNELZATION_PAGE_INDEX: (state, isHasChannelSetting) => {
56
- if (isHasChannelSetting) {
57
- state.channelizationPageIndex = 2
58
- } else {
59
- state.channelizationPageIndex = 1
60
- }
61
- }
62
- },
63
- actions: {
64
- SetTscParam ({ commit }, tscParam) {
65
- commit('SET_TSCPARAM', tscParam)
66
- },
67
- SetAssociatedPhaseList ({ commit }, Associatedphaselist) {
68
- commit('SET_ASSOCIATED_PHASE_LIST', Associatedphaselist)
69
- },
70
- InitPhaseDataMgr ({ commit }, PhaseDataMgrClass) {
71
- commit('INIT_PHASE_DATA_MGR', PhaseDataMgrClass)
72
- },
73
- SetChannelizationPageIndex ({ commit }, isHasChannelSetting) {
74
- commit('SET_CHANNELZATION_PAGE_INDEX', isHasChannelSetting)
75
- }
76
- }
77
- }
78
- export default Global
12
+ // const Global = {
13
+ // state: {
14
+ // roadDirection: 'right' // 当前路口行车方向:默认右行
15
+ // },
16
+ // mutations: {
17
+ // SET_ROAD_RIRECTION: (state, DIR) => {
18
+ // state.roadDirection = DIR
19
+ // }
20
+ // },
21
+ // actions: {
22
+ // SetRoadDirection ({ commit }, DIR) {
23
+ // commit('SET_ROAD_RIRECTION', DIR)
24
+ // }
25
+ // }
26
+ // }
27
+ // export default Global
@@ -66,23 +66,18 @@
66
66
  :AgentId="agentId"
67
67
  :Token="Token"/> -->
68
68
 
69
- <channelization-with-interface
70
- :AgentId="agentId" />
71
- <!-- <ChannelizationWithInterface
72
- :AgentId="agentId" /> -->
73
69
  </div>
74
70
  </div>
75
71
  </template>
76
72
  <script>
77
73
  import IntersectionWithInterface from '../kisscomps/components/IntersectionWithInterface'
78
- import ChannelizationWithInterface from '../kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface'
79
74
  export default {
80
75
  name: 'demo',
81
76
  data () {
82
77
  return {
83
78
  roadDirection: 'right',
84
79
  // reqUrl: 'http://192.168.13.103:10003/openatc',
85
- agentId: '10003-391',
80
+ agentId: '10002-994',
86
81
  reqUrl: 'http://192.168.13.105:11003/openatc',
87
82
  Token: 'eyJraWQiOiIxNjUzMjgyODkwMDYxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczOTY4Mjg5MCwiaWF0IjoxNjUzMjgyODkwfQ.emqFxXlot1Zk6TGkLMDx0zIp2B8toSz17xdZI_DrXZI',
88
83
  // agentId: '30003-352',
@@ -101,8 +96,7 @@ export default {
101
96
  }
102
97
  },
103
98
  components: {
104
- IntersectionWithInterface,
105
- ChannelizationWithInterface
99
+ IntersectionWithInterface
106
100
  },
107
101
  methods: {
108
102
  oncancle () {
@@ -332,20 +332,5 @@
332
332
  "key": "enumerateCheck",
333
333
  "url": "/fault/check",
334
334
  "method": "post"
335
- },
336
- {
337
- "key": "getChannelizatonChart",
338
- "url": "/devs/channelizatonchart",
339
- "method": "get"
340
- },
341
- {
342
- "key": "saveChannelizatonChart",
343
- "url": "/devs/channelizatonchart",
344
- "method": "post"
345
- },
346
- {
347
- "key": "getDetectorStatus",
348
- "url": "/devs/detectorstatus",
349
- "method": "get"
350
335
  }
351
336
  ]
@@ -3,7 +3,6 @@
3
3
  @import './commonkanban.scss';
4
4
  @import './stages.scss';
5
5
  @import './overview.scss';
6
- @import './channelizatioon.scss';
7
6
 
8
7
  // 全局滚动条样式
9
8
  ::-webkit-scrollbar {