openatc-components 0.0.94 → 0.0.97

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 (124) hide show
  1. package/package/kisscomps/components/Channelization/Channelization.vue +546 -0
  2. package/package/kisscomps/components/Channelization/index.js +2 -0
  3. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +494 -0
  4. package/package/kisscomps/components/ChannelizationWithInterface/index.js +2 -0
  5. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +249 -0
  6. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -0
  7. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -0
  8. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +176 -0
  9. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -0
  10. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +48 -0
  11. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +182 -0
  12. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +222 -0
  13. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +191 -0
  14. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +78 -0
  15. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +433 -0
  16. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +195 -0
  17. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +71 -0
  18. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +940 -0
  19. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +109 -0
  20. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +563 -0
  21. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +157 -0
  22. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +191 -0
  23. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +331 -0
  24. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +157 -0
  25. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -0
  26. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +43 -0
  27. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -0
  28. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -0
  29. package/package/kisscomps/components/DrawChannelization/index.js +2 -0
  30. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -0
  31. package/package/kisscomps/components/KanBan/kanban.vue +1 -1
  32. package/package/kisscomps/components/MessageBox/index.vue +96 -0
  33. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +16 -0
  34. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +2 -2
  35. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +190 -0
  36. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -0
  37. package/package/kisscomps/index.js +13 -1
  38. package/package/kissui.min.js +1 -1
  39. package/package.json +13 -10
  40. package/src/api/cross.js +33 -0
  41. package/src/i18n/language/en.js +106 -3
  42. package/src/i18n/language/zh.js +106 -3
  43. package/src/icons/svg/custom-BRTlane.svg +40 -0
  44. package/src/icons/svg/custom-bicyclelane.svg +7 -0
  45. package/src/icons/svg/custom-buslane.svg +40 -0
  46. package/src/icons/svg/custom-detector.svg +12 -0
  47. package/src/icons/svg/custom-east-bottom.svg +32 -0
  48. package/src/icons/svg/custom-east-top.svg +32 -0
  49. package/src/icons/svg/custom-ewped.svg +35 -0
  50. package/src/icons/svg/custom-motorway.svg +7 -0
  51. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -0
  52. package/src/icons/svg/custom-north-left.svg +32 -0
  53. package/src/icons/svg/custom-north-right.svg +32 -0
  54. package/src/icons/svg/custom-pedcrossing.svg +7 -0
  55. package/src/icons/svg/custom-peddetector.svg +17 -0
  56. package/src/icons/svg/custom-pedeastward.svg +9 -0
  57. package/src/icons/svg/custom-pedestrian.svg +7 -0
  58. package/src/icons/svg/custom-pednorthward.svg +9 -0
  59. package/src/icons/svg/custom-pedsouthward.svg +9 -0
  60. package/src/icons/svg/custom-pedwestward.svg +9 -0
  61. package/src/icons/svg/custom-secondcrossing.svg +7 -0
  62. package/src/icons/svg/custom-sectionpedestrian.svg +7 -0
  63. package/src/icons/svg/custom-snped.svg +35 -0
  64. package/src/icons/svg/custom-south-left.svg +32 -0
  65. package/src/icons/svg/custom-south-right.svg +32 -0
  66. package/src/icons/svg/custom-straightahead.svg +7 -0
  67. package/src/icons/svg/custom-tramlane.svg +40 -0
  68. package/src/icons/svg/custom-turnaround.svg +7 -0
  69. package/src/icons/svg/custom-turnleft.svg +7 -0
  70. package/src/icons/svg/custom-turnright.svg +7 -0
  71. package/src/icons/svg/custom-vehiclebranch.svg +40 -0
  72. package/src/icons/svg/custom-vehiclemainroad.svg +41 -0
  73. package/src/icons/svg/custom-west-bottom.svg +32 -0
  74. package/src/icons/svg/custom-west-top.svg +32 -0
  75. package/src/icons/svg/custom-xlped.svg +14 -0
  76. package/src/icons/svg/custom-xpedestrian.svg +7 -0
  77. package/src/icons/svg/custom-xrped.svg +14 -0
  78. package/src/kisscomps/components/Channelization/Channelization.vue +546 -0
  79. package/src/kisscomps/components/Channelization/index.js +2 -0
  80. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +494 -0
  81. package/src/kisscomps/components/ChannelizationWithInterface/index.js +2 -0
  82. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +249 -0
  83. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -0
  84. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -0
  85. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +176 -0
  86. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -0
  87. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +48 -0
  88. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +182 -0
  89. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +222 -0
  90. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +191 -0
  91. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +78 -0
  92. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +433 -0
  93. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +195 -0
  94. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +71 -0
  95. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +940 -0
  96. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +109 -0
  97. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +563 -0
  98. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +157 -0
  99. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +191 -0
  100. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +331 -0
  101. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +157 -0
  102. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -0
  103. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +43 -0
  104. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -0
  105. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -0
  106. package/src/kisscomps/components/DrawChannelization/index.js +2 -0
  107. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -0
  108. package/src/kisscomps/components/KanBan/kanban.vue +1 -1
  109. package/src/kisscomps/components/MessageBox/index.vue +96 -0
  110. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +16 -0
  111. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +2 -2
  112. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +190 -0
  113. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -0
  114. package/src/kisscomps/index.js +13 -1
  115. package/src/main.js +3 -0
  116. package/src/router/index.js +7 -0
  117. package/src/store/index.js +2 -2
  118. package/src/store/modules/globalParam.js +56 -16
  119. package/src/views/customchannelization.vue +49 -0
  120. package/src/views/intersection.vue +17 -9
  121. package/static/apiconfig.json +15 -0
  122. package/static/styles/channelizatioon.scss +365 -0
  123. package/static/styles/common.scss +1 -0
  124. package/static/styles/schemeconfig.scss +52 -0
