openatc-components 0.0.92 → 0.0.95
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/Channelization/Channelization.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +5 -15
- package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +2 -2
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +5 -15
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +2 -2
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -3
- package/src/store/modules/globalParam.js +0 -11
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<!--静态渠化路口,需要传入路口状态数据和检测器状态数据-->
|
|
13
13
|
<template>
|
|
14
|
-
<div class="show-channelization" :class="{
|
|
14
|
+
<div class="show-channelization channelization-base-map" :class="{
|
|
15
15
|
'superlargeCrossImg': bodyDomWidth <= 1680 && bodyDomWidth > 1440,
|
|
16
16
|
'largeCrossImg': bodyDomWidth <= 1440 && bodyDomWidth > 1280,
|
|
17
17
|
'middleCrossImg': bodyDomWidth <= 1280 && bodyDomWidth > 960,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<!--完整渠化编辑功能,包含导入-->
|
|
13
13
|
<template>
|
|
14
|
-
<div class="custom-cross-part">
|
|
14
|
+
<div class="custom-cross-part draw-channelization">
|
|
15
15
|
<FirstImportCrossmap v-if="pageindex === 1"
|
|
16
16
|
@loadSvgString="loadSvgString" />
|
|
17
17
|
<CustomDraw v-show="pageindex === 2" ref="CustomDraw"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<script>
|
|
24
24
|
import FirstImportCrossmap from './firstImportCrossmap'
|
|
25
25
|
import CustomDraw from './index.draw'
|
|
26
|
-
import { mapState } from 'vuex'
|
|
26
|
+
// import { mapState } from 'vuex'
|
|
27
27
|
// import { getIframdevid } from '../../../../utils/auth.js'
|
|
28
28
|
import { getChannelizatonChart } from '../../../../api/cross'
|
|
29
29
|
// import { getMessageByCode } from '../../../utils/responseMessage.js'
|
|
@@ -45,21 +45,11 @@ export default {
|
|
|
45
45
|
},
|
|
46
46
|
data () {
|
|
47
47
|
return {
|
|
48
|
-
pageindex: 1,
|
|
48
|
+
pageindex: 1, // 渠化编辑显示: 1 代表首次导入 2 代表已有保存的渠化图
|
|
49
49
|
loadedChannelizatonData: {} // 接口返回的已保存路口渠化数据
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
computed: {
|
|
53
|
-
...mapState({
|
|
54
|
-
channelizationPageIndex: state => state.globalParam.channelizationPageIndex
|
|
55
|
-
})
|
|
56
|
-
},
|
|
57
52
|
watch: {
|
|
58
|
-
channelizationPageIndex: {
|
|
59
|
-
handler: function (index) {
|
|
60
|
-
this.pageindex = index
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
53
|
AgentId: {
|
|
64
54
|
handler: function (val) {
|
|
65
55
|
this.getChannelizatonChart()
|
|
@@ -85,7 +75,7 @@ export default {
|
|
|
85
75
|
getChannelizatonChart () {
|
|
86
76
|
// let agentid = getIframdevid()
|
|
87
77
|
let _this = this
|
|
88
|
-
_this
|
|
78
|
+
_this.pageindex = 1
|
|
89
79
|
getChannelizatonChart(this.AgentId).then(data => {
|
|
90
80
|
if (!data.data.success) {
|
|
91
81
|
// let parrenterror = getMessageByCode(data.data.code, _this.$i18n.locale)
|
|
@@ -102,7 +92,7 @@ export default {
|
|
|
102
92
|
return
|
|
103
93
|
}
|
|
104
94
|
if (JSON.stringify(data.data.data) === '{}') return
|
|
105
|
-
_this
|
|
95
|
+
_this.pageindex = 2
|
|
106
96
|
_this.loadedChannelizatonData = JSON.parse(JSON.stringify(data.data.data))
|
|
107
97
|
})
|
|
108
98
|
},
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
<el-form-item
|
|
23
23
|
:label="$t('openatccomponents.overview.delay') + ':'"
|
|
24
24
|
prop="intersection">
|
|
25
|
-
|
|
25
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDelay" size="mini"></el-input-number>
|
|
26
26
|
</el-form-item>
|
|
27
27
|
<el-form-item
|
|
28
28
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
29
29
|
prop="count">
|
|
30
|
-
|
|
30
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="mini"></el-input-number>
|
|
31
31
|
</el-form-item>
|
|
32
32
|
</el-form>
|
|
33
33
|
</el-col>
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
<el-form-item
|
|
24
24
|
:label="$t('openatccomponents.overview.delay') + ':'"
|
|
25
25
|
prop="intersection">
|
|
26
|
-
|
|
26
|
+
<el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDelay" size="mini"></el-input-number>
|
|
27
|
+
<!-- <el-input v-model="manualInfo.tempDelay" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
|
|
27
28
|
</el-form-item>
|
|
28
29
|
</el-form>
|
|
29
30
|
</el-col>
|
|
@@ -36,12 +37,14 @@
|
|
|
36
37
|
<el-form-item
|
|
37
38
|
:label="$t('openatccomponents.overview.patternoffset') + ':'"
|
|
38
39
|
prop="count">
|
|
39
|
-
|
|
40
|
+
<el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.offset" size="mini"></el-input-number>
|
|
41
|
+
<!-- <el-input v-model="manualInfo.offset" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
|
|
40
42
|
</el-form-item>
|
|
41
43
|
<el-form-item
|
|
42
44
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
43
45
|
prop="intersection">
|
|
44
|
-
|
|
46
|
+
<el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.duration" size="mini"></el-input-number>
|
|
47
|
+
<!-- <el-input v-model="manualInfo.duration" size="mini" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
|
|
45
48
|
</el-form-item>
|
|
46
49
|
</el-form>
|
|
47
50
|
</el-col>
|
|
@@ -38,7 +38,6 @@ const tscParam = {
|
|
|
38
38
|
const Global = {
|
|
39
39
|
state: {
|
|
40
40
|
tscParam: JSON.parse(JSON.stringify(tscParam)),
|
|
41
|
-
channelizationPageIndex: 1, // 总览编辑页面显示: 1 代表首次导入 2 代表已有保存的渠化图
|
|
42
41
|
associatedPhaseList: [], // 关联相位列表
|
|
43
42
|
PhaseDataMgr: {} // 关联相位数据处理模型
|
|
44
43
|
},
|
|
@@ -51,13 +50,6 @@ const Global = {
|
|
|
51
50
|
},
|
|
52
51
|
INIT_PHASE_DATA_MGR: (state, PhaseDataMgrClass) => {
|
|
53
52
|
state.PhaseDataMgr = PhaseDataMgrClass
|
|
54
|
-
},
|
|
55
|
-
SET_CHANNELZATION_PAGE_INDEX: (state, isHasChannelSetting) => {
|
|
56
|
-
if (isHasChannelSetting) {
|
|
57
|
-
state.channelizationPageIndex = 2
|
|
58
|
-
} else {
|
|
59
|
-
state.channelizationPageIndex = 1
|
|
60
|
-
}
|
|
61
53
|
}
|
|
62
54
|
},
|
|
63
55
|
actions: {
|
|
@@ -69,9 +61,6 @@ const Global = {
|
|
|
69
61
|
},
|
|
70
62
|
InitPhaseDataMgr ({ commit }, PhaseDataMgrClass) {
|
|
71
63
|
commit('INIT_PHASE_DATA_MGR', PhaseDataMgrClass)
|
|
72
|
-
},
|
|
73
|
-
SetChannelizationPageIndex ({ commit }, isHasChannelSetting) {
|
|
74
|
-
commit('SET_CHANNELZATION_PAGE_INDEX', isHasChannelSetting)
|
|
75
64
|
}
|
|
76
65
|
}
|
|
77
66
|
}
|