openatc-components 0.5.29 → 0.5.31
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/DirectionListConfiguration/DirectionListConfiguration.vue +2 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +16 -0
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +21 -4
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +6 -2
- package/src/i18n/language/ru.js +6 -2
- package/src/i18n/language/zh.js +6 -2
- package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +2 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +16 -0
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +21 -4
- package/src/utils/phasedesc.js +135 -0
- package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
- package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
- package/package/kisscomps/components/StageOptimize/index.vue +0 -310
- package/src/node_modules/.package_versions.json +0 -1
package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue
CHANGED
|
@@ -51,7 +51,7 @@ import { getMessageByCode } from '../../../utils/responseMessage.js'
|
|
|
51
51
|
import CrossDiagramMgr from '../../../EdgeMgr/controller/crossDiagramMgr.js'
|
|
52
52
|
import PhaseDataModel from '../IntersectionMap/crossDirection/utils.js'
|
|
53
53
|
// import { getTheme } from '../../../utils/auth'
|
|
54
|
-
import {
|
|
54
|
+
import { getPhaseImages } from '../../../utils/phasedesc.js'
|
|
55
55
|
import PedSvg from './svg/pedSvg'
|
|
56
56
|
|
|
57
57
|
import CrossDirectionConflictList from '../../../utils/conflictList.js'
|
|
@@ -394,6 +394,7 @@ export default {
|
|
|
394
394
|
getPhaseDirIcon (list) {
|
|
395
395
|
let idarr = []
|
|
396
396
|
let dirlist = []
|
|
397
|
+
const images = getPhaseImages(this.$i18n)
|
|
397
398
|
for (let i = 0; i < list.length; i++) {
|
|
398
399
|
if (list[i].id <= 16 && idarr.indexOf(list[i].id) === -1) {
|
|
399
400
|
idarr.push(list[i].id)
|
|
@@ -102,6 +102,22 @@ export default {
|
|
|
102
102
|
dom.style.cursor = 'url(resource/pic/icons/magnifier3.cur) 12 12,default'
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
+
// isSeletable: {
|
|
106
|
+
// handler (val) {
|
|
107
|
+
// this.$nextTick(() => {
|
|
108
|
+
// console.log(this.chooseIndex)
|
|
109
|
+
// console.log(this.CrossMapData.index)
|
|
110
|
+
// })
|
|
111
|
+
// }
|
|
112
|
+
// }
|
|
113
|
+
// chooseIndex: {
|
|
114
|
+
// handler (val) {
|
|
115
|
+
// this.$nextTick(() => {
|
|
116
|
+
// console.log(this.chooseIndex)
|
|
117
|
+
// console.log(this.CrossMapData.index)
|
|
118
|
+
// })
|
|
119
|
+
// }
|
|
120
|
+
// }
|
|
105
121
|
},
|
|
106
122
|
created () {
|
|
107
123
|
this.crossmapitem = {
|
|
@@ -36,8 +36,14 @@
|
|
|
36
36
|
:disabled="!isSeletable"
|
|
37
37
|
@click="clickOpen"
|
|
38
38
|
>{{$t('openatccomponents.channelizationmap.againimport')}}</el-button>
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
<el-tooltip
|
|
40
|
+
:content="!isLockedCrossMap ? $t('openatccomponents.channelizationmap.lockMap') : $t('openatccomponents.channelizationmap.unlockMap')"
|
|
41
|
+
placement="bottom"
|
|
42
|
+
effect="dark"
|
|
43
|
+
>
|
|
44
|
+
<i class="lock-map el-icon-unlock" v-if="!isLockedCrossMap" @click="handleLockCrossMap()"></i>
|
|
45
|
+
<i class="lock-map el-icon-lock" v-if="isLockedCrossMap" @click="handleLockCrossMap()"></i>
|
|
46
|
+
</el-tooltip>
|
|
41
47
|
</div>
|
|
42
48
|
|
|
43
49
|
<div class="draw-to-sketchpad">
|
|
@@ -95,10 +101,10 @@
|
|
|
95
101
|
<!-- <el-button type="primary" @click="cancledraw()">{{$t('openatccomponents.button.Cancel')}}</el-button> -->
|
|
96
102
|
<el-button type="primary" @click="savedraw()">{{$t('openatccomponents.button.save')}}</el-button>
|
|
97
103
|
<el-button type="primary" @click="importFromFile()">{{$t('openatccomponents.main.import')}}</el-button>
|
|
98
|
-
<el-button type="primary" @click="exportToFile()">{{$t('openatccomponents.
|
|
104
|
+
<el-button type="primary" @click="exportToFile()">{{$t('openatccomponents.channelizationmap.exportFile')}}</el-button>
|
|
99
105
|
<el-switch
|
|
100
106
|
v-model="isDefaultShowQuhua"
|
|
101
|
-
active-text="
|
|
107
|
+
:active-text="$t('openatccomponents.channelizationmap.defaultShowQuhua')">
|
|
102
108
|
</el-switch>
|
|
103
109
|
</div>
|
|
104
110
|
</div>
|
|
@@ -979,6 +985,11 @@ export default {
|
|
|
979
985
|
},
|
|
980
986
|
handleLockCrossMap () {
|
|
981
987
|
this.isLockedCrossMap = !this.isLockedCrossMap
|
|
988
|
+
if (!this.isLockedCrossMap) {
|
|
989
|
+
this.curChooseIconIndex = -2
|
|
990
|
+
} else {
|
|
991
|
+
this.curChooseIconIndex = -1
|
|
992
|
+
}
|
|
982
993
|
},
|
|
983
994
|
importFromFile () {
|
|
984
995
|
this.dialogVisible = true
|
|
@@ -1048,6 +1059,12 @@ export default {
|
|
|
1048
1059
|
svgstr: val.data,
|
|
1049
1060
|
type: 'vectorgraph'
|
|
1050
1061
|
}
|
|
1062
|
+
if (!this.isLockedCrossMap) {
|
|
1063
|
+
this.curChooseIconIndex = -1
|
|
1064
|
+
this.$nextTick(() => {
|
|
1065
|
+
this.curChooseIconIndex = -2
|
|
1066
|
+
})
|
|
1067
|
+
}
|
|
1051
1068
|
})
|
|
1052
1069
|
}
|
|
1053
1070
|
},
|