@@ -9,19 +9,59 @@
9
9
  * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
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
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
+ associatedPhaseList: [], // 关联相位列表
42
+ PhaseDataMgr: {} // 关联相位数据处理模型
43
+ },
44
+ mutations: {
45
+ SET_TSCPARAM: (state, tscParam) => {
46
+ state.tscParam = JSON.parse(JSON.stringify(tscParam))
47
+ },
48
+ SET_ASSOCIATED_PHASE_LIST: (state, Associatedphaselist) => {
49
+ state.associatedPhaseList = JSON.parse(JSON.stringify(Associatedphaselist))
50
+ },
51
+ INIT_PHASE_DATA_MGR: (state, PhaseDataMgrClass) => {
52
+ state.PhaseDataMgr = PhaseDataMgrClass
53
+ }
54
+ },
55
+ actions: {
56
+ SetTscParam ({ commit }, tscParam) {
57
+ commit('SET_TSCPARAM', tscParam)
58
+ },
59
+ SetAssociatedPhaseList ({ commit }, Associatedphaselist) {
60
+ commit('SET_ASSOCIATED_PHASE_LIST', Associatedphaselist)
61
+ },
62
+ InitPhaseDataMgr ({ commit }, PhaseDataMgrClass) {
63
+ commit('INIT_PHASE_DATA_MGR', PhaseDataMgrClass)
64
+ }
65
+ }
66
+ }
67
+ export default Global
@@ -0,0 +1,49 @@
1
+ <template>
2
+ <!-- 渠化绘制demo -->
3
+ <div style="height: 100%;">
4
+ <!-- <custom-channelization
5
+ :AgentId="agentId" /> -->
6
+ <CustomChannelization
7
+ :AgentId="agentId"
8
+ :tscParam="tscParams"
9
+ @saveCallback="saveCallback" />
10
+ </div>
11
+ </template>
12
+ <script>
13
+ import { getIntersectionInfo } from '../api/template.js'
14
+ import CustomChannelization from '../kisscomps/components/DrawChannelization/drawsvg/index'
15
+ export default {
16
+ name: 'custom-channelization-demo',
17
+ data () {
18
+ return {
19
+ agentId: '10003-391',
20
+ tscParams: {}
21
+ }
22
+ },
23
+ components: {
24
+ CustomChannelization
25
+ },
26
+ methods: {
27
+ getIntersectionInfo () {
28
+ // 获取路口信息
29
+ getIntersectionInfo(this.agentId).then(res => {
30
+ console.log('接口上载的参数', res.data.data.param)
31
+ this.tscParams = res.data.data.param
32
+ })
33
+ },
34
+ saveCallback (res) {
35
+ // 保存渠化图回调
36
+ console.log('保存接口返回的参数', res)
37
+ }
38
+ },
39
+ created () {
40
+ },
41
+ mounted () {
42
+ this.getIntersectionInfo()
43
+ },
44
+ destroyed () {
45
+ }
46
+ }
47
+ </script>
48
+ <style lang="scss">
49
+ </style>
@@ -66,18 +66,28 @@
66
66
  :AgentId="agentId"
