openatc-components 0.3.79 → 0.3.81

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.79",
3
+ "version": "0.3.81",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -306,20 +306,19 @@ export default {
306
306
  this.handleDefaultStatus()
307
307
  }
308
308
  },
309
- roadDirection: {
310
- handler: function (val1, val2) {
311
- if (val1 !== val2) {
312
- this.init()
313
- }
314
- }
315
- },
309
+ // roadDirection: {
310
+ // handler: function (val1, val2) {
311
+ // if (val1 !== val2) {
312
+ // this.init()
313
+ // }
314
+ // }
315
+ // },
316
316
  agentId: {
317
317
  handler: function (val1, val2) {
318
318
  if (val1 !== val2 && val2 !== undefined) {
319
319
  this.init()
320
320
  }
321
- },
322
- immediate: true
321
+ }
323
322
  }
324
323
  },
325
324
  data () {
@@ -1314,7 +1313,9 @@ export default {
1314
1313
  }
1315
1314
  },
1316
1315
  mounted () {
1317
- this.init()
1316
+ if (this.agentId !== undefined) {
1317
+ this.init()
1318
+ }
1318
1319
  }
1319
1320
  }
1320
1321
  </script>
@@ -157,7 +157,7 @@ export default {
157
157
  },
158
158
  agentId: {
159
159
  handler: function (val1, val2) {
160
- if (val1 !== val2 && val1 !== undefined) {
160
+ if (val1 !== val2 && val2 !== undefined) {
161
161
  this.resetCrossDiagram()
162
162
  }
163
163
  }
@@ -242,7 +242,6 @@ export default {
242
242
  _this.port = String(devParams.port)
243
243
  _this.protocol = res.data.data.protocol
244
244
  _this.agentId = res.data.data.agentid
245
- console.log('%%%%%%', res.data.data)
246
245
  if (res.data.data.name) {
247
246
  _this.agentName = res.data.data.name
248
247
  }
@@ -485,7 +484,6 @@ export default {
485
484
  }
486
485
  },
487
486
  created () {
488
- this.agentId = this.AgentId
489
487
  this.setDialogWidth()
490
488
  this.setHost(this.reqUrl)
491
489
  this.controlFormat = new ControlFormat()
@@ -167,7 +167,7 @@ export default {
167
167
  // agentId: '12007_390',
168
168
  // agentId: '12014',
169
169
  reqUrl: 'http://192.168.13.103:10003/openatc',
170
- Token: 'eyJraWQiOiIxNzMwNzczNjcyNTM3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczMDc3NzI3MiwiaWF0IjoxNzMwNzcwMDcyfQ.JPncwKnHwk99oP9M3drkTkVv5ciKJ1qzWqp2U5xXRfw',
170
+ Token: 'eyJraWQiOiIxNzMwNzg3MTc4ODE3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczMDc5MDc3OCwiaWF0IjoxNzMwNzgzNTc4fQ.TZFBWNZcgIx1cgSzrA_mP33DUzqVCcgd-5AzCC9ZDQI',
171
171
  // agentId: '30003-352',
172
172
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
173
173
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
@@ -25,7 +25,7 @@ export default {
25
25
  agentid1: 'gjnlahql',
26
26
  agentid2: '13013',
27
27
  sum: 0,
28
- Token: 'eyJraWQiOiIxNzI5ODIxNjcyNTQ3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcyOTgyNTI3MiwiaWF0IjoxNzI5ODE4MDcyfQ._C-0Cf3CQYx3tpGPAF-973Km8ekzJhAm4XwpNKFgSfk',
28
+ Token: 'eyJraWQiOiIxNzMwNzg3MTc4ODE3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczMDc5MDc3OCwiaWF0IjoxNzMwNzgzNTc4fQ.TZFBWNZcgIx1cgSzrA_mP33DUzqVCcgd-5AzCC9ZDQI',
29
29
  reqUrl: 'http://192.168.13.103:10003/openatc'
30
30
  }
31
31
  },