openatc-components 0.0.24 → 0.0.27

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 (76) hide show
  1. package/config/index.js +1 -1
  2. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +93 -0
  3. package/package/kisscomps/components/ExpendConfig/index.js +2 -0
  4. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +22 -0
  5. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +16 -12
  6. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +244 -4
  7. package/package/kisscomps/components/KanBan/index.js +2 -0
  8. package/package/kisscomps/components/KanBan/kanban.vue +219 -0
  9. package/package/kisscomps/components/OverLap/OverLap.vue +11 -1
  10. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +0 -1
  11. package/package/kisscomps/components/PhaseMarker/index.js +6 -0
  12. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -0
  13. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -0
  14. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -0
  15. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -0
  16. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -0
  17. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -0
  18. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +30 -3
  19. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +21 -2
  20. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -47
  21. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1304 -0
  22. package/package/kisscomps/components/StageBord/StageBord.vue +242 -0
  23. package/package/kisscomps/components/StageBord/index.js +2 -0
  24. package/package/kisscomps/components/StageStatus/StageStatus.vue +1 -1
  25. package/package/kisscomps/components/Stages/index.vue +86 -0
  26. package/package/kisscomps/components/overView/index.vue +656 -0
  27. package/package/kisscomps/components/patternList/patternList.vue +4 -0
  28. package/package/kisscomps/index.js +15 -1
  29. package/package/kissui.min.js +1 -1
  30. package/package.json +2 -2
  31. package/src/api/authapi.js +1 -1
  32. package/src/i18n/language/en.js +4 -1
  33. package/src/i18n/language/zh.js +4 -1
  34. package/src/icons/svg/tentativeplan.svg +33 -0
  35. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +93 -0
  36. package/src/kisscomps/components/ExpendConfig/index.js +2 -0
  37. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +22 -0
  38. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +16 -12
  39. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +244 -4
  40. package/src/kisscomps/components/KanBan/index.js +2 -0
  41. package/src/kisscomps/components/KanBan/kanban.vue +219 -0
  42. package/src/kisscomps/components/OverLap/OverLap.vue +11 -1
  43. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +0 -1
  44. package/src/kisscomps/components/PhaseMarker/index.js +6 -0
  45. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -0
  46. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -0
  47. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -0
  48. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -0
  49. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -0
  50. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -0
  51. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +30 -3
  52. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +21 -2
  53. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -47
  54. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1304 -0
  55. package/src/kisscomps/components/StageBord/StageBord.vue +242 -0
  56. package/src/kisscomps/components/StageBord/index.js +2 -0
  57. package/src/kisscomps/components/StageStatus/StageStatus.vue +1 -1
  58. package/src/kisscomps/components/Stages/index.vue +86 -0
  59. package/src/kisscomps/components/overView/index.vue +656 -0
  60. package/src/kisscomps/components/patternList/patternList.vue +4 -0
  61. package/src/kisscomps/index.js +15 -1
  62. package/src/lib/publicjs/KissApi.js +2 -0
  63. package/src/main.js +2 -0
  64. package/src/router/index.js +15 -8
  65. package/src/utils/ControlFormat.js +68 -0
  66. package/src/utils/RingDataModel.js +1 -1
  67. package/src/utils/auth.js +8 -0
  68. package/src/views/home.vue +16 -1
  69. package/src/views/intersection.vue +188 -6
  70. package/src/views/overView.vue +33 -0
  71. package/src/views/schemeconfig.vue +6 -5
  72. package/static/styles/common.scss +2 -0
  73. package/static/styles/intersection.scss +18 -0
  74. package/static/styles/overview.scss +372 -0
  75. package/static/styles/schemeconfig.scss +99 -1
  76. package/static/styles/stages.scss +65 -0