67
67
  :Token="Token"/> -->
68
68
 
69
+ <channelization-with-interface
70
+ ref="channelization"
71
+ :AgentId="agentId"
72
+ :reqUrl="reqUrl"
73
+ :Token="Token"
74
+ @getTscControl="getTscControl"
75
+ @onPhaseChange="onPhaseChange"/>
76
+ <!-- <ChannelizationWithInterface
77
+ :AgentId="agentId" /> -->
69
78
  </div>
70
79
  </div>
71
80
  </template>
72
81
  <script>
73
82
  import IntersectionWithInterface from '../kisscomps/components/IntersectionWithInterface'
83
+ import ChannelizationWithInterface from '../kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface'
74
84
  export default {
75
85
  name: 'demo',
76
86
  data () {
77
87
  return {
78
88
  roadDirection: 'right',
79
89
  // reqUrl: 'http://192.168.13.103:10003/openatc',
80
- agentId: '10002-994',
90
+ agentId: '10003-391',
81
91
  reqUrl: 'http://192.168.13.105:11003/openatc',
82
92
  Token: 'eyJraWQiOiIxNjUzMjgyODkwMDYxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczOTY4Mjg5MCwiaWF0IjoxNjUzMjgyODkwfQ.emqFxXlot1Zk6TGkLMDx0zIp2B8toSz17xdZI_DrXZI',
83
93
  // agentId: '30003-352',
@@ -96,7 +106,8 @@ export default {
96
106
  }
97
107
  },
98
108
  components: {
99
- IntersectionWithInterface
109
+ IntersectionWithInterface,
110
+ ChannelizationWithInterface
100
111
  },
101
112
  methods: {
102
113
  oncancle () {
@@ -172,11 +183,10 @@ export default {
172
183
  console.log('onPhaseChange:')
173
184
  console.log(res, index)
174
185
  this.stagesList = res
175
- // this.currentStage = index;
186
+ // this.currentStage = index
176
187
  },
177
188
  getTscControl (res) {
178
- console.log('getTscControl:')
179
- console.log(res)
189
+ console.log('getTscControl:', res)
180
190
  // let control = res.data.data.control
181
191
  // let mode = res.data.data.mode
182
192
  // console.log("control,mode:",control,mode)
@@ -184,12 +194,10 @@ export default {
184
194
  // this.modeName = mode
185
195
  },
186
196
  registerMessage (res) {
187
- console.log('registerMessage')
188
- console.log(res)
197
+ console.log('registerMessage:', res)
189
198
  },
190
199
  queryDevice (res) {
191
- console.log('queryDevice')
192
- console.log(res)
200
+ console.log('queryDevice:', res)
193
201
  },
194
202
  clearInterVals () {
195
203
  this.$refs.intersection.clearInterVals()
@@ -332,5 +332,20 @@
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"
335
350
  }
336
351
  ]
@@ -0,0 +1,365 @@
1
+ // 渠化图组件
2
+ .custom-cross-part {
3
+ padding-top: 8PX;
4
+ // padding-left: 28PX;
5
+ height: 100%;
6
+ .first-import-crossmap {
7
+ height: 100%;
8
+ background-color: $--color-white;
9
+ position: relative;
10
+ margin-left: 28PX;
11
+ .import-btn {
12
+ min-width: 218PX;
13
+ text-align: center;
14
+ position: absolute;
15
+ top: 50%;
16
+ left: 50%;
17
+ transform: translate(-50%, -50%);
18
+ .el-button {
19
+ width: 220PX;
20
+ height: 60PX;
21
+ border-radius: 4PX;
22
+ line-height: 60PX;
23
+ padding: 0;
24
+ font-size: 20PX;
25
+ font-weight: 400;
26
+ }
27
+ .tip {
28
+ font-size: 14PX;
29
+ font-weight: 400;
30
+ color: $--color-text-regular;
31
+ line-height: 22PX;
32
+ margin-top: 22PX;
33
+ }
34
+ }
35
+ }
36
+ .custom-cross {
37
+ .custom-main {
38
+ width: 100%;
39
+ overflow: hidden;
40
+ }
41
+ .drawPanelAnimation {
42
+ transition-property: opacity , width;
43
+ transition-duration: 0.5s , 0.5s;
44
+ }
45
+ .custom-group {
46
+ // width: 980PX;
47
+ width: calc(64% - 28PX);
48
+ margin-left: 28PX;
49
+ float: left;
50
+ background-color: $--color-white;
51
+ border: solid 1PX $--border-color-lighter;
52
+ // margin-right: 20PX;
53
+ .draw-function {
54
+ overflow: hidden;
55
+ padding: 20PX;
56
+ .again-import {
57
+ float: left;
58
+ .import-label {
59
+ font-size: 14PX;
60
+ font-weight: 400;
61
+ color: $--color-text-primary;
62
+ margin-right: 23PX;
63
+ }
64
+ .again-import-btn {
65
+ padding: 0;
66
+ line-height: 32PX;
67
+ width: 90PX;
68
+ height: 32PX;
69
+ }
70
+ }
71
+ .draw-to-sketchpad {
72
+ float: right;
73
+ overflow: hidden;
74
+ .drawtip {
75
+ float: left;
76
+ font-size: 14PX;
77
+ font-family: Source Han Sans CN;
78
+ font-weight: 400;
79
+ color: #909399;
80
+ line-height: 22PX;
81
+ margin-right: 14PX;
82
+ line-height: 32PX;
83
+ }
84
+ .draw-operation {
85
+ float: left;
86
+ }
87
+ }
88
+ }
89
+ .sketchpad-area {
90
+ position: relative;
91
+ // min-height: 702PX;
92
+ height: 652PX;
93
+ overflow: auto;
94
+ .cross-map-part {
95
+ position: relative;
96
+ min-height: 650PX;
97
+ }
98
+ /* 删除hover的虚线框 */
99
+ .drr:hover:before {
100
+ outline: none;
101
+ }
102
+ .drr.active:before {
103
+ outline: 2PX dashed lightskyblue;
104
+ }
105
+ .channelization-elements-components {
106
+ border: 1px solid $--border-color-base;
107
+ margin: 0 auto;
108
+ }
109
+ }
110
+ .draw-end-function {
111
+ text-align: center;
112
+ padding-bottom: 60PX;
113
+ margin-top: 52PX;
114
+ .el-button {
115
+ width: 90PX;
116
+ height: 32PX;
117
+ padding: 0;
118
+ line-height: 32PX;
119
+ }
120
+ }
121
+ }
122
+ #sketchpadArea{
123
+ cursor: default;
124
+ overflow: hidden;
125
+ }
126
+ .custom-edit {
127
+ float: left;
128
+ // width: calc(100% - 980PX - 20PX);
129
+ // width: 515PX;
130
+ width: calc(36% - 20PX);
131
+ margin-left: 20PX;
132
+ background-color: $--color-white;
133
+ border: solid 1PX $--border-color-lighter;
134
+ padding: 22PX;
135
+ padding-right: 0PX;
136
+ min-height: 916PX;
137
+ .each-icon {
138
+ float: left;
139
+ .single-icon {
140
+ margin-right: 10PX;
141
+ text-align: center;
142
+ cursor:pointer;
143
+ width: 70PX;
144
+ height: 70PX;
145
+ background-color: #edf6ff;
146
+ border-radius: 6PX;
147
+ line-height: 1.15;
148
+ .patternWalk{
149
+ left: 14PX !important;
150
+ }
151
+ .closephase-icon {
152
+ margin-top: 10PX;
153
+ width: 56PX;
154
+ height: 24PX;
155
+ }
156
+ .direction-icon {
157
+ margin-top: 22PX;
158
+ width: 30PX;
159
+ height: 30PX;
160
+ }
161
+ .type-icon {
162
+ margin-top: 11PX;
163
+ width: 48PX;
164
+ height: 48PX;
165
+ }
166
+ .ped-icon {
167
+ margin-top: 11PX;
168
+ width: 48PX;
169
+ height: 48PX;
170
+ }
171
+ }
172
+ .single-icon-select {
173
+ text-align: center;
174
+ cursor:pointer;
175
+ width: 70PX;
176
+ height: 70PX;
177
+ background-color: #a2cfff;
178
+ border-radius: 6PX;
179
+ }
180
+ .single-icon-name {
181
+ width: 70PX;
182
+ margin-top: 3PX;
183
+ font-size: 12PX;
184
+ font-weight: normal;
185
+ font-stretch: normal;
186
+ line-height: 22PX;
187
+ letter-spacing: 0PX;
188
+ color: $--color-text-regular;
189
+ text-align: center;
190
+ height: 40PX;
191
+ }
192
+ }
193
+ .tittle {
194
+ height: 20PX;
195
+ font-size: 20PX;
196
+ font-weight: 400;
197
+ color: $--color-text-primary;
198
+ line-height: 22PX;
199
+ margin-bottom: 17PX;
200
+ }
201
+ .lane-edit-panel {
202
+ position: relative;
203
+ .edit-id {
204
+ position: absolute;
205
+ right: 30PX;
206
+ top: 0PX;
207
+ color: $--color-text-primary;
208
+ font-size: 20PX;
209
+ }
210
+ .directions, .position, .lane-types, .ped-type, .ped-position, .detector-type, .detector-associated {
211
+ overflow: hidden;
212
+ margin-bottom: 55PX;
213
+ }
214
+ .delete-drawed-item {
215
+ text-align: center;
216
+ margin-top: 57PX;
217
+ }
218
+ .detector-threshold-formtext {
219
+ color: $--color-text-regular;
220
+ }
221
+ }
222
+ .phase-associated-component {
223
+ width: 100%;
224
+ height: auto;
225
+ overflow: hidden;
226
+ .phase-box {
227
+ float: left;
228
+ margin-top: 10PX;
229
+ .single-phase {
230
+ margin-right: 10PX;
231
+ text-align: center;
232
+ cursor:pointer;
233
+ width: 70PX;
234
+ height: 70PX;
235
+ background-color: #edf6ff;
236
+ border-radius: 6PX;
237
+ line-height: 1.15;
238
+ position: relative;
239
+ .phase-icon {
240
+ position: absolute;
241
+ left: 14PX;
242
+ top: 15PX;
243
+ }
244
+ .ped-icon {
245
+ position: absolute;
246
+ left: 14PX;
247
+ top: 15PX;
248
+ }
249
+ .patternWalk{
250
+ left: 14PX !important;
251
+ }
252
+ .delete-phase-icon {
253
+ position: absolute;
254
+ right: 3PX;
255
+ top: 0PX;
256
+ z-index: 99;
257
+ .el-icon-close {
258
+ font-size: 6PX;
259
+ }
260
+ }
261
+ }
262
+ .single-phase-select {
263
+ background-color: #a2cfff;
264
+ }
265
+ .single-phase-name {
266
+ width: 70PX;
267
+ margin-top: 3PX;
268
+ font-size: 12PX;
269
+ font-weight: normal;
270
+ font-stretch: normal;
271
+ line-height: 22PX;
272
+ letter-spacing: 0PX;
273
+ color: $--color-text-regular;
274
+ text-align: center;
275
+ height: 40PX;
276
+ }
277
+ }
278
+
279
+ .add-phase {
280
+ padding-top: 23PX;
281
+ }
282
+ .icon-fangda {
283
+ font-size: 24PX;
284
+ color: #409EFF;
285
+ }
286
+ .add-disabled {
287
+ color: #bcbec2;
288
+ background-color: #f4f4f5;
289
+ }
290
+ .special-lane {
291
+ display:flex;
292
+ flex-direction:row;
293
+ justify-content:center;
294
+ align-items:center;
295
+ }
296
+ }
297
+ }
298
+ .footer-btn {
299
+ margin-bottom: 20PX;
300
+ }
301
+ .phaseText {
302
+ // color: $--color-text-regular;
303
+ color: #fff;
304
+ position: absolute;
305
+ height: 14PX;
306
+ font-size: 14PX;
307
+ }
308
+ .edit-icon-btn {
309
+ min-width: 128PX;
310
+ height: 32PX;
311
+ border: 1PX solid $--border-color-base;
312
+ border-radius: 4PX;
313
+ padding: 0;
314
+ color: $--color-text-regular;
315
+ &:hover {
316
+ color: $--color-text-regular;
317
+ }
318
+ .lane-icon-svg {
319
+ float: left;
320
+ position: relative;
321
+ top: 1PX;
322
+ left: 13PX;
323
+ > div {
324
+ float: left;
325
+ }
326
+ }
327
+ .btn-label {
328
+ float: left;
329
+ position: relative;
330
+ top: 2PX;
331
+ left: 23PX;
332
+ }
333
+ .highlightColor {
334
+ color: $--color-primary;
335
+ }
336
+ .defaultColor {
337
+ color: $--color-text-regular;
338
+ }
339
+ }
340
+ .phase-table {
341
+ margin-top: 20PX;
342
+ }
343
+ }
344
+ }
345
+ .show-channelization {
346
+ .channelization-elements-components {
347
+ .cross-map-part {
348
+ position: relative;
349
+ min-height: 650PX;
350
+ }
351
+ .drr:hover:before {
352
+ outline: none;
353
+ }
354
+ .drr.active:before {
355
+ outline: 2PX dashed lightskyblue;
356
+ }
357
+ .phaseText {
358
+ // color: $--color-text-regular;
359
+ color: #fff;
360
+ position: absolute;
361
+ height: 14PX;
362
+ font-size: 14PX;
363
+ }
364
+ }
365
+ }
@@ -3,6 +3,7 @@
3
3
  @import './commonkanban.scss';
4
4
  @import './stages.scss';
5
5
  @import './overview.scss';
6
+ @import './channelizatioon.scss';
6
7
 
7
8
  // 全局滚动条样式
8
9
  ::-webkit-scrollbar {
@@ -273,6 +273,58 @@
273
273
  color: $--color-text-secondary;
274
274
  }
275
275
  }
276
+ .priority-control{
277
+ height: 100%;
278
+ padding: 21px 0px 21px 28px;
279
+ min-width: 360px;
280
+ overflow: auto;
281
+ .title {
282
+ margin-bottom: 24px;
283
+ font-size: 20px;
284
+ font-weight: 400;
285
+ line-height: 22px;
286
+ color: $--color-text-primary;
287
+ span {
288
+ font-size: 14px;
289
+ font-weight: 400;
290
+ color: $--color-text-secondary;
291
+ }
292
+ }
293
+ .footer {
294
+ float: right;
295
+ margin: 38px 24px 40px 0;
296
+ button {
297
+ width: 56px;
298
+ height: 32px;
299
+ padding: 0;
300
+ text-align: center;
301
+ line-height: 30px;
302
+ font-size: 12px;
303
+ font-weight: normal;
304
+ font-stretch: normal;
305
+ }
306
+ }
307
+ .el-input--mini{
308
+ width: 90%;
309
+ }
310
+ .el-form-item {
311
+ margin-bottom: 0px;
312
+ }
313
+ .el-form-item__label {
314
+ font-size: 14px;
315
+ font-weight: 400;
316
+ color: $--color-text-secondary;
317
+ }
318
+ .el-select {
319
+ width: 90%;
320
+ }
321
+ .el-input-number {
322
+ width: 100%;
323
+ .el-input__inner {
324
+ text-align: left;
325
+ }
326
+ }
327
+ }
276
328
  .tentativeplan-control{
277
329
  height: 100%;
278
330
  padding: 21px 0px 21px 28px;