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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
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
  }
@@ -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]
@@ -7,7 +7,7 @@ export default new Router({
7
7
  {
8
8
  path: '/',
9
9
  component: (resolve) => {
10
- require(['@/views/intersection'], resolve)
10
+ require(['@/views/overView'], resolve)
11
11
  }
12
12
  },
13
13
  {
@@ -20,7 +20,7 @@ export default {
20
20
  modeName: '交警遥控',
21
21
  controlName: '步进',
22
22
  agentId: 'jmlxhl',
23
- Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
23
+ Token: 'eyJraWQiOiIxNzIxMzc5ODY5NTc1IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcyMTQyMzA2OSwiaWF0IjoxNzIxMzc5ODY5fQ.gr6NbmMF0DmAiGVjJkj9KCnHn-cEtt7FEXT9MmkKJb8',
24
24
  reqUrl: 'http://192.168.13.103:10003/openatc'
25
25
  }
26
26
  },