@@ -0,0 +1,372 @@
1
+
2
+
3
+ // 总览页面
4
+ .container-main {
5
+ width: 100%;
6
+ // height: 880PX;
7
+ height: 100%;
8
+ // min-width: 1250PX;
9
+ background: $--background-color-base;
10
+ .iconfont {
11
+ font-family: "iconfont" !important;
12
+ font-size: 34PX;
13
+ text-align: center;
14
+ font-weight: 500;
15
+ color: #000000;
16
+ font-style: normal;
17
+ -webkit-font-smoothing: antialiased;
18
+ -moz-osx-font-smoothing: grayscale;
19
+ }
20
+ .container-left {
21
+ float: left;
22
+ margin-top: 20PX;
23
+ margin-left: 20PX;
24
+ width: 76.8%;
25
+ height: 880PX;
26
+ background-color: $--color-white;
27
+ border: solid 1PX $--border-color-lighter;
28
+ }
29
+ .container-right {
30
+ float: left;
31
+ margin-top: 20PX;
32
+ margin-left: 20PX;
33
+ width: 20%;
34
+ height: 880PX;
35
+ background-color: $--color-white;
36
+ border: solid 1PX $--border-color-lighter;
37
+ }
38
+ .container-left-top {
39
+ width: 100%;
40
+ height: 420PX;
41
+ }
42
+ .container-left-bottom {
43
+ width: 100%;
44
+ height: 400PX;
45
+ background-color: $--color-white;
46
+ }
47
+ .curr-order {
48
+ float: left;
49
+ margin-left: 20PX;
50
+ margin-top: 1PX;
51
+ }
52
+ .control-right {
53
+ margin-top: 40PX;
54
+ margin-left: 20PX;
55
+ }
56
+ .agent-div {
57
+ float: left;
58
+ width: 28%;
59
+ height: 420PX;
60
+ border-bottom: solid 0.5PX $--border-color-lighter;
61
+ }
62
+ .other-div {
63
+ float: left;
64
+ width: 24%;
65
+ height: 210PX;
66
+ border-left: solid 1PX $--border-color-lighter;
67
+ border-bottom: solid 1PX $--border-color-lighter;
68
+ .model-icon {
69
+ width: 20PX;
70
+ height: 20PX;
71
+ }
72
+ }
73
+ .agent-icon {
74
+ position:relative;
75
+ float: left;
76
+ width: 50%;
77
+ height: 210PX;
78
+ }
79
+ .agent-num {
80
+ float: left;
81
+ width: 50%;
82
+ height: 210PX;
83
+ }
84
+ .lianji-success {
85
+ position:relative;
86
+ float: right;
87
+ right: 30PX;
88
+ top: 25PX;
89
+ text-align: center;
90
+ width: 81PX;
91
+ height: 34PX;
92
+ background-color: $--color-primary;
93
+ border-radius: 4PX;
94
+ font-size: 14PX;
95
+ padding:10PX 0;
96
+ color: $--color-white;
97
+ }
98
+ .lianji-fail {
99
+ position:relative;
100
+ float: right;
101
+ right: 30PX;
102
+ top: 25PX;
103
+ text-align: center;
104
+ width: 81PX;
105
+ height: 34PX;
106
+ background-color: #909399;
107
+ border-radius: 4PX;
108
+ font-size: 14PX;
109
+ padding:10PX 0;
110
+ color: $--color-white;
111
+ }
112
+ .lianji-wait {
113
+ position:relative;
114
+ float: right;
115
+ right: 30PX;
116
+ top: 25PX;
117
+ text-align: center;
118
+ width: 110PX;
119
+ height: 34PX;
120
+ background-color: #e6a23c;
121
+ border-radius: 4PX;
122
+ font-size: 14PX;
123
+ padding:10PX 0;
124
+ color: $--color-white;
125
+ }
126
+ .agent-id {
127
+ margin-top: 20PX;
128
+ margin-right: 30PX;
129
+ text-align: right;
130
+ font-size: 14PX;
131
+ font-weight: normal;
132
+ font-stretch: normal;
133
+ letter-spacing: 0PX;
134
+ color: $--color-text-secondary;
135
+ }
136
+ .agent-number {
137
+ margin-top: 10PX;
138
+ margin-right: 30PX;
139
+ text-align: right;
140
+ font-size: 16PX;
141
+ font-weight: normal;
142
+ font-stretch: normal;
143
+ letter-spacing: 0PX;
144
+ color: $--color-text-primary;
145
+ }
146
+ .agent-port {
147
+ margin-top: 20PX;
148
+ margin-right: 30PX;
149
+ text-align: right;
150
+ font-size: 14PX;
151
+ font-weight: normal;
152
+ font-stretch: normal;
153
+ letter-spacing: 0PX;
154
+ color: $--color-text-secondary;
155
+ }
156
+ .port-number {
157
+ margin-top: 10PX;
158
+ margin-right: 30PX;
159
+ text-align: right;
160
+ font-size: 16PX;
161
+ font-weight: normal;
162
+ font-stretch: normal;
163
+ letter-spacing: 0PX;
164
+ color: $--color-text-primary;
165
+ }
166
+ .model-name {
167
+ float: left;
168
+ margin-top: 32PX;
169
+ font-size: 14PX;
170
+ font-weight: normal;
171
+ font-stretch: normal;
172
+ letter-spacing: 0PX;
173
+ color: $--color-text-regular;
174
+ margin-right: 10PX;
175
+ }
176
+ .model-tupian {
177
+ float: left;
178
+ margin-top: 30PX;
179
+ margin-left: 20PX;
180
+ margin-right: 10PX;
181
+ }
182
+ .to-detail {
183
+ float: left;
184
+ margin-top: 35PX;
185
+ line-height: 10PX;
186
+ font-size: 14PX;
187
+ font-weight: normal;
188
+ font-stretch: normal;
189
+ letter-spacing: 0PX;
190
+ color: $--color-primary;
191
+ padding-left: 10PX;
192
+ border-left: 1PX solid $--color-primary;
193
+ cursor: pointer;
194
+ }
195
+
196
+ .control-center {
197
+ // float: left;
198
+ text-align: center;
199
+ margin-top: 40PX;
200
+ font-size: 30PX;
201
+ font-weight: normal;
202
+ font-stretch: normal;
203
+ line-height: 20PX;
204
+ letter-spacing: 0PX;
205
+ color: $--color-text-primary;
206
+ }
207
+ .curr-grade {
208
+ margin-top: 30PX;
209
+ font-size: 24PX;
210
+ font-weight: normal;
211
+ font-stretch: normal;
212
+ line-height: 14PX;
213
+ letter-spacing: 0PX;
214
+ color: $--color-text-regular;
215
+ }
216
+ .curr-num {
217
+ margin-top: 20PX;
218
+ font-size: 14PX;
219
+ font-weight: normal;
220
+ font-stretch: normal;
221
+ line-height: 14PX;
222
+ letter-spacing: 0PX;
223
+ color: $--color-text-secondary;
224
+ }
225
+ .icon-ziyuan:before {
226
+ content: "\e670";
227
+ position:absolute;
228
+ z-index:2;
229
+ left: 45PX;
230
+ top: 72PX;
231
+ // color: #$--color-primary;
232
+ }
233
+ .yuanxing {
234
+ position:absolute;
235
+ left: 20PX;
236
+ top: 50PX;
237
+ z-index:1;
238
+ width: 90PX;
239
+ height: 90PX;
240
+ // background-color: #459ffc;
241
+ opacity: 0.2;
242
+ border-radius: 50%;
243
+ }
244
+ .dev-status {
245
+ position:absolute;
246
+ // text-align: center;
247
+ // margin-top: 150PX;
248
+ // left: 30PX;
249
+ top: 150PX;
250
+ height: 21PX;
251
+ font-size: 22PX;
252
+ font-weight: normal;
253
+ font-stretch: normal;
254
+ line-height: 14PX;
255
+ letter-spacing: 0PX;
256
+ // color: $--color-primary;
257
+ }
258
+ .tuxing-left {
259
+ float: left;
260
+ // margin-top: 20PX;
261
+ margin-left: 1%;
262
+ width: 62%;
263
+ // height: 860PX;
264
+ background-color: $--color-white;
265
+ border: solid 1PX $--border-color-lighter;
266
+ }
267
+ .tuxing-right {
268
+ float: left;
269
+ margin-left: 1%;
270
+ width: 35%;
271
+ box-sizing: border-box;
272
+ background-color: $--color-white;
273
+ border: solid 1PX $--border-color-lighter;
274
+ position: relative;
275
+ overflow-x: auto;
276
+ }
277
+
278
+ .pattern-status {
279
+ min-height: 200PX;
280
+ margin-left: 20PX;
281
+ margin-top: 20PX;
282
+ margin-right: 20PX;
283
+ margin-bottom: 86PX;
284
+ .overLap{
285
+ width: 100% !important;
286
+ }
287
+ }
288
+ .pattern-name {
289
+ display: inline;
290
+ font-size: 20PX;
291
+ font-weight: normal;
292
+ font-stretch: normal;
293
+ line-height: 22PX;
294
+ letter-spacing: 0PX;
295
+ color: $--color-text-primary;
296
+ }
297
+ .pattern-message {
298
+ display: inline;
299
+ margin-left: 10PX;
300
+ font-size: 14PX;
301
+ font-weight: normal;
302
+ font-stretch: normal;
303
+ line-height: 22PX;
304
+ letter-spacing: 0PX;
305
+ color: $--color-text-regular;
306
+ }
307
+
308
+ .cross-mess {
309
+ margin-left: 15PX;
310
+ margin-top: 15PX;
311
+ height: 20PX;
312
+ font-size: 20PX;
313
+ font-weight: normal;
314
+ font-stretch: normal;
315
+ line-height: 22PX;
316
+ letter-spacing: 0PX;
317
+ color: $--color-text-primary;
318
+ }
319
+
320
+
321
+ .el-tag {
322
+ margin-right: 4PX;
323
+ margin-bottom: 4PX;
324
+ }
325
+ .sloat-icon {
326
+ cursor:pointer;
327
+ margin-top: 15PX;
328
+ }
329
+ .control-time {
330
+ margin-top: 40PX;
331
+ font-size: 30PX;
332
+ font-weight: normal;
333
+ font-stretch: normal;
334
+ line-height: 20PX;
335
+ letter-spacing: 0PX;
336
+ color: $--color-text-primary;
337
+ }
338
+ .control-time .time {
339
+ width: 50%;
340
+ display: inline-block;
341
+ text-align: center;
342
+ }
343
+ .control-time span:first-of-type {
344
+ border-right: 1PX solid #e5e5e5;
345
+ }
346
+ .pattern-explain {
347
+ float: right;
348
+ color: $--color-text-regular;
349
+ .el-checkbox__label {
350
+ font-size: 16PX;
351
+ color: $--color-text-regular;
352
+ font-weight: normal;
353
+ font-stretch: normal;
354
+ line-height: 22PX;
355
+ letter-spacing: 0PX;
356
+ }
357
+ }
358
+ .jsontextarea {
359
+ textarea {
360
+ min-height: 200PX !important;
361
+ max-height:300PX;
362
+ }
363
+ }
364
+ .wenzijiemian {
365
+ .container-left {
366
+ margin-top: 0;
367
+ }
368
+ .container-right {
369
+ margin-top: 0;
370
+ }
371
+ }
372
+ }
@@ -1,5 +1,6 @@
1
1
  // 方案配置面板
