openatc-components 0.3.117 → 0.3.119
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.
- package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/package/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +12 -66
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/package/kisscomps/components/OverLap/OverLap.vue +1 -1
- package/package/kisscomps/components/OverviewComponent/index.vue +7 -11
- package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +20 -85
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +12 -13
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +2 -1
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +2 -34
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +6 -1
- package/package/kisscomps/components/StageOptimize/StageOptimize.vue +109 -52
- package/package/kisscomps/components/overView/index.vue +2 -2
- package/package/kisscomps/components/patternList/patternList.vue +0 -11
- package/package/kisscomps/index.js +0 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +12 -12
- package/src/i18n/language/zh.js +17 -17
- package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/src/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +12 -66
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/src/kisscomps/components/OverLap/OverLap.vue +1 -1
- package/src/kisscomps/components/OverviewComponent/index.vue +7 -11
- package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +20 -85
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +12 -13
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +2 -1
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +2 -34
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +6 -1
- package/src/kisscomps/components/overView/index.vue +2 -2
- package/src/kisscomps/components/patternList/patternList.vue +0 -11
- package/src/kisscomps/index.js +0 -2
- package/src/utils/ControlFormat.js +2 -2
- package/src/views/intersection.vue +6 -7
- package/src/views/intersection2.vue +4 -4
- package/src/views/overView.vue +5 -27
- package/static/styles/common.scss +3 -3
- package/static/styles/dark/theme/element-dark.scss +1 -1
- package/static/styles/intersection.scss +15 -5
- package/static/styles/light/theme/element-light.scss +1 -1
- package/static/styles/schemeconfig.scss +3 -6
- package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
- package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
- package/src/kisscomps/components/StageOptimize/StageOptimize.vue +0 -310
- package/src/kisscomps/components/StageOptimize/index.js +0 -2
- package/src/node_modules/.package_versions.json +0 -1
|
@@ -227,7 +227,7 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
227
227
|
</g>
|
|
228
228
|
</svg>
|
|
229
229
|
<svg
|
|
230
|
-
v-if="type === '
|
|
230
|
+
v-if="type === '自适应'"
|
|
231
231
|
version="1.1"
|
|
232
232
|
id="图层_1"
|
|
233
233
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -266,7 +266,7 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
266
266
|
</svg>
|
|
267
267
|
|
|
268
268
|
<svg
|
|
269
|
-
v-if="type === '
|
|
269
|
+
v-if="type === '方案生成'"
|
|
270
270
|
xmlns="http://www.w3.org/2000/svg"
|
|
271
271
|
viewBox="0 0 24.53 21.2"
|
|
272
272
|
:width="iconWidth"
|
|
@@ -399,38 +399,6 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
399
399
|
p-id="6532"
|
|
400
400
|
></path>
|
|
401
401
|
</svg>
|
|
402
|
-
|
|
403
|
-
<svg
|
|
404
|
-
v-if="type === '感应式自适应'"
|
|
405
|
-
t="1734600340213"
|
|
406
|
-
class="icon"
|
|
407
|
-
viewBox="0 0 1252 1024"
|
|
408
|
-
version="1.1"
|
|
409
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
410
|
-
p-id="12292"
|
|
411
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
412
|
-
:width="iconWidth"
|
|
413
|
-
:height="iconHeight"
|
|
414
|
-
>
|
|
415
|
-
<path
|
|
416
|
-
:class="themeColor"
|
|
417
|
-
d="M48.597631 254.131387c22.423358 0 44.846715-18.686131 44.846715-44.846715V85.956204h130.80292c18.686131 0 41.109489-18.686131 41.109489-41.109489C265.356755 18.686131 242.933398 0 220.51004 0H48.597631C22.437047 0 3.750916 18.686131 3.750916 44.846715v168.175183c0 22.423358 18.686131 41.109489 44.846715 41.109489zM1203.400551 0h-168.175183c-22.423358 0-44.846715 18.686131-44.846715 44.846715 0 22.423358 18.686131 44.846715 44.846715 44.846716h123.328467v130.802919c0 22.423358 18.686131 44.846715 44.846716 44.846716 22.423358 0 44.846715-18.686131 44.846715-44.846716V44.846715C1244.51004 18.686131 1225.823908 0 1203.400551 0zM1203.400551 766.131387c-22.423358 0-44.846715 18.686131-44.846716 44.846715V934.306569h-130.802919c-22.423358 3.737226-41.109489 22.423358-41.109489 48.583942 3.737226 22.423358 18.686131 37.372263 41.109489 41.109489H1199.663325c22.423358 0 44.846715-18.686131 44.846715-44.846715v-168.175183c0-26.160584-18.686131-44.846715-41.109489-44.846715zM213.035587 930.569343H89.70712v-130.80292c0-22.423358-18.686131-44.846715-44.846715-44.846715-22.423358 0-44.846715 18.686131-44.846716 44.846715V971.678832c0 22.423358 18.686131 44.846715 44.846716 44.846715h168.175182c22.423358-3.737226 41.109489-22.423358 41.109489-48.583941-3.737226-18.686131-18.686131-33.635036-41.109489-37.372263zM556.860405 186.861314H328.889602C284.042887 186.861314 250.40785 224.233577 250.40785 269.080292v485.839416c0 44.846715 33.635036 78.481752 78.481752 78.481752h227.970803c44.846715 0 78.481752-33.635036 78.481752-78.481752v-485.839416C635.342157 224.233577 601.70712 186.861314 556.860405 186.861314z m18.686131 568.058394c0 11.211679-7.474453 18.686131-18.686131 18.686131H328.889602c-11.211679 0-18.686131-7.474453-18.686132-18.686131v-485.839416c0-11.211679 7.474453-18.686131 18.686132-18.686131h227.970803c7.474453 0 14.948905 7.474453 18.686131 18.686131v485.839416zM881.999091 235.445255l-7.474453-7.474452c-11.211679-11.211679-29.89781-11.211679-41.109489 0-11.211679 11.211679-11.211679 29.89781 0 41.109489 130.80292 130.80292 134.540146 343.824818 3.737227 474.627737l-3.737227 3.737226c-11.211679 11.211679-11.211679 29.89781 0 41.10949 7.474453 3.737226 14.948905 7.474453 22.423358 7.474452 7.474453 0 14.948905-3.737226 22.423358-7.474452 153.226277-145.751825 156.963504-396.145985 3.737226-553.10949z"
|
|
418
|
-
fill="#606266"
|
|
419
|
-
p-id="12293"
|
|
420
|
-
></path>
|
|
421
|
-
<path
|
|
422
|
-
:class="themeColor"
|
|
423
|
-
d="M784.831208 336.350365c-7.474453-14.948905-26.160584-18.686131-41.109489-7.474453-14.948905 11.211679-14.948905 29.89781-7.474453 41.109489 0 3.737226 3.737226 3.737226 7.474453 7.474453 37.372263 33.635036 56.058394 82.218978 56.058394 130.80292s-18.686131 97.167883-56.058394 130.802919c-11.211679 11.211679-11.211679 29.89781 0 41.109489 7.474453 3.737226 14.948905 7.474453 22.423357 7.474453s14.948905-3.737226 22.423358-7.474453c44.846715-44.846715 71.007299-108.379562 71.007299-171.912408s-26.160584-123.328467-74.744525-171.912409z"
|
|
424
|
-
fill="#606266"
|
|
425
|
-
p-id="12294"
|
|
426
|
-
></path>
|
|
427
|
-
<path
|
|
428
|
-
:class="themeColor"
|
|
429
|
-
d="M702.61223 467.153285c-18.686131 0-29.89781 11.211679-29.897811 26.160584v29.89781c0 14.948905 11.211679 26.160584 26.160584 26.160584h3.737227c14.948905 0 26.160584-11.211679 26.160584-26.160584v-33.635037c3.737226-11.211679-11.211679-22.423358-26.160584-22.423357z"
|
|
430
|
-
fill="#606266"
|
|
431
|
-
p-id="12295"
|
|
432
|
-
></path>
|
|
433
|
-
</svg>
|
|
434
402
|
</span>
|
|
435
403
|
</template>
|
|
436
404
|
|
|
@@ -47,7 +47,9 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
<div class="cross-content" v-if="platform">
|
|
49
49
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.platform')}}:</div>
|
|
50
|
-
<div style="margin-left: 85px;" class="cross-value">
|
|
50
|
+
<div style="margin-left: 85px;" class="cross-value">
|
|
51
|
+
{{firm !== undefined && firm !== '' ? firm : platform}}
|
|
52
|
+
</div>
|
|
51
53
|
</div>
|
|
52
54
|
<div class="cross-content" v-if="controlData.current_stagecd !== undefined">
|
|
53
55
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stagecountdown')}}:</div>
|
|
@@ -223,6 +225,9 @@ export default {
|
|
|
223
225
|
platform: {
|
|
224
226
|
type: String
|
|
225
227
|
},
|
|
228
|
+
firm: {
|
|
229
|
+
type: String
|
|
230
|
+
},
|
|
226
231
|
curFaultList: {
|
|
227
232
|
type: Array
|
|
228
233
|
},
|
|
@@ -11,7 +11,46 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
13
|
<div>
|
|
14
|
-
<div
|
|
14
|
+
<div class="optimizetype">
|
|
15
|
+
<span>{{$t('openatccomponents.pattern.optimizetype')}}</span>
|
|
16
|
+
<el-select v-model="value" clearable :placeholder="$t('openatccomponents.common.select')">
|
|
17
|
+
<el-option
|
|
18
|
+
v-for="item in typeOptions"
|
|
19
|
+
:key="item.value"
|
|
20
|
+
:label="$t('openatccomponents.overview.type' + item.value)"
|
|
21
|
+
:value="item.value"
|
|
22
|
+
>
|
|
23
|
+
</el-option>
|
|
24
|
+
</el-select>
|
|
25
|
+
<span class="optimiNum">{{$t('openatccomponents.pattern.optimizecycle')}}</span>
|
|
26
|
+
<el-input v-model="optimizecycle" clearable :placeholder="$t('openatccomponents.common.enter')"></el-input>
|
|
27
|
+
<!-- <el-button type="primary" @click="optimize()">{{$t('openatccomponents.pattern.inoptimize')}}</el-button> -->
|
|
28
|
+
</div>
|
|
29
|
+
<el-table class="tb-edit" ref="singleTables" row-key="id" :data="tableRing" element-loading-text="Loading" :max-height="tableHeight" fit highlight-current-row id="footerBtn">
|
|
30
|
+
<el-table-column prop="id" sortable align="center" :label="$t('openatccomponents.overview.id')">
|
|
31
|
+
<template slot-scope="scope">
|
|
32
|
+
<span>{{scope.row.id}}</span>
|
|
33
|
+
</template>
|
|
34
|
+
</el-table-column>
|
|
35
|
+
<el-table-column class="table-column" :label="$t('openatccomponents.overview.phase')" align="center">
|
|
36
|
+
<template slot-scope="scope">
|
|
37
|
+
<xdrdirselector Width="70px" Height="70px" Widths="58px" Heights="58px" :Datas="styles" :Data="showStyle" :showlist="scope.row.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></xdrdirselector>
|
|
38
|
+
</template>
|
|
39
|
+
</el-table-column>
|
|
40
|
+
<el-table-column class="table-column" :label="$t('openatccomponents.overview.flow')" align="center">
|
|
41
|
+
<template slot-scope="scope">
|
|
42
|
+
<el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="scope.row.flowperhour" ref="type"></el-input-number>
|
|
43
|
+
<!-- <span>{{scope.row.flowperhour}}</span> -->
|
|
44
|
+
</template>
|
|
45
|
+
</el-table-column>
|
|
46
|
+
<el-table-column align="center" :label="$t('openatccomponents.overview.saturationflow')">
|
|
47
|
+
<template slot-scope="scope">
|
|
48
|
+
<el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="scope.row.saturation" ref="types"></el-input-number>
|
|
49
|
+
<!-- <span>{{scope.row.saturation}}</span> -->
|
|
50
|
+
</template>
|
|
51
|
+
</el-table-column>
|
|
52
|
+
</el-table>
|
|
53
|
+
<!-- <div v-if="this.nowNumber === 1" class="optimizetype">
|
|
15
54
|
<span>{{$t('openatccomponents.pattern.optimizetype')}}</span>
|
|
16
55
|
<el-select v-model="value" clearable :placeholder="$t('openatccomponents.common.select')">
|
|
17
56
|
<el-option
|
|
@@ -31,12 +70,14 @@
|
|
|
31
70
|
{{headerText}}
|
|
32
71
|
</div>
|
|
33
72
|
<div class="common-board-table-header">
|
|
34
|
-
<el-row :gutter="
|
|
73
|
+
<el-row :gutter="5">
|
|
74
|
+
<el-col :span="2">{{this.$t('openatccomponents.overview.id')}}
|
|
75
|
+
</el-col>
|
|
35
76
|
<el-col :span="4">{{this.$t('openatccomponents.overview.phase')}}
|
|
36
77
|
</el-col>
|
|
37
|
-
<el-col :span="
|
|
78
|
+
<el-col :span="9">{{this.$t('openatccomponents.overview.flow')}}
|
|
38
79
|
</el-col>
|
|
39
|
-
<el-col :span="
|
|
80
|
+
<el-col :span="9">{{this.$t('openatccomponents.overview.saturationflow')}}
|
|
40
81
|
</el-col>
|
|
41
82
|
</el-row>
|
|
42
83
|
</div>
|
|
@@ -45,7 +86,10 @@
|
|
|
45
86
|
:list="stageData"
|
|
46
87
|
:options="options">
|
|
47
88
|
<div class="common-board-item" v-for="element in stageData" :key="element.id">
|
|
48
|
-
<el-row :gutter="
|
|
89
|
+
<el-row :gutter="5">
|
|
90
|
+
<el-col :span="2">
|
|
91
|
+
{{element.id}}
|
|
92
|
+
</el-col>
|
|
49
93
|
<el-col :span="4">
|
|
50
94
|
<el-tooltip class="item" effect="dark" placement="left">
|
|
51
95
|
<div slot="content">{{element.name}}</div>
|
|
@@ -54,16 +98,16 @@
|
|
|
54
98
|
</div>
|
|
55
99
|
</el-tooltip>
|
|
56
100
|
</el-col>
|
|
57
|
-
<el-col :span="
|
|
101
|
+
<el-col :span="9">
|
|
58
102
|
<el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="element.flowperhour" ref="type" :disabled="element.mode === 7"></el-input-number>
|
|
59
103
|
</el-col>
|
|
60
|
-
<el-col :span="
|
|
104
|
+
<el-col :span="9">
|
|
61
105
|
<el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="element.saturation" ref="types" :disabled="element.mode === 7"></el-input-number>
|
|
62
106
|
</el-col>
|
|
63
107
|
</el-row>
|
|
64
108
|
</div>
|
|
65
109
|
</draggable>
|
|
66
|
-
</div>
|
|
110
|
+
</div> -->
|
|
67
111
|
</div>
|
|
68
112
|
</template>
|
|
69
113
|
<script>
|
|
@@ -79,14 +123,15 @@ export default {
|
|
|
79
123
|
},
|
|
80
124
|
data () {
|
|
81
125
|
return {
|
|
82
|
-
showStyle: {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
},
|
|
86
|
-
styles: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
},
|
|
126
|
+
// showStyle: {
|
|
127
|
+
// left: '2px',
|
|
128
|
+
// top: '0px'
|
|
129
|
+
// },
|
|
130
|
+
// styles: {
|
|
131
|
+
// left: '1px',
|
|
132
|
+
// top: '0px'
|
|
133
|
+
// },
|
|
134
|
+
tableHeight: 400,
|
|
90
135
|
typeOptions: [{
|
|
91
136
|
value: 'flow-split-opt'
|
|
92
137
|
}, {
|
|
@@ -101,6 +146,15 @@ export default {
|
|
|
101
146
|
type: String,
|
|
102
147
|
default: 'Header'
|
|
103
148
|
},
|
|
149
|
+
tableRing: {
|
|
150
|
+
type: Array
|
|
151
|
+
},
|
|
152
|
+
showStyle: {
|
|
153
|
+
type: Object
|
|
154
|
+
},
|
|
155
|
+
styles: {
|
|
156
|
+
type: Object
|
|
157
|
+
},
|
|
104
158
|
contrloType: {
|
|
105
159
|
type: String
|
|
106
160
|
},
|
|
@@ -149,12 +203,12 @@ export default {
|
|
|
149
203
|
},
|
|
150
204
|
created () {
|
|
151
205
|
// this.addMinSplit()
|
|
152
|
-
this.addMin()
|
|
206
|
+
// this.addMin()
|
|
153
207
|
},
|
|
154
208
|
watch: {
|
|
155
209
|
list: {
|
|
156
210
|
handler: function () {
|
|
157
|
-
this.addMin()
|
|
211
|
+
// this.addMin()
|
|
158
212
|
// let list = this.$refs.type
|
|
159
213
|
// let flow = this.$refs.types
|
|
160
214
|
// console.log(this.list, 'list')
|
|
@@ -174,7 +228,7 @@ export default {
|
|
|
174
228
|
},
|
|
175
229
|
stageData: {
|
|
176
230
|
handler: function () {
|
|
177
|
-
this.addMins()
|
|
231
|
+
// this.addMins()
|
|
178
232
|
// let list = this.$refs.type
|
|
179
233
|
// let flow = this.$refs.types
|
|
180
234
|
// console.log(this.list, 'list')
|
|
@@ -196,16 +250,19 @@ export default {
|
|
|
196
250
|
methods: {
|
|
197
251
|
optimize () {
|
|
198
252
|
let _that = this
|
|
199
|
-
let newPha = []
|
|
200
|
-
for (let i = 0; i < _that.rings.rings.length; i++) {
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
let phaseData = newPha.map(item => {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
253
|
+
// let newPha = []
|
|
254
|
+
// for (let i = 0; i < _that.rings.rings.length; i++) {
|
|
255
|
+
// newPha.push(..._that.rings.rings[i])
|
|
256
|
+
// }
|
|
257
|
+
// let phaseData = newPha.map(item => {
|
|
258
|
+
// return {
|
|
259
|
+
// id: item.id,
|
|
260
|
+
// flowperhour: item.flowperhour,
|
|
261
|
+
// saturation: item.saturation
|
|
262
|
+
// }
|
|
263
|
+
// })
|
|
264
|
+
this.tableRing.map(item => {
|
|
265
|
+
delete item.desc
|
|
209
266
|
})
|
|
210
267
|
// let patternList = _that.$store.state.globalParam.tscParam.patternList
|
|
211
268
|
// console.log(patternList, 'patternList')
|
|
@@ -215,12 +272,12 @@ export default {
|
|
|
215
272
|
'optcycle': _that.optimizecycle,
|
|
216
273
|
'phaseList': _that.phaseList,
|
|
217
274
|
'pattern': pattern,
|
|
218
|
-
'phases':
|
|
275
|
+
'phases': this.tableRing
|
|
219
276
|
}
|
|
220
277
|
let isValidata = []
|
|
221
|
-
for (let j = 0; j <
|
|
222
|
-
let comNum = (
|
|
223
|
-
isValidata.push(
|
|
278
|
+
for (let j = 0; j < this.tableRing.length; j++) {
|
|
279
|
+
let comNum = (this.tableRing[j].length / 4) * 1700 * 0.8
|
|
280
|
+
isValidata.push(this.tableRing[j].flowperhour > comNum)
|
|
224
281
|
}
|
|
225
282
|
if (isValidata.includes(true)) {
|
|
226
283
|
this.$confirm(this.$t('openatccomponents.overview.maxFlow'),
|
|
@@ -265,25 +322,25 @@ export default {
|
|
|
265
322
|
console.log(error)
|
|
266
323
|
})
|
|
267
324
|
}
|
|
268
|
-
},
|
|
269
|
-
addMins () {
|
|
270
|
-
for (let i of this.stageData) {
|
|
271
|
-
if (!i.flowperhour || !i.saturation) {
|
|
272
|
-
i.flowperhour = 0
|
|
273
|
-
i.saturation = 1700
|
|
274
|
-
i.length = this.list.length
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
addMin () {
|
|
279
|
-
for (let i of this.list) {
|
|
280
|
-
if (!i.flowperhour || !i.saturation) {
|
|
281
|
-
i.flowperhour = 0
|
|
282
|
-
i.saturation = 1700
|
|
283
|
-
i.length = this.list.length
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
325
|
}
|
|
326
|
+
// addMins () {
|
|
327
|
+
// for (let i of this.stageData) {
|
|
328
|
+
// if (!i.flowperhour || !i.saturation) {
|
|
329
|
+
// i.flowperhour = 0
|
|
330
|
+
// i.saturation = 1700
|
|
331
|
+
// i.length = this.list.length
|
|
332
|
+
// }
|
|
333
|
+
// }
|
|
334
|
+
// },
|
|
335
|
+
// addMin () {
|
|
336
|
+
// for (let i of this.list) {
|
|
337
|
+
// if (!i.flowperhour || !i.saturation) {
|
|
338
|
+
// i.flowperhour = 0
|
|
339
|
+
// i.saturation = 1700
|
|
340
|
+
// i.length = this.list.length
|
|
341
|
+
// }
|
|
342
|
+
// }
|
|
343
|
+
// }
|
|
287
344
|
}
|
|
288
345
|
}
|
|
289
346
|
</script>
|
|
@@ -292,7 +349,7 @@ export default {
|
|
|
292
349
|
width: 100%;
|
|
293
350
|
}
|
|
294
351
|
.optimizetype{
|
|
295
|
-
position: absolute;
|
|
352
|
+
// position: absolute;
|
|
296
353
|
margin:0 0 10PX 0;
|
|
297
354
|
.el-input {
|
|
298
355
|
width: 80PX;
|
|
@@ -153,8 +153,8 @@ export default {
|
|
|
153
153
|
volumeControlTimer: null, // 流量定时器
|
|
154
154
|
ParamsMode: new Map([[0, '自主控制'], [1, '本地手动'], [2, '平台控制'], [3, '配置软件控制'], [4, '遥控器控制'], [5, '黄闪器控制'], [6, '降级控制'], [7, '脚本控制'], [8, '算法控制']]),
|
|
155
155
|
ParamsModeEn: new Map([[0, 'Autonomous Control'], [1, 'Local Manual'], [2, 'Platform Control'], [3, 'Configuration Software Control'], [4, 'Remote Control'], [5, 'Yellow Flasher Control'], [6, 'Degradation Control'], [7, 'Script Control'], [8, 'Algorithm Control']]),
|
|
156
|
-
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '
|
|
157
|
-
ParamsControlEn: new Map([[0, 'Multi Period'], [1, 'Yellow Flash Control'], [2, 'Red Control'], [3, 'Dark Control'], [4, 'Step'], [5, 'Fixed_Cycle Control'], [6, 'Free Control'], [7, 'Coordinated Induction Control'], [8, 'Pattern Selection Control'], [9, 'Adaptive Control'], [10, 'Wireless Control'], [11, 'Cable Control'], [12, 'Pedestrian Crossing Control'], [13, 'Pattern recovery'], [14, 'Phase dwell'], [15, 'Channel Detection'], [16, 'Direction lock'], [17, 'Webster Single Point Coordination'], [18, '
|
|
156
|
+
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '自适应'], [7, '协调感应控制'], [8, '方案选择控制'], [9, '方案生成'], [10, '无电缆控制'], [11, '有电缆控制'], [12, '行人过街控制'], [13, '方案恢复过渡'], [14, '相位驻留'], [15, '通道检测'], [16, '方向锁定'], [17, '韦伯斯特单点控制'], [18, '预留18'], [19, '感应式行人过街'], [20, '方案干预'], [100, '方案干预'], [21, '预留21'], [22, '相位锁定'], [23, '相位放行控制'], [24, '紧急控制'], [99, '设备维护']]),
|
|
157
|
+
ParamsControlEn: new Map([[0, 'Multi Period'], [1, 'Yellow Flash Control'], [2, 'Red Control'], [3, 'Dark Control'], [4, 'Step'], [5, 'Fixed_Cycle Control'], [6, 'Free Control'], [7, 'Coordinated Induction Control'], [8, 'Pattern Selection Control'], [9, 'Adaptive Control'], [10, 'Wireless Control'], [11, 'Cable Control'], [12, 'Pedestrian Crossing Control'], [13, 'Pattern recovery'], [14, 'Phase dwell'], [15, 'Channel Detection'], [16, 'Direction lock'], [17, 'Webster Single Point Coordination'], [18, 'Reserving18'], [19, 'Inductive Pedestrian Crossing Control'], [20, 'Program Intervention'], [100, 'Program Intervention'], [21, 'Reserving21'], [22, 'Priority Control'], [23, 'Close Phase'], [24, 'Emergency Control'], [99, 'Device Mantenance']]),
|
|
158
158
|
phaseType: new Map([[1, '红'], [2, '黄'], [3, '绿']]), // phaseType表示红,黄,绿
|
|
159
159
|
phaseTypeEn: new Map([[1, 'Red'], [2, 'Yellow'], [3, 'Green']]), // phaseType表示红,黄,绿
|
|
160
160
|
ip: '--',
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
:contrloType="contrloType"
|
|
6
6
|
:stagesChange="stagesChange"
|
|
7
7
|
:isShowTip="isShowTip"
|
|
8
|
-
:isMove="isMove"
|
|
9
8
|
:patternStatusList="patternStatusList"
|
|
10
9
|
:cycles="cycles"
|
|
11
10
|
:cycle="cycle"
|
|
@@ -20,7 +19,6 @@
|
|
|
20
19
|
:agentId="agentId"
|
|
21
20
|
:controlData="controlData"
|
|
22
21
|
:syncTime="syncTime"
|
|
23
|
-
@handleSplitMove="handleSplitMove"
|
|
24
22
|
:isPhase="isPhase"
|
|
25
23
|
>
|
|
26
24
|
</BoardCard>
|
|
@@ -504,10 +502,6 @@ export default {
|
|
|
504
502
|
type: Boolean,
|
|
505
503
|
default: true
|
|
506
504
|
},
|
|
507
|
-
isMove: {
|
|
508
|
-
type: Boolean,
|
|
509
|
-
default: true
|
|
510
|
-
},
|
|
511
505
|
contrloType: {
|
|
512
506
|
type: String
|
|
513
507
|
},
|
|
@@ -587,11 +581,6 @@ export default {
|
|
|
587
581
|
// if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
588
582
|
// this.resetCrossDiagram()
|
|
589
583
|
// }
|
|
590
|
-
},
|
|
591
|
-
methods: {
|
|
592
|
-
handleSplitMove (data) {
|
|
593
|
-
this.$emit('handleSplitMove', data)
|
|
594
|
-
}
|
|
595
584
|
}
|
|
596
585
|
}
|
|
597
586
|
</script>
|
|
@@ -12,7 +12,6 @@ import FaultDetailModal from './components/FaultDetailModal/index'
|
|
|
12
12
|
import CommonKanban from './components/CommonKanban/index'
|
|
13
13
|
import patternList from './components/patternList/index'
|
|
14
14
|
import PatternStatus from './components/PatternStatus/index'
|
|
15
|
-
import StageOptimize from './components/StageOptimize/index'
|
|
16
15
|
import BoardCard from './components/BoardCard/index'
|
|
17
16
|
import StageStatus from './components/StageStatus/index'
|
|
18
17
|
import OverLap from './components/OverLap/index'
|
|
@@ -70,7 +69,6 @@ const components = {
|
|
|
70
69
|
priorityControl,
|
|
71
70
|
tentativeplancontrolmodal,
|
|
72
71
|
PhaseDirectionText,
|
|
73
|
-
StageOptimize,
|
|
74
72
|
patternConfig,
|
|
75
73
|
XiaoKanBan,
|
|
76
74
|
PhaseDirectionSelect,
|