openatc-components 0.4.85 → 0.4.87
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/index.js +6 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/index.js +6 -0
- package/src/i18n/language/ru.js +1477 -0
- package/src/kisscomps/index.js +6 -2
- package/src/views/patternConfig.vue +2 -2
- package/src/views/schemeconfig.vue +1 -1
package/src/kisscomps/index.js
CHANGED
|
@@ -35,11 +35,12 @@ import IntersectionDirectionSelection from './components/IntersectionDirectionSe
|
|
|
35
35
|
import PhaseLegend from './components/PhaseLegend/index.js'
|
|
36
36
|
import OverviewComponent from './components/OverviewComponent/index.js'
|
|
37
37
|
import IntersectionMapDirSelect from './components/IntersectionMapDirSelect/index.js'
|
|
38
|
-
import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions } from '../utils/auth.js'
|
|
38
|
+
import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions, setLanguage, getLanguage } from '../utils/auth.js'
|
|
39
39
|
import componentsGlobalParam from '../store/modules/globalParam'
|
|
40
40
|
|
|
41
41
|
import en from '../i18n/language/en'
|
|
42
42
|
import zh from '../i18n/language/zh'
|
|
43
|
+
import ru from '../i18n/language/ru'
|
|
43
44
|
// 第三方插件
|
|
44
45
|
import VTooltip from 'v-tooltip'
|
|
45
46
|
|
|
@@ -84,10 +85,13 @@ const components = {
|
|
|
84
85
|
|
|
85
86
|
const language = {
|
|
86
87
|
en,
|
|
87
|
-
zh
|
|
88
|
+
zh,
|
|
89
|
+
ru
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
const func = {
|
|
93
|
+
getLanguage,
|
|
94
|
+
setLanguage,
|
|
91
95
|
setHost,
|
|
92
96
|
setToken,
|
|
93
97
|
setUserRoles,
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
166
166
|
// agentId: '0351-01',
|
|
167
167
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
168
168
|
Token135: 'eyJraWQiOiIxNzIzMDgzMDcxMzIxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTk4NTQ0MzIwMCwiaWF0IjoxNzIyNDM4MDAwfQ.i-RVHcxmtgvD9boQECpBCz7T1fJ0TAjzO5BWin3VdoY',
|
|
169
|
-
Token: '
|
|
169
|
+
Token: 'eyJraWQiOiIxNzU5OTk2MDExMTg5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTg5MDU3NjAwMCwiaWF0IjoxNzU5MjQ0NDAwfQ.N0igTWJwfGZYzZJX91V1pevh5Xi7-itNgobQcD7vv_k',
|
|
170
170
|
// reqUrl: 'http://192.168.13.113:10003/openatc',
|
|
171
171
|
// Token: 'eyJraWQiOiIxNjkxMzcxMTc5ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDE0NzIwMCwiaWF0IjoxNjkwODE5MjAwfQ.AhUj9taw4_IpP77AmP5bvCE87dDQ4-ZdsEJzrlWXKF8',
|
|
172
172
|
// agentId: '30003-352',
|
|
@@ -14738,7 +14738,7 @@ export default {
|
|
|
14738
14738
|
// // _this.agentId = 'scats1'
|
|
14739
14739
|
// _this.agentids = ['gjnlahql', 'gjnlgjxl']
|
|
14740
14740
|
// }, 5 * 1000)
|
|
14741
|
-
this.setPropsToken(this.
|
|
14741
|
+
this.setPropsToken(this.Token)
|
|
14742
14742
|
// this.setPropsToken(this.Token)
|
|
14743
14743
|
window.onresize = () => {
|
|
14744
14744
|
return (() => {
|
|
@@ -62,7 +62,7 @@ export default {
|
|
|
62
62
|
sidewalkPhaseData: [{key: 'pedphase1653873194007699', phaseid: 1, id: 1, name: '东人行横道', isshow: false}],
|
|
63
63
|
lockPhaseBtnName: this.$t('openatccomponents.overview.comfirm'),
|
|
64
64
|
agentId: '32050101041121000001',
|
|
65
|
-
Token: '
|
|
65
|
+
Token: 'eyJraWQiOiIxNzU5OTk2MDExMTg5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTg5MDU3NjAwMCwiaWF0IjoxNzU5MjQ0NDAwfQ.N0igTWJwfGZYzZJX91V1pevh5Xi7-itNgobQcD7vv_k',
|
|
66
66
|
Token103: 'eyJraWQiOiIxNzAxODMyOTQ3MTUwIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJxeXl0aCIsImV4cCI6MTc2OTc4ODgwMCwiaWF0IjoxNzAxMzYwMDAwfQ.RIQpNEkJibL-RYllirDeNLi8G9-t8PecM_m7KlZNQXg',
|
|
67
67
|
boxVisible: false,
|
|
68
68
|
dialogWidth: '80%',
|