2
2
  .scheme-config {
3
+ position: relative;
3
4
  .iconfont {
4
5
  font-family: "iconfont" !important;
5
6
  font-size: 34px;
@@ -208,6 +209,14 @@
208
209
  font-weight: 400;
209
210
  line-height: 22px;
210
211
  color: $--color-text-primary;
212
+ span {
213
+ font-size: 14px;
214
+ font-weight: 400;
215
+ color: $--color-text-secondary;
216
+ }
217
+ }
218
+ .col-inner{
219
+ width: 100% !important;
211
220
  }
212
221
  .model-label {
213
222
  margin-top: 14px;
@@ -261,7 +270,96 @@
261
270
  color: $--color-text-secondary;
262
271
  }
263
272
  }
264
-
273
+ .tentativeplan-control{
274
+ height: 100%;
275
+ padding: 21px 0px 21px 28px;
276
+ min-width: 360px;
277
+ overflow: auto;
278
+ .title {
279
+ margin-bottom: 24px;
280
+ font-size: 20px;
281
+ font-weight: 400;
282
+ line-height: 22px;
283
+ color: $--color-text-primary;
284
+ span {
285
+ font-size: 14px;
286
+ font-weight: 400;
287
+ color: $--color-text-secondary;
288
+ }
289
+ }
290
+ .col-inner{
291
+ // width: 100% !important;
292
+ }
293
+ .model-label {
294
+ margin-top: 14px;
295
+ }
296
+ .stage-label {
297
+ margin-top: 30px;
298
+ }
299
+ .el-input--mini{
300
+ width: 85px;
301
+ }
302
+ .footer {
303
+ float: right;
304
+ margin: 38px 24px 40px 0;
305
+ }
306
+ .el-form-item {
307
+ margin-bottom: 0px;
308
+ }
309
+ .el-form-item__label {
310
+ font-size: 14px;
311
+ font-weight: 400;
312
+ color: $--color-text-secondary;
313
+ }
314
+ .el-dialog__footer {
315
+ padding: 10px 72px 38px 0;
316
+ }
317
+ .el-dialog__header {
318
+ padding: 19px 30px;
319
+ }
320
+ .el-select {
321
+ width: 85px;
322
+ }
323
+ .el-input-number {
324
+ width: 100%;
325
+ .el-input__inner {
326
+ text-align: left;
327
+ }
328
+ }
329
+ .footer {
330
+ button {
331
+ width: 56px;
332
+ height: 32px;
333
+ padding: 0;
334
+ text-align: center;
335
+ line-height: 30px;
336
+ font-size: 12px;
337
+ font-weight: normal;
338
+ font-stretch: normal;
339
+ }
340
+ }
341
+ .model-label, .stage-label {
342
+ color: $--color-text-secondary;
343
+ }
344
+ .closephasekanban {
345
+ width: 60%;
346
+ margin: 0 auto;
347
+ margin-bottom: 13px;
348
+ }
349
+ .ex
350
+ .el-input {
351
+ width: 85% !important;
352
+ }
353
+ .el-input.is-disabled .el-input__inner {
354
+ text-align: center;
355
+ }
356
+ .el-input-number {
357
+ width: 100%;
358
+ .el-input__inner {
359
+ text-align: center;
360
+ }
361
+ }
362
+ }
265
363
  .closephase-control{
266
364
  height: 100%;
267
365
  min-width: 250px;
@@ -0,0 +1,65 @@
1
+
2
+ //阶段图
3
+ .intersection-stages {
4
+ .cross-content {
5
+ margin-top: 19px;
6
+ // margin-left: 7px;
7
+ overflow: hidden;
8
+ }
9
+ .cross-name {
10
+ // height: 13px;
11
+ font-size: 14px;
12
+ font-weight: normal;
13
+ font-stretch: normal;
14
+ line-height: 22px;
15
+ letter-spacing: 0px;
16
+ color: $--color-text-regular;
17
+ }
18
+ .control-model {
19
+ float: left;
20
+ margin-top: 10px;
21
+ // margin-left: 15px;
22
+ }
23
+ .single-model {
24
+ margin-right: 10px;
25
+ text-align: center;
26
+ cursor:pointer;
27
+ width: 70px;
28
+ height: 65px;
29
+ background-color: #edf6ff;
30
+ border-radius: 6px;
31
+ line-height: 1.15;
32
+ .patternWalk{
33
+ left: 8px !important;
34
+ top: 5px !important;
35
+ }
36
+ }
37
+ .single-model-select {
38
+ margin-right: 10px;
39
+ text-align: center;
40
+ cursor:pointer;
41
+ width: 70px;
42
+ height: 65px;
43
+ background-color: #a2cfff;
44
+ border-radius: 6px;
45
+ // border: solid 1px #409eff;
46
+ }
47
+ .single-model-name {
48
+ margin-top: 3px;
49
+ font-size: 12px;
50
+ font-weight: normal;
51
+ font-stretch: normal;
52
+ // line-height: 22px;
53
+ letter-spacing: 0px;
54
+ color: #606266;
55
+ }
56
+ .current-stage-num {
57
+ margin-top: 3px;
58
+ font-size: 12px;
59
+ font-weight: bold;
60
+ font-stretch: normal;
61
+ letter-spacing: 0px;
62
+ // color: #303133;
63
+ color:#606266;
64
+ }
65
+ }