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/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
|
}
|
|
@@ -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
|
}
|
package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue
CHANGED
|
@@ -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: () => {
|