openatc-components 0.0.91 → 0.0.94
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/KanBan/kanban.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
- package/package/kisscomps/index.js +1 -11
- package/package/kissui.min.js +1 -1
- package/package.json +2 -4
- package/src/i18n/language/en.js +2 -77
- package/src/i18n/language/zh.js +2 -77
- package/src/kisscomps/components/KanBan/kanban.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
- package/src/kisscomps/index.js +1 -11
- package/src/main.js +0 -3
- package/src/router/index.js +0 -7
- package/src/store/index.js +2 -2
- package/src/store/modules/globalParam.js +16 -67
- package/src/views/intersection.vue +2 -8
- package/static/apiconfig.json +0 -15
- package/static/styles/common.scss +0 -1
- package/package/kisscomps/components/Channelization/Channelization.vue +0 -545
- package/package/kisscomps/components/Channelization/index.js +0 -2
- package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +0 -498
- package/package/kisscomps/components/ChannelizationWithInterface/index.js +0 -2
- package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +0 -249
- package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +0 -152
- package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +0 -91
- package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +0 -176
- package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +0 -108
- package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +0 -48
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +0 -182
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +0 -222
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +0 -191
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +0 -78
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +0 -433
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +0 -195
- package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +0 -71
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +0 -939
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +0 -118
- package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +0 -563
- package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +0 -157
- package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +0 -191
- package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +0 -331
- package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +0 -157
- package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +0 -99
- package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +0 -43
- package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +0 -32
- package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +0 -20
- package/package/kisscomps/components/DrawChannelization/index.js +0 -2
- package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +0 -278
- package/package/kisscomps/components/MessageBox/index.vue +0 -96
- package/src/api/cross.js +0 -33
- package/src/icons/svg/custom-BRTlane.svg +0 -40
- package/src/icons/svg/custom-bicyclelane.svg +0 -7
- package/src/icons/svg/custom-buslane.svg +0 -40
- package/src/icons/svg/custom-detector.svg +0 -12
- package/src/icons/svg/custom-east-bottom.svg +0 -32
- package/src/icons/svg/custom-east-top.svg +0 -32
- package/src/icons/svg/custom-ewped.svg +0 -35
- package/src/icons/svg/custom-motorway.svg +0 -7
- package/src/icons/svg/custom-nonmotorizedlane.svg +0 -40
- package/src/icons/svg/custom-north-left.svg +0 -32
- package/src/icons/svg/custom-north-right.svg +0 -32
- package/src/icons/svg/custom-pedcrossing.svg +0 -7
- package/src/icons/svg/custom-peddetector.svg +0 -17
- package/src/icons/svg/custom-pedeastward.svg +0 -9
- package/src/icons/svg/custom-pedestrian.svg +0 -7
- package/src/icons/svg/custom-pednorthward.svg +0 -9
- package/src/icons/svg/custom-pedsouthward.svg +0 -9
- package/src/icons/svg/custom-pedwestward.svg +0 -9
- package/src/icons/svg/custom-secondcrossing.svg +0 -7
- package/src/icons/svg/custom-sectionpedestrian.svg +0 -7
- package/src/icons/svg/custom-snped.svg +0 -35
- package/src/icons/svg/custom-south-left.svg +0 -32
- package/src/icons/svg/custom-south-right.svg +0 -32
- package/src/icons/svg/custom-straightahead.svg +0 -7
- package/src/icons/svg/custom-tramlane.svg +0 -40
- package/src/icons/svg/custom-turnaround.svg +0 -7
- package/src/icons/svg/custom-turnleft.svg +0 -7
- package/src/icons/svg/custom-turnright.svg +0 -7
- package/src/icons/svg/custom-vehiclebranch.svg +0 -40
- package/src/icons/svg/custom-vehiclemainroad.svg +0 -41
- package/src/icons/svg/custom-west-bottom.svg +0 -32
- package/src/icons/svg/custom-west-top.svg +0 -32
- package/src/icons/svg/custom-xlped.svg +0 -14
- package/src/icons/svg/custom-xpedestrian.svg +0 -7
- package/src/icons/svg/custom-xrped.svg +0 -14
- package/src/kisscomps/components/Channelization/Channelization.vue +0 -545
- package/src/kisscomps/components/Channelization/index.js +0 -2
- package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +0 -498
- package/src/kisscomps/components/ChannelizationWithInterface/index.js +0 -2
- package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +0 -249
- package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +0 -152
- package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +0 -91
- package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +0 -176
- package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +0 -108
- package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +0 -48
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +0 -182
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +0 -222
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +0 -191
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +0 -78
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +0 -433
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +0 -195
- package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +0 -71
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +0 -939
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +0 -118
- package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +0 -563
- package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +0 -157
- package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.check.vue +0 -191
- package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.syncOper.vue +0 -331
- package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +0 -157
- package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +0 -99
- package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +0 -43
- package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +0 -32
- package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +0 -20
- package/src/kisscomps/components/DrawChannelization/index.js +0 -2
- package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +0 -278
- package/src/kisscomps/components/MessageBox/index.vue +0 -96
- package/src/views/customchannelization.vue +0 -49
- package/static/styles/channelizatioon.scss +0 -365
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020 kedacom
|
|
3
|
-
* OpenATC is licensed under Mulan PSL v2.
|
|
4
|
-
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
5
|
-
* You may obtain a copy of Mulan PSL v2 at:
|
|
6
|
-
* http://license.coscl.org.cn/MulanPSL2
|
|
7
|
-
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
8
|
-
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
9
|
-
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
10
|
-
* See the Mulan PSL v2 for more details.
|
|
11
|
-
**/
|
|
12
|
-
<template>
|
|
13
|
-
<div class="custom-cross-part">
|
|
14
|
-
<FirstImportCrossmap v-if="pageindex === 1"
|
|
15
|
-
@loadSvgString="loadSvgString" />
|
|
16
|
-
<CustomDraw v-show="pageindex === 2" ref="CustomDraw"
|
|
17
|
-
:AgentId="AgentId"
|
|
18
|
-
:loadedChannelizatonData="loadedChannelizatonData"
|
|
19
|
-
@saveCallback="saveCallback" />
|
|
20
|
-
</div>
|
|
21
|
-
</template>
|
|
22
|
-
<script>
|
|
23
|
-
import FirstImportCrossmap from './firstImportCrossmap'
|
|
24
|
-
import CustomDraw from './index.draw'
|
|
25
|
-
import { mapState } from 'vuex'
|
|
26
|
-
// import { getIframdevid } from '../../../../utils/auth.js'
|
|
27
|
-
import { getChannelizatonChart } from '../../../../api/cross'
|
|
28
|
-
// import { getMessageByCode } from '../../../utils/responseMessage.js'
|
|
29
|
-
|
|
30
|
-
export default {
|
|
31
|
-
name: 'custom-channelization',
|
|
32
|
-
components: {
|
|
33
|
-
FirstImportCrossmap,
|
|
34
|
-
CustomDraw
|
|
35
|
-
},
|
|
36
|
-
props: {
|
|
37
|
-
AgentId: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: '0'
|
|
40
|
-
},
|
|
41
|
-
tscParam: {
|
|
42
|
-
type: Object
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
data () {
|
|
46
|
-
return {
|
|
47
|
-
pageindex: 1,
|
|
48
|
-
loadedChannelizatonData: {} // 接口返回的已保存路口渠化数据
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
computed: {
|
|
52
|
-
...mapState({
|
|
53
|
-
channelizationPageIndex: state => state.globalParam.channelizationPageIndex
|
|
54
|
-
})
|
|
55
|
-
},
|
|
56
|
-
watch: {
|
|
57
|
-
channelizationPageIndex: {
|
|
58
|
-
handler: function (index) {
|
|
59
|
-
this.pageindex = index
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
AgentId: {
|
|
63
|
-
handler: function (val) {
|
|
64
|
-
this.getChannelizatonChart()
|
|
65
|
-
},
|
|
66
|
-
deep: true
|
|
67
|
-
},
|
|
68
|
-
tscParam: {
|
|
69
|
-
handler: function (val) {
|
|
70
|
-
if (val) {
|
|
71
|
-
this.$store.dispatch('SetTscParam', val)
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
deep: true
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
methods: {
|
|
78
|
-
loadSvgString (type, imgstr) {
|
|
79
|
-
this.pageindex = 2
|
|
80
|
-
this.$nextTick(() => {
|
|
81
|
-
this.$refs.CustomDraw.loadSvgString(type, imgstr)
|
|
82
|
-
})
|
|
83
|
-
},
|
|
84
|
-
getChannelizatonChart () {
|
|
85
|
-
// let agentid = getIframdevid()
|
|
86
|
-
let _this = this
|
|
87
|
-
_this.$store.dispatch('SetChannelizationPageIndex', false)
|
|
88
|
-
getChannelizatonChart(this.AgentId).then(data => {
|
|
89
|
-
if (!data.data.success) {
|
|
90
|
-
// let parrenterror = getMessageByCode(data.data.code, _this.$i18n.locale)
|
|
91
|
-
// if (data.data.data) {
|
|
92
|
-
// // 子类型错误
|
|
93
|
-
// let childErrorCode = data.data.data.errorCode
|
|
94
|
-
// if (childErrorCode) {
|
|
95
|
-
// let childerror = getMessageByCode(data.data.data.errorCode, _this.$i18n.locale)
|
|
96
|
-
// _this.$message.error(parrenterror + ',' + childerror)
|
|
97
|
-
// }
|
|
98
|
-
// } else {
|
|
99
|
-
// _this.$message.error(parrenterror)
|
|
100
|
-
// }
|
|
101
|
-
return
|
|
102
|
-
}
|
|
103
|
-
if (JSON.stringify(data.data.data) === '{}') return
|
|
104
|
-
_this.$store.dispatch('SetChannelizationPageIndex', true)
|
|
105
|
-
_this.loadedChannelizatonData = JSON.parse(JSON.stringify(data.data.data))
|
|
106
|
-
})
|
|
107
|
-
},
|
|
108
|
-
saveCallback (res) {
|
|
109
|
-
this.$emit('saveCallback', res)
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
mounted () {
|
|
113
|
-
this.getChannelizatonChart()
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
</script>
|
|
117
|
-
<style scoped>
|
|
118
|
-
</style>
|
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020 kedacom
|
|
3
|
-
* OpenATC is licensed under Mulan PSL v2.
|
|
4
|
-
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
5
|
-
* You may obtain a copy of Mulan PSL v2 at:
|
|
6
|
-
* http://license.coscl.org.cn/MulanPSL2
|
|
7
|
-
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
8
|
-
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
9
|
-
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
10
|
-
* See the Mulan PSL v2 for more details.
|
|
11
|
-
**/
|
|
12
|
-
<template>
|
|
13
|
-
<div class="lane-edit-panel">
|
|
14
|
-
<!-- 车道编辑面板 -->
|
|
15
|
-
<div class="vehile" v-if="Data.icontype === 'vehile'">
|
|
16
|
-
<div class="edit-id">
|
|
17
|
-
<span style="margin-right: 3px;">
|
|
18
|
-
{{$t('openatccomponents.channelizationmap.vehiclelane') + ':'}}
|
|
19
|
-
</span>
|
|
20
|
-
<span>{{Data.id}}</span>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="directions">
|
|
23
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.laneturn')}}</div>
|
|
24
|
-
<div class="each-icon" v-for="(item, index) in directionList" :key="index">
|
|
25
|
-
<div class="single-icon"
|
|
26
|
-
@click="selectDire(item.id)"
|
|
27
|
-
:class="preselectDirection.indexOf(item.id) !== -1 ? 'single-icon-select' : ''">
|
|
28
|
-
<svg-icon :icon-class="item.iconclass" className="direction-icon"></svg-icon>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="single-icon-name">{{item.name}}</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<div class="position">
|
|
35
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.position')}}</div>
|
|
36
|
-
<div class="position-options">
|
|
37
|
-
<el-radio-group v-model="lanePosition" @change="selectLanePos">
|
|
38
|
-
<el-radio :label="1">{{$t('openatccomponents.channelizationmap.eastward')}}</el-radio>
|
|
39
|
-
<el-radio :label="2">{{$t('openatccomponents.channelizationmap.westward')}}</el-radio>
|
|
40
|
-
<el-radio :label="3">{{$t('openatccomponents.channelizationmap.southward')}}</el-radio>
|
|
41
|
-
<el-radio :label="4">{{$t('openatccomponents.channelizationmap.northward')}}</el-radio>
|
|
42
|
-
</el-radio-group>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<div class="lane-types">
|
|
47
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.lanetype')}}</div>
|
|
48
|
-
<div class="each-icon" v-for="(item, index) in lanetypeList" :key="index">
|
|
49
|
-
<div class="single-icon"
|
|
50
|
-
@click="selectLanetype(item.id)"
|
|
51
|
-
:class="preselectLanetype === item.id ? 'single-icon-select' : ''">
|
|
52
|
-
<svg-icon :icon-class="item.iconclass" className="type-icon"></svg-icon>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="single-icon-name">{{item.name}}</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div v-if="Data.controltype !== 0 && Data.controltype !== 1">
|
|
57
|
-
<el-switch
|
|
58
|
-
:value="flip"
|
|
59
|
-
@change="handleChangeFilp"
|
|
60
|
-
:active-text="$t('openatccomponents.channelizationmap.flipdisplay')">
|
|
61
|
-
</el-switch>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div class="phase-associated">
|
|
66
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.phaseassociated')}}</div>
|
|
67
|
-
<!-- 相位可以编辑,增加,删除,校验 -->
|
|
68
|
-
<!-- <PhaseAssociatedComponentCheck
|
|
69
|
-
ref="phaseAssociated"
|
|
70
|
-
:editData="Data"
|
|
71
|
-
:Motorways="Motorways"
|
|
72
|
-
@selectPhase="selectPhase"
|
|
73
|
-
@handleDisassociatePhase="handleDisassociatePhase" /> -->
|
|
74
|
-
<!-- 相位仅可以关联选择,不可修改 -->
|
|
75
|
-
<PhaseAssociatedComponent
|
|
76
|
-
:editData="Data"
|
|
77
|
-
@selectPhaseNew="selectPhaseNew" />
|
|
78
|
-
</div>
|
|
79
|
-
<div class="overlap-associated">
|
|
80
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.overlapassociated')}}</div>
|
|
81
|
-
<OverlapAssociatedComponent :editData="Data"
|
|
82
|
-
@selectPhaseNew="selectPhaseNew"/>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<!-- 行人编辑面板 -->
|
|
87
|
-
<div class="ped" v-if="Data.icontype === 'ped'">
|
|
88
|
-
<div class="edit-id">
|
|
89
|
-
<span style="margin-right: 3px;">
|
|
90
|
-
{{$t('openatccomponents.channelizationmap.sidewalk') + ':'}}
|
|
91
|
-
</span>
|
|
92
|
-
<span>{{Data.id}}</span>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="ped-type">
|
|
95
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.pedestriantype')}}</div>
|
|
96
|
-
<div class="each-icon" v-for="(item, index) in pedestriantypeList" :key="index">
|
|
97
|
-
<div class="single-icon"
|
|
98
|
-
@click="selectPedType(item.id)"
|
|
99
|
-
:class="Data.iconpedtypeid === item.id ? 'single-icon-select' : ''">
|
|
100
|
-
<svg-icon :icon-class="item.iconclass" className="ped-icon"></svg-icon>
|
|
101
|
-
</div>
|
|
102
|
-
<div class="single-icon-name">{{item.name}}</div>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="ped-position">
|
|
106
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.position')}}</div>
|
|
107
|
-
<div class="each-icon" v-for="(item, index) in pedPosList" :key="index">
|
|
108
|
-
<div class="single-icon"
|
|
109
|
-
@click="selectPedPos(item.id)"
|
|
110
|
-
:class="Data.iconpedposition === item.id ? 'single-icon-select' : ''">
|
|
111
|
-
<svg-icon :icon-class="item.iconclass" className="ped-icon"></svg-icon>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="single-icon-name">{{item.name}}</div>
|
|
114
|
-
</div>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="phase-associated">
|
|
117
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.phaseassociated')}}</div>
|
|
118
|
-
<!-- 相位可以编辑,增加,删除,校验 -->
|
|
119
|
-
<!-- <PhaseAssociatedComponentCheck
|
|
120
|
-
ref="phaseAssociated"
|
|
121
|
-
:editData="Data"
|
|
122
|
-
@selectPhase="selectPhase"
|
|
123
|
-
@handleDisassociatePhase="handleDisassociatePhase" /> -->
|
|
124
|
-
<!-- 相位仅可以关联选择,不可修改 -->
|
|
125
|
-
<PhaseAssociatedComponent
|
|
126
|
-
:editData="Data"
|
|
127
|
-
@selectPhaseNew="selectPhaseNew" />
|
|
128
|
-
</div>
|
|
129
|
-
<div class="overlap-associated">
|
|
130
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.overlapassociated')}}</div>
|
|
131
|
-
<OverlapAssociatedComponent :editData="Data"
|
|
132
|
-
@selectPhaseNew="selectPhaseNew"/>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
<!-- 检测器编辑面板 -->
|
|
137
|
-
<div class="detector" v-if="Data.icontype === 'detector' && Data.detailtype === 'detector'">
|
|
138
|
-
<div class="detector-type">
|
|
139
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.detectortype')}}</div>
|
|
140
|
-
<div class="each-icon" v-for="(item, index) in detectortypeList" :key="index">
|
|
141
|
-
<div class="single-icon"
|
|
142
|
-
@click="selectDetectorType(item.id)"
|
|
143
|
-
:class="Data.detectortype === item.id ? 'single-icon-select' : ''">
|
|
144
|
-
<svg-icon :icon-class="item.iconclass" className="ped-icon"></svg-icon>
|
|
145
|
-
</div>
|
|
146
|
-
<div class="single-icon-name">{{item.name}}</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
<div class="detector-associated">
|
|
150
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.detectorassociated')}}</div>
|
|
151
|
-
<DetectorAssociatedComponent :editData="Data"
|
|
152
|
-
@selectAssociatedDetector="selectAssociatedDetector"/>
|
|
153
|
-
</div>
|
|
154
|
-
<div class="detector-threshold" v-if="Data.detectortype === 1">
|
|
155
|
-
<div class="tittle">{{$t('openatccomponents.channelizationmap.detectorthreshold')}}</div>
|
|
156
|
-
<el-form
|
|
157
|
-
ref="threshold"
|
|
158
|
-
label-position="left"
|
|
159
|
-
label-width="130px">
|
|
160
|
-
<el-form-item
|
|
161
|
-
:label="$t('openatccomponents.channelizationmap.occupancythreshold') + ':'"
|
|
162
|
-
prop="intersection">
|
|
163
|
-
<el-input-number :min="0" :max="100" :precision="0" :step="1" :controls="false"
|
|
164
|
-
:value="occupancythreshold" size="mini"
|
|
165
|
-
@change="handleChangeOccuthreshold" />
|
|
166
|
-
<span class="detector-threshold-formtext">%</span>
|
|
167
|
-
</el-form-item>
|
|
168
|
-
<el-form-item
|
|
169
|
-
:label="$t('openatccomponents.channelizationmap.saturationthreshold') + ':'"
|
|
170
|
-
prop="count">
|
|
171
|
-
<el-input-number :min="0" :max="100" :precision="0" :step="1" :controls="false"
|
|
172
|
-
:value="flowsaturationthreshold" size="mini"
|
|
173
|
-
@change="handleChangeFlowthreshold" />
|
|
174
|
-
<span class="detector-threshold-formtext">%</span>
|
|
175
|
-
</el-form-item>
|
|
176
|
-
</el-form>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
|
|
180
|
-
<div class="delete-drawed-item" v-if="JSON.stringify(Data) !== '{}' && Data.detailtype !== 'detectorChart'">
|
|
181
|
-
<el-button type="primary" @click="handledelete">{{$t('openatccomponents.channelizationmap.delete')}}</el-button>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
</template>
|
|
185
|
-
<script>
|
|
186
|
-
import PhaseAssociatedComponentCheck from './phaseAssociatedComponent.check'
|
|
187
|
-
import PhaseAssociatedComponent from './phaseAssociatedComponent.vue'
|
|
188
|
-
import OverlapAssociatedComponent from './overlapAssociatedComponent'
|
|
189
|
-
import DetectorAssociatedComponent from './detectorAssociatedComponent.vue'
|
|
190
|
-
export default {
|
|
191
|
-
name: 'lane-edit-panel',
|
|
192
|
-
components: {
|
|
193
|
-
PhaseAssociatedComponent,
|
|
194
|
-
PhaseAssociatedComponentCheck,
|
|
195
|
-
OverlapAssociatedComponent,
|
|
196
|
-
DetectorAssociatedComponent
|
|
197
|
-
},
|
|
198
|
-
data () {
|
|
199
|
-
return {
|
|
200
|
-
iconObj: {},
|
|
201
|
-
preselectDirection: [1], // 预选方向
|
|
202
|
-
preselectPedType: [1], // 预选行人类型
|
|
203
|
-
directionList: [], // 业务下方向选择列表(非机动车没有掉头)
|
|
204
|
-
allDirectionsList: [{
|
|
205
|
-
id: 1,
|
|
206
|
-
key: 'straightahead',
|
|
207
|
-
iconclass: 'custom-straightahead',
|
|
208
|
-
name: this.$t('openatccomponents.channelizationmap.straightahead')
|
|
209
|
-
}, {
|
|
210
|
-
id: 2,
|
|
211
|
-
key: 'turnleft',
|
|
212
|
-
iconclass: 'custom-turnleft',
|
|
213
|
-
name: this.$t('openatccomponents.channelizationmap.turnleft')
|
|
214
|
-
}, {
|
|
215
|
-
id: 3,
|
|
216
|
-
key: 'turnright',
|
|
217
|
-
iconclass: 'custom-turnright',
|
|
218
|
-
name: this.$t('openatccomponents.channelizationmap.turnright')
|
|
219
|
-
}, {
|
|
220
|
-
id: 4,
|
|
221
|
-
key: 'turnaround',
|
|
222
|
-
iconclass: 'custom-turnaround',
|
|
223
|
-
name: this.$t('openatccomponents.channelizationmap.turnaround')
|
|
224
|
-
}],
|
|
225
|
-
pedestriantypeList: [{
|
|
226
|
-
id: 1,
|
|
227
|
-
key: 'pedestrian',
|
|
228
|
-
iconclass: 'custom-pedestrian',
|
|
229
|
-
name: this.$t('openatccomponents.channelizationmap.pedestrian')
|
|
230
|
-
}, {
|
|
231
|
-
id: 2,
|
|
232
|
-
key: 'secondcrossing',
|
|
233
|
-
iconclass: 'custom-secondcrossing',
|
|
234
|
-
name: this.$t('openatccomponents.channelizationmap.secondcrossing')
|
|
235
|
-
}, {
|
|
236
|
-
id: 3,
|
|
237
|
-
key: 'xpedestrian',
|
|
238
|
-
iconclass: 'custom-xpedestrian',
|
|
239
|
-
name: this.$t('openatccomponents.channelizationmap.xpedestrian')
|
|
240
|
-
}, {
|
|
241
|
-
id: 4,
|
|
242
|
-
key: 'sectionpedestrian',
|
|
243
|
-
iconclass: 'custom-sectionpedestrian',
|
|
244
|
-
name: this.$t('openatccomponents.channelizationmap.sectionpedestrian')
|
|
245
|
-
}],
|
|
246
|
-
preselectLanetype: 0,
|
|
247
|
-
flip: false, // 默认车道类型图标不反转,正向为西
|
|
248
|
-
lanetypeList: [{
|
|
249
|
-
id: 0, // id对于controltype
|
|
250
|
-
key: 'vehiclemainroad',
|
|
251
|
-
iconclass: 'custom-vehiclemainroad',
|
|
252
|
-
name: this.$t('openatccomponents.channelizationmap.vehiclemainroad')
|
|
253
|
-
}, {
|
|
254
|
-
id: 1,
|
|
255
|
-
key: 'vehiclebranch',
|
|
256
|
-
iconclass: 'custom-vehiclebranch',
|
|
257
|
-
name: this.$t('openatccomponents.channelizationmap.vehiclebranch')
|
|
258
|
-
}, {
|
|
259
|
-
id: 6,
|
|
260
|
-
key: 'nonmotorizedlane',
|
|
261
|
-
iconclass: 'custom-nonmotorizedlane',
|
|
262
|
-
name: this.$t('openatccomponents.channelizationmap.nonmotorizedlane')
|
|
263
|
-
}, {
|
|
264
|
-
id: 3,
|
|
265
|
-
key: 'buslane',
|
|
266
|
-
iconclass: 'custom-buslane',
|
|
267
|
-
name: this.$t('openatccomponents.channelizationmap.buslane')
|
|
268
|
-
}, {
|
|
269
|
-
id: 4,
|
|
270
|
-
key: 'BRTlane',
|
|
271
|
-
iconclass: 'custom-BRTlane',
|
|
272
|
-
name: this.$t('openatccomponents.channelizationmap.BRTlane')
|
|
273
|
-
}, {
|
|
274
|
-
id: 5,
|
|
275
|
-
key: 'tramlane',
|
|
276
|
-
iconclass: 'custom-tramlane',
|
|
277
|
-
name: this.$t('openatccomponents.channelizationmap.tramlane')
|
|
278
|
-
}],
|
|
279
|
-
lanePosition: 1, // 方位默认东向
|
|
280
|
-
pedPosList: [], // 当前显示的方位列表,由类型决定
|
|
281
|
-
pedCrossingPosList: [{
|
|
282
|
-
id: 1,
|
|
283
|
-
key: 'pedeastward',
|
|
284
|
-
iconclass: 'custom-pedeastward',
|
|
285
|
-
name: this.$t('openatccomponents.channelizationmap.eastward')
|
|
286
|
-
}, {
|
|
287
|
-
id: 2,
|
|
288
|
-
key: 'pedwestward',
|
|
289
|
-
iconclass: 'custom-pedwestward',
|
|
290
|
-
name: this.$t('openatccomponents.channelizationmap.westward')
|
|
291
|
-
}, {
|
|
292
|
-
id: 3,
|
|
293
|
-
key: 'pedsouthward',
|
|
294
|
-
iconclass: 'custom-pedsouthward',
|
|
295
|
-
name: this.$t('openatccomponents.channelizationmap.southward')
|
|
296
|
-
}, {
|
|
297
|
-
id: 4,
|
|
298
|
-
key: 'pednorthward',
|
|
299
|
-
iconclass: 'custom-pednorthward',
|
|
300
|
-
name: this.$t('openatccomponents.channelizationmap.northward')
|
|
301
|
-
}],
|
|
302
|
-
pedSecondCrossingPosList: [{
|
|
303
|
-
id: 5,
|
|
304
|
-
key: 'east-top',
|
|
305
|
-
iconclass: 'custom-east-top',
|
|
306
|
-
name: this.$t('openatccomponents.channelizationmap.etped')
|
|
307
|
-
}, {
|
|
308
|
-
id: 6,
|
|
309
|
-
key: 'east-bottom',
|
|
310
|
-
iconclass: 'custom-east-bottom',
|
|
311
|
-
name: this.$t('openatccomponents.channelizationmap.ebped')
|
|
312
|
-
}, {
|
|
313
|
-
id: 7,
|
|
314
|
-
key: 'west-top',
|
|
315
|
-
iconclass: 'custom-west-top',
|
|
316
|
-
name: this.$t('openatccomponents.channelizationmap.wtped')
|
|
317
|
-
}, {
|
|
318
|
-
id: 8,
|
|
319
|
-
key: 'west-bottom',
|
|
320
|
-
iconclass: 'custom-west-bottom',
|
|
321
|
-
name: this.$t('openatccomponents.channelizationmap.wbped')
|
|
322
|
-
}, {
|
|
323
|
-
id: 9,
|
|
324
|
-
key: 'south-left',
|
|
325
|
-
iconclass: 'custom-south-left',
|
|
326
|
-
name: this.$t('openatccomponents.channelizationmap.slped')
|
|
327
|
-
}, {
|
|
328
|
-
id: 10,
|
|
329
|
-
key: 'south-right',
|
|
330
|
-
iconclass: 'custom-south-right',
|
|
331
|
-
name: this.$t('openatccomponents.channelizationmap.srped')
|
|
332
|
-
}, {
|
|
333
|
-
id: 11,
|
|
334
|
-
key: 'north-left',
|
|
335
|
-
iconclass: 'custom-north-left',
|
|
336
|
-
name: this.$t('openatccomponents.channelizationmap.nlped')
|
|
337
|
-
}, {
|
|
338
|
-
id: 12,
|
|
339
|
-
key: 'north-right',
|
|
340
|
-
iconclass: 'custom-north-right',
|
|
341
|
-
name: this.$t('openatccomponents.channelizationmap.nrped')
|
|
342
|
-
}],
|
|
343
|
-
pedObliqueCrossingPosList: [{
|
|
344
|
-
id: 13,
|
|
345
|
-
key: 'xrped',
|
|
346
|
-
iconclass: 'custom-xrped',
|
|
347
|
-
name: this.$t('openatccomponents.channelizationmap.xrped')
|
|
348
|
-
}, {
|
|
349
|
-
id: 14,
|
|
350
|
-
key: 'xlped',
|
|
351
|
-
iconclass: 'custom-xlped',
|
|
352
|
-
name: this.$t('openatccomponents.channelizationmap.xlped')
|
|
353
|
-
}],
|
|
354
|
-
pedSectionCrossingPosList: [{
|
|
355
|
-
id: 15,
|
|
356
|
-
key: 'ewped',
|
|
357
|
-
iconclass: 'custom-ewped',
|
|
358
|
-
name: this.$t('openatccomponents.channelizationmap.ewped')
|
|
359
|
-
}, {
|
|
360
|
-
id: 16,
|
|
361
|
-
key: 'snped',
|
|
362
|
-
iconclass: 'custom-snped',
|
|
363
|
-
name: this.$t('openatccomponents.channelizationmap.snped')
|
|
364
|
-
}],
|
|
365
|
-
detectortypeList: [{
|
|
366
|
-
id: 1,
|
|
367
|
-
key: 'vehiclemainroad',
|
|
368
|
-
iconclass: 'custom-detector',
|
|
369
|
-
name: this.$t('openatccomponents.channelizationmap.vehicledetector')
|
|
370
|
-
}, {
|
|
371
|
-
id: 2,
|
|
372
|
-
key: 'vehiclebranch',
|
|
373
|
-
iconclass: 'custom-peddetector',
|
|
374
|
-
name: this.$t('openatccomponents.channelizationmap.pedestriandetector')
|
|
375
|
-
}],
|
|
376
|
-
occupancythreshold: 80,
|
|
377
|
-
flowsaturationthreshold: 20
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
watch: {
|
|
381
|
-
Data: {
|
|
382
|
-
handler: function (data) {
|
|
383
|
-
this.iconObj = JSON.parse(JSON.stringify(data))
|
|
384
|
-
this.initDirOptions()
|
|
385
|
-
if (data.icondireid !== undefined) {
|
|
386
|
-
this.preselectDirection = JSON.parse(JSON.stringify(data.icondireid))
|
|
387
|
-
}
|
|
388
|
-
if (data.controltype !== undefined) {
|
|
389
|
-
this.preselectLanetype = data.controltype
|
|
390
|
-
}
|
|
391
|
-
if (data.lanePosition !== undefined) {
|
|
392
|
-
this.lanePosition = data.lanePosition
|
|
393
|
-
}
|
|
394
|
-
if (data.occupancythreshold !== undefined) {
|
|
395
|
-
this.occupancythreshold = data.occupancythreshold
|
|
396
|
-
}
|
|
397
|
-
if (data.flowsaturationthreshold !== undefined) {
|
|
398
|
-
this.flowsaturationthreshold = data.flowsaturationthreshold
|
|
399
|
-
}
|
|
400
|
-
if (data.flip !== undefined) {
|
|
401
|
-
this.flip = data.flip
|
|
402
|
-
}
|
|
403
|
-
this.getCurPedPosList(data.iconpedtypeid)
|
|
404
|
-
},
|
|
405
|
-
deep: true
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
props: {
|
|
409
|
-
Data: {
|
|
410
|
-
type: Object
|
|
411
|
-
},
|
|
412
|
-
Motorways: {
|
|
413
|
-
type: Array
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
methods: {
|
|
417
|
-
initDirOptions () {
|
|
418
|
-
this.directionList = JSON.parse(JSON.stringify(this.allDirectionsList))
|
|
419
|
-
},
|
|
420
|
-
selectDire (value) {
|
|
421
|
-
let index = this.iconObj.icondireid.indexOf(value)
|
|
422
|
-
if (index === -1) {
|
|
423
|
-
this.iconObj.icondireid.push(value)
|
|
424
|
-
} else {
|
|
425
|
-
this.iconObj.icondireid.splice(index, 1)
|
|
426
|
-
}
|
|
427
|
-
this.$emit('handleChooseDire', this.iconObj)
|
|
428
|
-
// this.handleAssociatedPhase()
|
|
429
|
-
},
|
|
430
|
-
selectLanetype (id) {
|
|
431
|
-
this.iconObj.controltype = id
|
|
432
|
-
this.$emit('changeIconDataByType', this.iconObj, ['controltype'])
|
|
433
|
-
},
|
|
434
|
-
selectPedType (value) {
|
|
435
|
-
this.iconObj.iconpedtypeid = value
|
|
436
|
-
this.getCurPedPosList(value)
|
|
437
|
-
// 默认选择第一方位
|
|
438
|
-
this.iconObj.iconpedposition = this.pedPosList[0].id
|
|
439
|
-
this.$emit('handleChoosePed', this.iconObj)
|
|
440
|
-
},
|
|
441
|
-
selectDetectorType (value) {
|
|
442
|
-
if (this.iconObj.detectortype !== undefined && this.iconObj.detectortype !== value) {
|
|
443
|
-
this.iconObj.detectorid = undefined
|
|
444
|
-
}
|
|
445
|
-
this.iconObj.detectortype = value
|
|
446
|
-
this.$emit('changeIconDataByType', this.iconObj, ['detectortype', 'detectorid'])
|
|
447
|
-
if (value === 2) {
|
|
448
|
-
// 行人检测器没有阈值设置
|
|
449
|
-
this.iconObj.occupancythreshold = undefined
|
|
450
|
-
this.iconObj.flowsaturationthreshold = undefined
|
|
451
|
-
this.$emit('changeIconDataByType', this.iconObj, ['occupancythreshold', 'flowsaturationthreshold'])
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
selectPedPos (value) {
|
|
455
|
-
this.iconObj.iconpedposition = value
|
|
456
|
-
this.$emit('handleChoosePed', this.iconObj)
|
|
457
|
-
},
|
|
458
|
-
handledelete () {
|
|
459
|
-
this.$emit('deleteItem', this.iconObj)
|
|
460
|
-
},
|
|
461
|
-
selectLanePos (value) {
|
|
462
|
-
this.iconObj.lanePosition = value
|
|
463
|
-
this.$emit('changeIconDataByType', this.iconObj, ['lanePosition'])
|
|
464
|
-
// this.handleAssociatedPhase()
|
|
465
|
-
},
|
|
466
|
-
selectPhase (phaseid, direction) {
|
|
467
|
-
// 关联相位的同时,会修改相位方向
|
|
468
|
-
this.iconObj.phaseid = phaseid
|
|
469
|
-
this.iconObj.phaselabel = `P${phaseid}`
|
|
470
|
-
this.iconObj.direction = direction
|
|
471
|
-
this.$emit('changeIconDataByType', this.iconObj, ['phaseid', 'phaselabel', 'direction'])
|
|
472
|
-
},
|
|
473
|
-
selectPhaseNew (phaseid, phasetype) {
|
|
474
|
-
// 仅关联相位,不修改原相位
|
|
475
|
-
this.iconObj.phasetype = phasetype
|
|
476
|
-
this.iconObj.phaseid = phaseid
|
|
477
|
-
if (phasetype === 'phase') {
|
|
478
|
-
this.iconObj.phaselabel = `P${phaseid}`
|
|
479
|
-
}
|
|
480
|
-
if (phasetype === 'overlap') {
|
|
481
|
-
this.iconObj.phaselabel = `OP${phaseid}`
|
|
482
|
-
}
|
|
483
|
-
this.$emit('changeIconDataByType', this.iconObj, ['phaseid', 'phaselabel', 'phasetype'])
|
|
484
|
-
},
|
|
485
|
-
handleDisassociatePhase (deletePhaseid) {
|
|
486
|
-
this.$emit('handleDisassociatePhase', deletePhaseid)
|
|
487
|
-
},
|
|
488
|
-
// handleAssociatedPhase () {
|
|
489
|
-
// // 如果已关联相位,再改变车道转向或者方位时,需要同步更新选中的关联相位
|
|
490
|
-
// if (this.iconObj.phaseid !== undefined) {
|
|
491
|
-
// this.$refs.phaseAssociated.changeDirection(this.iconObj)
|
|
492
|
-
// }
|
|
493
|
-
// },
|
|
494
|
-
selectAssociatedDetector (detectorid) {
|
|
495
|
-
// 仅关联检测器,不修改
|
|
496
|
-
this.iconObj.detectorid = detectorid
|
|
497
|
-
this.$emit('changeIconDataByType', this.iconObj, ['detectorid'])
|
|
498
|
-
},
|
|
499
|
-
handleChangeOccuthreshold (occupancythreshold) {
|
|
500
|
-
if (occupancythreshold === undefined) {
|
|
501
|
-
this.$message.error(this.$t('openatccomponents.channelizationmap.checkthreshold'))
|
|
502
|
-
this.occupancythreshold = 80
|
|
503
|
-
return
|
|
504
|
-
}
|
|
505
|
-
this.occupancythreshold = occupancythreshold
|
|
506
|
-
this.iconObj.occupancythreshold = occupancythreshold
|
|
507
|
-
this.$emit('changeIconDataByType', this.iconObj, ['occupancythreshold'])
|
|
508
|
-
},
|
|
509
|
-
handleChangeFlowthreshold (flowsaturationthreshold) {
|
|
510
|
-
if (flowsaturationthreshold === undefined) {
|
|
511
|
-
this.$message.error(this.$t('openatccomponents.channelizationmap.checkthreshold'))
|
|
512
|
-
this.flowsaturationthreshold = 20
|
|
513
|
-
return
|
|
514
|
-
}
|
|
515
|
-
this.flowsaturationthreshold = flowsaturationthreshold
|
|
516
|
-
this.iconObj.flowsaturationthreshold = flowsaturationthreshold
|
|
517
|
-
this.$emit('changeIconDataByType', this.iconObj, ['flowsaturationthreshold'])
|
|
518
|
-
},
|
|
519
|
-
getCurPedPosList (iconpedtypeid) {
|
|
520
|
-
// 方位根据行人类型显示
|
|
521
|
-
switch (iconpedtypeid) {
|
|
522
|
-
case 1: this.pedPosList = JSON.parse(JSON.stringify(this.pedCrossingPosList))
|
|
523
|
-
break
|
|
524
|
-
case 2: this.pedPosList = JSON.parse(JSON.stringify(this.pedSecondCrossingPosList))
|
|
525
|
-
break
|
|
526
|
-
case 3: this.pedPosList = JSON.parse(JSON.stringify(this.pedObliqueCrossingPosList))
|
|
527
|
-
break
|
|
528
|
-
case 4: this.pedPosList = JSON.parse(JSON.stringify(this.pedSectionCrossingPosList))
|
|
529
|
-
break
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
handleChangeFilp (value) {
|
|
533
|
-
this.iconObj.flip = value
|
|
534
|
-
this.$emit('changeIconDataByType', this.iconObj, ['flip'])
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
mounted () {
|
|
538
|
-
if (JSON.stringify(this.Data) === '{}') return
|
|
539
|
-
this.iconObj = JSON.parse(JSON.stringify(this.Data))
|
|
540
|
-
if (this.Data.icondireid !== undefined) {
|
|
541
|
-
this.preselectDirection = JSON.parse(JSON.stringify(this.Data.icondireid))
|
|
542
|
-
}
|
|
543
|
-
if (this.Data.controltype !== undefined) {
|
|
544
|
-
this.preselectLanetype = this.Data.controltype
|
|
545
|
-
}
|
|
546
|
-
if (this.Data.lanePosition !== undefined) {
|
|
547
|
-
this.lanePosition = this.Data.lanePosition
|
|
548
|
-
}
|
|
549
|
-
if (this.Data.occupancythreshold !== undefined) {
|
|
550
|
-
this.occupancythreshold = this.Data.occupancythreshold
|
|
551
|
-
}
|
|
552
|
-
if (this.Data.flowsaturationthreshold !== undefined) {
|
|
553
|
-
this.flowsaturationthreshold = this.Data.flowsaturationthreshold
|
|
554
|
-
}
|
|
555
|
-
if (this.Data.flip !== undefined) {
|
|
556
|
-
this.flip = this.Data.flip
|
|
557
|
-
}
|
|
558
|
-
this.getCurPedPosList(this.Data.iconpedtypeid)
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
</script>
|
|
562
|
-
<style scoped>
|
|
563
|
-
</style>
|