openatc-components 0.0.90 → 0.0.91
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/config/index.js +3 -2
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -2
- package/package/kisscomps/index.js +7 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -2
- package/src/kisscomps/index.js +7 -1
- package/src/views/customchannelization.vue +1 -1
- package/src/views/schemeconfig.vue +2 -2
package/package.json
CHANGED
|
@@ -50,8 +50,7 @@ export default {
|
|
|
50
50
|
},
|
|
51
51
|
computed: {
|
|
52
52
|
...mapState({
|
|
53
|
-
channelizationPageIndex: state => state.globalParam.channelizationPageIndex
|
|
54
|
-
curOpenatcAgentid: state => state.globalParam.curOpenatcAgentid
|
|
53
|
+
channelizationPageIndex: state => state.globalParam.channelizationPageIndex
|
|
55
54
|
})
|
|
56
55
|
},
|
|
57
56
|
watch: {
|
package/src/kisscomps/index.js
CHANGED
|
@@ -22,6 +22,7 @@ import ExpendConfig from './components/ExpendConfig/index'
|
|
|
22
22
|
import PatternWalkSvg from './components/PatternWalkSvg/index'
|
|
23
23
|
import tentativeplancontrolmodal from './components/SchemeConfig/tentativeplancontrolmodal/index'
|
|
24
24
|
import { setToken, setHost } from '../utils/auth.js'
|
|
25
|
+
import componentsGlobalParam from '../store/modules/globalParam'
|
|
25
26
|
|
|
26
27
|
import en from '../i18n/language/en'
|
|
27
28
|
import zh from '../i18n/language/zh'
|
|
@@ -63,6 +64,10 @@ const func = {
|
|
|
63
64
|
setToken
|
|
64
65
|
}
|
|
65
66
|
|
|
67
|
+
const Store = {
|
|
68
|
+
componentsGlobalParam
|
|
69
|
+
}
|
|
70
|
+
|
|
66
71
|
const requireAll = requireContext => requireContext.keys().map(requireContext)
|
|
67
72
|
const install = function (Vue) {
|
|
68
73
|
if (install.installed) return
|
|
@@ -90,7 +95,8 @@ const API = {
|
|
|
90
95
|
install,
|
|
91
96
|
...components,
|
|
92
97
|
language,
|
|
93
|
-
func
|
|
98
|
+
func,
|
|
99
|
+
Store
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
export default API
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
lockPhaseBtnName: this.$t('openatccomponents.overview.comfirm'),
|
|
54
54
|
agentId: '10002-994',
|
|
55
55
|
Token: 'eyJraWQiOiIxNjUzMjgyODkwMDYxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczOTY4Mjg5MCwiaWF0IjoxNjUzMjgyODkwfQ.emqFxXlot1Zk6TGkLMDx0zIp2B8toSz17xdZI_DrXZI',
|
|
56
|
-
Token103: '
|
|
56
|
+
Token103: 'eyJraWQiOiIxNjQ5MzM4NzA5MTA0IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczNTczODcwOSwiaWF0IjoxNjQ5MzM4NzA5fQ.JDSkpT1SbB61dEKvorhVdZJHKJzoQZEY5DPKHs1Imo0',
|
|
57
57
|
boxVisible: false,
|
|
58
58
|
dialogWidth: '80%',
|
|
59
59
|
crossStatusData: {} // 路口状态数据
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
118
118
|
this.setDialogWidth()
|
|
119
119
|
},
|
|
120
120
|
mounted () {
|
|
121
|
-
this.setPropsToken(this.
|
|
121
|
+
this.setPropsToken(this.Token)
|
|
122
122
|
this.initData()
|
|
123
123
|
window.onresize = () => {
|
|
124
124
|
return (() => {
|