openatc-components 0.2.70 → 0.2.72
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 -4
- package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PatternWalkSvg.vue +429 -0
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +65 -11
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +17 -94
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +11 -7
- package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +9 -5
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +7 -5
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +41 -10
- package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +9 -5
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
- package/package/kisscomps/components/Stages/index.vue +2 -1
- package/package/kisscomps/components/patternList/patternList.vue +0 -4
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/api/cross.js +4 -0
- package/src/api/template.js +4 -0
- package/src/i18n/language/zh.js +2 -2
- package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -4
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +65 -11
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +17 -94
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +11 -7
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +9 -5
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +7 -5
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +41 -10
- package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +9 -5
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
- package/src/kisscomps/components/Stages/index.vue +2 -1
- package/src/kisscomps/components/patternList/patternList.vue +0 -4
- package/src/views/overView.vue +1 -1
- package/static/styles/commonkanban.scss +3 -3
- package/static/styles/overview.scss +2 -2
- package/static/styles/schemeconfig.scss +38 -23
- package/src/node_modules/.package_versions.json +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="priority-control">
|
|
2
|
+
<div class="priority-control manual-common-content">
|
|
3
3
|
<!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.prioritycontrol')}}</div> -->
|
|
4
4
|
<el-row>
|
|
5
5
|
<el-col :span="12">
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
</el-col>
|
|
87
87
|
</el-row>
|
|
88
88
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
89
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
90
|
-
<el-button
|
|
89
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
90
|
+
<el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
91
91
|
<el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
|
|
92
92
|
</div>
|
|
93
93
|
<div class="footer" v-if="!realtimeStatusModalvisible">
|
|
94
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
95
|
-
<el-button
|
|
94
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
95
|
+
<el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
96
96
|
<el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
|
|
97
97
|
</div>
|
|
98
98
|
</div>
|
|
@@ -114,6 +114,10 @@ export default {
|
|
|
114
114
|
},
|
|
115
115
|
phaseList: {
|
|
116
116
|
type: Array
|
|
117
|
+
},
|
|
118
|
+
isShowBack: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: true
|
|
117
121
|
}
|
|
118
122
|
},
|
|
119
123
|
data () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="tentativeplan-control">
|
|
2
|
+
<div class="tentativeplan-control manual-common-content">
|
|
3
3
|
<!-- <div class="title" style="margin-bottom: 18px">
|
|
4
4
|
{{ $t('openatccomponents.overview.tentativeplan') }}
|
|
5
5
|
</div> -->
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</el-form>
|
|
93
93
|
</el-col>
|
|
94
94
|
</el-row>
|
|
95
|
-
<el-row>
|
|
95
|
+
<el-row style="margin-top: 20px;">
|
|
96
96
|
<el-radio v-model="isRing" :label="false" @change="changeRing">{{
|
|
97
97
|
$t('openatccomponents.common.ringStyle')
|
|
98
98
|
}}</el-radio>
|
|
@@ -126,14 +126,14 @@
|
|
|
126
126
|
>
|
|
127
127
|
</pattern-list>
|
|
128
128
|
</el-row>
|
|
129
|
-
<el-row>
|
|
129
|
+
<el-row style="margin-top: 20px;">
|
|
130
130
|
<el-tabs v-model="activeTab" type="card">
|
|
131
131
|
<el-tab-pane
|
|
132
132
|
v-if="!isRing"
|
|
133
133
|
:label="$t('openatccomponents.pattern.ringConfig')"
|
|
134
134
|
name="kanban"
|
|
135
135
|
>
|
|
136
|
-
<div style="width: 100%; overflow: hidden;
|
|
136
|
+
<div style="width: 100%; overflow: hidden;">
|
|
137
137
|
<kan-ban
|
|
138
138
|
v-for="n in ringCount"
|
|
139
139
|
:key="n"
|
|
@@ -315,19 +315,19 @@
|
|
|
315
315
|
</el-tabs>
|
|
316
316
|
</el-row>
|
|
317
317
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
318
|
-
<el-button @click="handleClose()">{{
|
|
318
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{
|
|
319
319
|
$t('openatccomponents.button.Back')
|
|
320
320
|
}}</el-button>
|
|
321
|
-
<el-button
|
|
321
|
+
<el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
322
322
|
<el-button type="primary" @click="handleManualControl()">{{
|
|
323
323
|
$t('openatccomponents.overview.implement')
|
|
324
324
|
}}</el-button>
|
|
325
325
|
</div>
|
|
326
326
|
<div class="footer" v-if="!realtimeStatusModalvisible">
|
|
327
|
-
<el-button @click="handleClose()">{{
|
|
327
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{
|
|
328
328
|
$t('openatccomponents.button.Back')
|
|
329
329
|
}}</el-button>
|
|
330
|
-
<el-button
|
|
330
|
+
<el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
331
331
|
<el-button type="primary" @click="handleManualControl()">{{
|
|
332
332
|
$t('openatccomponents.overview.comfirm')
|
|
333
333
|
}}</el-button>
|
|
@@ -359,6 +359,10 @@ export default {
|
|
|
359
359
|
},
|
|
360
360
|
patternSelect: {
|
|
361
361
|
type: Array
|
|
362
|
+
},
|
|
363
|
+
isShowBack: {
|
|
364
|
+
type: Boolean,
|
|
365
|
+
default: true
|
|
362
366
|
}
|
|
363
367
|
},
|
|
364
368
|
watch: {
|
|
@@ -298,6 +298,7 @@ export default {
|
|
|
298
298
|
dirListSetTheme (list) {
|
|
299
299
|
let dirArr = []
|
|
300
300
|
let color = getTheme() === 'light' ? '#606266' : '#F1F3F4'
|
|
301
|
+
let pedColor = getTheme() === 'light' ? '#606266' : 'rgba(255, 255, 255, 0.6)'
|
|
301
302
|
for (let rec of list) {
|
|
302
303
|
let recd = {
|
|
303
304
|
...rec,
|
|
@@ -305,7 +306,7 @@ export default {
|
|
|
305
306
|
}
|
|
306
307
|
dirArr.push(recd)
|
|
307
308
|
for(let i=0;i<rec.peddirection.length;i++) {
|
|
308
|
-
rec.peddirection[i].color =
|
|
309
|
+
rec.peddirection[i].color = pedColor
|
|
309
310
|
}
|
|
310
311
|
}
|
|
311
312
|
return dirArr
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<BoardCard
|
|
4
4
|
:patternId="patternId"
|
|
5
5
|
:contrloType="contrloType"
|
|
6
|
-
:patternType="patternType"
|
|
7
6
|
:stagesChange="stagesChange"
|
|
8
7
|
:patternStatusList="patternStatusList"
|
|
9
8
|
:cycles="cycles"
|
|
@@ -537,9 +536,6 @@ export default {
|
|
|
537
536
|
patternStatusList: {
|
|
538
537
|
type: Array
|
|
539
538
|
},
|
|
540
|
-
patternType: {
|
|
541
|
-
type: String
|
|
542
|
-
},
|
|
543
539
|
patternId: {
|
|
544
540
|
type: Number
|
|
545
541
|
},
|