openatc-components 0.3.76 → 0.3.77
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/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1 -1
- package/package/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +1 -1
- package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +1 -1
- package/package/kisscomps/components/overView/index.vue +2 -2
- package/package/kisscomps/components/patternConfig/planContent.vue +4 -4
- package/package/kisscomps/components/patternConfig/planMenu.vue +7 -7
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +10 -7
- package/src/i18n/language/zh.js +10 -7
- package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1 -1
- package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +1 -1
- package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +1 -1
- package/src/kisscomps/components/overView/index.vue +2 -2
- package/src/kisscomps/components/patternConfig/planContent.vue +4 -4
- package/src/kisscomps/components/patternConfig/planMenu.vue +7 -7
package/package.json
CHANGED
package/src/i18n/language/en.js
CHANGED
|
@@ -100,7 +100,8 @@ const en = {
|
|
|
100
100
|
'options8': 'Detector',
|
|
101
101
|
'options9': 'PedestrianDetector',
|
|
102
102
|
'graphics': 'Graphics interface',
|
|
103
|
-
'text': 'Text interface'
|
|
103
|
+
'text': 'Text interface',
|
|
104
|
+
'routeOptimize': 'Route Optimize'
|
|
104
105
|
},
|
|
105
106
|
'overview': {
|
|
106
107
|
'crossinfo': 'Cross Information',
|
|
@@ -904,7 +905,8 @@ const en = {
|
|
|
904
905
|
'ignore': 'Ignore',
|
|
905
906
|
'confirm': 'Confirm',
|
|
906
907
|
'save': 'Save',
|
|
907
|
-
'reset': 'Reset'
|
|
908
|
+
'reset': 'Reset',
|
|
909
|
+
'download': 'Download'
|
|
908
910
|
},
|
|
909
911
|
'common': {
|
|
910
912
|
'confirm': 'Confirm',
|
|
@@ -917,6 +919,7 @@ const en = {
|
|
|
917
919
|
'clone': 'Clone',
|
|
918
920
|
'deleteall': 'DeleteAll',
|
|
919
921
|
'update': 'Update',
|
|
922
|
+
'edit': 'Edit',
|
|
920
923
|
'search': 'Search',
|
|
921
924
|
'alarm': 'Alarm',
|
|
922
925
|
'none': 'none',
|
|
@@ -929,16 +932,16 @@ const en = {
|
|
|
929
932
|
'description': 'Description',
|
|
930
933
|
'operations': 'Operations',
|
|
931
934
|
'addfailed': 'Add Success!',
|
|
932
|
-
'
|
|
935
|
+
'addsuccess': 'Add Failed!',
|
|
933
936
|
'addcancel': 'Add Canceled!',
|
|
934
937
|
'deletefailed': 'Delete Failed!',
|
|
935
|
-
'
|
|
938
|
+
'deletesuccess': 'Delete Success!',
|
|
936
939
|
'deletecancel': 'Delete Canceled!',
|
|
937
940
|
'updatefailed': 'Update Failed!',
|
|
938
|
-
'
|
|
941
|
+
'updatesuccess': 'Update Success!',
|
|
939
942
|
'updatecancel': 'Update Canceled!',
|
|
940
943
|
'relatefailed': 'Relate Failed!',
|
|
941
|
-
'
|
|
944
|
+
'relatesuccess': 'Relate Success!',
|
|
942
945
|
'relatecancel': 'Relate Canceled!',
|
|
943
946
|
'upload': 'Upload',
|
|
944
947
|
'select': 'Select',
|
|
@@ -957,7 +960,7 @@ const en = {
|
|
|
957
960
|
'tipsmodaltitle': 'Tips',
|
|
958
961
|
'deviceoffline': 'Device not online!',
|
|
959
962
|
'operationsuccess': 'Operation Success !',
|
|
960
|
-
'
|
|
963
|
+
'savesuccess': 'Save Success!'
|
|
961
964
|
},
|
|
962
965
|
'login': {
|
|
963
966
|
'title': 'Openatc-Configer',
|
package/src/i18n/language/zh.js
CHANGED
|
@@ -100,7 +100,8 @@ const zh = {
|
|
|
100
100
|
'options8': '检测器',
|
|
101
101
|
'options9': '行人检测器',
|
|
102
102
|
'graphics': '图形界面',
|
|
103
|
-
'text': '文字界面'
|
|
103
|
+
'text': '文字界面',
|
|
104
|
+
'routeOptimize': '干线协调'
|
|
104
105
|
},
|
|
105
106
|
'overview': {
|
|
106
107
|
'crossinfo': '路口信息',
|
|
@@ -903,7 +904,8 @@ const zh = {
|
|
|
903
904
|
'ignore': '忽略',
|
|
904
905
|
'confirm': '确认',
|
|
905
906
|
'save': '保存',
|
|
906
|
-
'reset': '重置'
|
|
907
|
+
'reset': '重置',
|
|
908
|
+
'download': '下载'
|
|
907
909
|
},
|
|
908
910
|
'common': {
|
|
909
911
|
'confirm': '确认',
|
|
@@ -916,6 +918,7 @@ const zh = {
|
|
|
916
918
|
'clone': '克隆',
|
|
917
919
|
'deleteall': '全部删除',
|
|
918
920
|
'update': '修改',
|
|
921
|
+
'edit': '编辑',
|
|
919
922
|
'enter': '请输入',
|
|
920
923
|
'search': '搜索',
|
|
921
924
|
'alarm': '警告',
|
|
@@ -928,16 +931,16 @@ const zh = {
|
|
|
928
931
|
'description': '描 述',
|
|
929
932
|
'operations': '操 作',
|
|
930
933
|
'addfailed': '添加失败!',
|
|
931
|
-
'
|
|
934
|
+
'addsuccess': '添加成功!',
|
|
932
935
|
'addcancel': '添加取消!',
|
|
933
936
|
'deletefailed': '删除失败!',
|
|
934
|
-
'
|
|
937
|
+
'deletesuccess': '删除成功!',
|
|
935
938
|
'deletecancel': '删除取消!',
|
|
936
939
|
'updatefailed': '更新失败!',
|
|
937
|
-
'
|
|
940
|
+
'updatesuccess': '更新成功!',
|
|
938
941
|
'updatecancel': '更新取消!',
|
|
939
942
|
'relatefailed': '关联失败!',
|
|
940
|
-
'
|
|
943
|
+
'relatesuccess': '关联成功!',
|
|
941
944
|
'relatecancel': '关联取消!',
|
|
942
945
|
'upload': '上传',
|
|
943
946
|
'select': '请选择',
|
|
@@ -956,7 +959,7 @@ const zh = {
|
|
|
956
959
|
'tipsmodaltitle': '提示',
|
|
957
960
|
'deviceoffline': '设备不在线!',
|
|
958
961
|
'operationsuccess': '操作成功',
|
|
959
|
-
'
|
|
962
|
+
'savesuccess': '保存成功!'
|
|
960
963
|
},
|
|
961
964
|
'login': {
|
|
962
965
|
'title': '信号机设备配置',
|
package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue
CHANGED
|
@@ -88,7 +88,7 @@ export default {
|
|
|
88
88
|
getPlatform () {
|
|
89
89
|
queryDevice(this.agentId).then(res => {
|
|
90
90
|
if (!res.data.success) {
|
|
91
|
-
let commomMsg = this.$t('
|
|
91
|
+
let commomMsg = this.$t('openatccomponents.overview.signalID') + ': ' + this.AgentId
|
|
92
92
|
this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale) + ' - ' + commomMsg)
|
|
93
93
|
return
|
|
94
94
|
}
|
package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue
CHANGED
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
getPlatform () {
|
|
120
120
|
queryDevice(this.agentId).then(res => {
|
|
121
121
|
if (!res.data.success) {
|
|
122
|
-
let commomMsg = this.$t('
|
|
122
|
+
let commomMsg = this.$t('openatccomponents.overview.signalID') + ': ' + this.AgentId
|
|
123
123
|
this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale) + ' - ' + commomMsg)
|
|
124
124
|
return
|
|
125
125
|
}
|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
233
233
|
let _this = this
|
|
234
234
|
queryDevice(this.AgentId).then(res => {
|
|
235
235
|
if (!res.data.success) {
|
|
236
|
-
let commomMsg = this.$t('
|
|
236
|
+
let commomMsg = this.$t('openatccomponents.overview.signalID') + ': ' + this.AgentId
|
|
237
237
|
let msg = getMessageByCode(res.data.code, this.$i18n.locale) + ', ' + commomMsg
|
|
238
238
|
this.$message.error(msg)
|
|
239
239
|
return
|
|
@@ -599,7 +599,7 @@ export default {
|
|
|
599
599
|
queryDevParams () {
|
|
600
600
|
queryDevice(this.AgentId).then(res => {
|
|
601
601
|
if (!res.data.success) {
|
|
602
|
-
let commomMsg = this.$t('
|
|
602
|
+
let commomMsg = this.$t('openatccomponents.overview.signalID') + ': ' + this.AgentId
|
|
603
603
|
let msg = getMessageByCode(res.data.code, this.$i18n.locale) + ', ' + commomMsg
|
|
604
604
|
this.$message.error(msg)
|
|
605
605
|
return
|
|
@@ -644,7 +644,7 @@ export default {
|
|
|
644
644
|
getPlatform () {
|
|
645
645
|
queryDevice(this.AgentId).then(res => {
|
|
646
646
|
if (!res.data.success) {
|
|
647
|
-
let commomMsg = this.$t('
|
|
647
|
+
let commomMsg = this.$t('openatccomponents.overview.signalID') + ': ' + this.AgentId
|
|
648
648
|
this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale) + ' - ' + commomMsg)
|
|
649
649
|
return
|
|
650
650
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<button slot="reference" class="btn" @click="handleEdit" ref="editbtn">{{$t('openatccomponents.greenwaveoptimize.edit')}}</button>
|
|
26
26
|
</el-popover>
|
|
27
27
|
</div>
|
|
28
|
-
<el-button class="btn" type="primary" @click="Download" style="margin-left:10px;">{{$t('
|
|
28
|
+
<el-button class="btn" type="primary" @click="Download" style="margin-left:10px;">{{$t('openatccomponents.button.download')}}</el-button>
|
|
29
29
|
</div>
|
|
30
30
|
<el-tabs v-model="activeName" type="card" @tab-click="handleClick" style="border:0px solid red;height:40%;">
|
|
31
31
|
<el-tab-pane :label="$t('openatccomponents.greenwaveoptimize.timespace')" name="first">
|
|
@@ -292,7 +292,7 @@ export default {
|
|
|
292
292
|
this.$message.error(msg)
|
|
293
293
|
resolve(false)
|
|
294
294
|
}
|
|
295
|
-
this.$message.success(this.$t('
|
|
295
|
+
this.$message.success(this.$t('openatccomponents.common.deletesuccess'))
|
|
296
296
|
this.$parent.getAllPlan()
|
|
297
297
|
resolve(true)
|
|
298
298
|
}).catch(error => {
|
|
@@ -315,7 +315,7 @@ export default {
|
|
|
315
315
|
this.$message.error(msg)
|
|
316
316
|
resolve(false)
|
|
317
317
|
}
|
|
318
|
-
this.$message.success(this.$t('
|
|
318
|
+
this.$message.success(this.$t('openatccomponents.common.savesuccess'))
|
|
319
319
|
this.$parent.getAllPlan()
|
|
320
320
|
resolve(true)
|
|
321
321
|
}).catch(error => {
|
|
@@ -337,7 +337,7 @@ export default {
|
|
|
337
337
|
this.$message.error(msg)
|
|
338
338
|
return
|
|
339
339
|
}
|
|
340
|
-
this.$message.success(this.$t('
|
|
340
|
+
this.$message.success(this.$t('openatccomponents.common.savesuccess'))
|
|
341
341
|
this.$parent.getAllPlan()
|
|
342
342
|
})
|
|
343
343
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
13
|
<div class="openatc-planmanu">
|
|
14
|
-
<div class="title" style="display:flex;">{{$t('
|
|
14
|
+
<div class="title" style="display:flex;">{{$t('openatccomponents.main.routeOptimize')}}</div>
|
|
15
15
|
<el-menu @select="selectPlan" v-loading="loading">
|
|
16
16
|
<el-menu-item :index="String(plan.id)" v-for="(plan, index) in planData" :key="index">
|
|
17
17
|
<span slot="title">{{plan.name}}</span>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</el-menu>
|
|
20
20
|
<div class="btnGroup" v-show="false">
|
|
21
21
|
<div class="addbtn" :style="{zIndex: zIndexObj.addZIndex}">
|
|
22
|
-
<button slot="reference" class="btn" @click="onAdd" ref="addbtn">{{$t('
|
|
22
|
+
<button slot="reference" class="btn" @click="onAdd" ref="addbtn">{{$t('openatccomponents.common.add')}}</button>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="operate">
|
|
25
25
|
<el-dropdown trigger="click" @command="switchOperate">
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
{{$t('openatccomponents.greenwaveoptimize.operation')}}<i class="el-icon-arrow-down el-icon--right"></i>
|
|
28
28
|
</span>
|
|
29
29
|
<el-dropdown-menu slot="dropdown">
|
|
30
|
-
<el-dropdown-item icon="el-icon-edit" command="Edit">{{$t('
|
|
31
|
-
<el-dropdown-item icon="el-icon-delete" command="Delete">{{$t('
|
|
30
|
+
<el-dropdown-item icon="el-icon-edit" command="Edit">{{$t('openatccomponents.common.edit')}}</el-dropdown-item>
|
|
31
|
+
<el-dropdown-item icon="el-icon-delete" command="Delete">{{$t('openatccomponents.common.delete')}}</el-dropdown-item>
|
|
32
32
|
</el-dropdown-menu>
|
|
33
33
|
</el-dropdown>
|
|
34
34
|
</div>
|
|
@@ -139,7 +139,7 @@ export default {
|
|
|
139
139
|
this.deleteDiologVisible = false
|
|
140
140
|
this.resetChooseId()
|
|
141
141
|
this.$message({
|
|
142
|
-
message: this.$t('
|
|
142
|
+
message: this.$t('openatccomponents.common.deletesuccess'),
|
|
143
143
|
type: 'success',
|
|
144
144
|
duration: 1 * 1000,
|
|
145
145
|
onClose: () => {
|
|
@@ -168,7 +168,7 @@ export default {
|
|
|
168
168
|
}
|
|
169
169
|
this.closeAddDialog()
|
|
170
170
|
this.$message({
|
|
171
|
-
message: this.$t('
|
|
171
|
+
message: this.$t('openatccomponents.common.updatesuccess'),
|
|
172
172
|
type: 'success',
|
|
173
173
|
duration: 1 * 1000,
|
|
174
174
|
onClose: () => {
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
}
|
|
190
190
|
this.closeAddDialog()
|
|
191
191
|
this.$message({
|
|
192
|
-
message: this.$t('
|
|
192
|
+
message: this.$t('openatccomponents.common.addsuccess'),
|
|
193
193
|
type: 'success',
|
|
194
194
|
duration: 1 * 1000,
|
|
195
195
|
onClose: () => {
|