openatc-components 0.3.15 → 0.3.17
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 +1 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/api/cross.js +0 -4
- package/src/api/template.js +0 -4
- package/src/router/index.js +1 -1
- package/src/views/overView.vue +1 -1
package/package.json
CHANGED
package/src/api/cross.js
CHANGED
|
@@ -22,10 +22,6 @@ export const getDuration = (data) => {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export const getChannelizatonChart = (agentid) => {
|
|
25
|
-
if (!agentid || agentid === '0') {
|
|
26
|
-
console.log('getChannelizatonChart agentid:', agentid)
|
|
27
|
-
return false
|
|
28
|
-
}
|
|
29
25
|
let api = new Authapi('getChannelizatonChart')
|
|
30
26
|
return api.Send({}, {}, [agentid])
|
|
31
27
|
}
|
package/src/api/template.js
CHANGED
|
@@ -20,10 +20,6 @@ export function createTemplate (param) {
|
|
|
20
20
|
return api.Send({}, param, [])
|
|
21
21
|
}
|
|
22
22
|
export function getIntersectionInfo (agentid) {
|
|
23
|
-
if (!agentid || agentid === '0') {
|
|
24
|
-
console.log('getIntersectionInfo agentid:', agentid)
|
|
25
|
-
return false
|
|
26
|
-
}
|
|
27
23
|
// 获取路口类型和相位信息
|
|
28
24
|
let api = new Authapi('getIntersectionInfo')
|
|
29
25
|
let paramList = [agentid]
|
package/src/router/index.js
CHANGED
package/src/views/overView.vue
CHANGED
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
modeName: '交警遥控',
|
|
21
21
|
controlName: '步进',
|
|
22
22
|
agentId: 'jmlxhl',
|
|
23
|
-
Token: '
|
|
23
|
+
Token: 'eyJraWQiOiIxNzIxMzc5ODY5NTc1IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcyMTQyMzA2OSwiaWF0IjoxNzIxMzc5ODY5fQ.gr6NbmMF0DmAiGVjJkj9KCnHn-cEtt7FEXT9MmkKJb8',
|
|
24
24
|
reqUrl: 'http://192.168.13.103:10003/openatc'
|
|
25
25
|
}
|
|
26
26
|
},
|