openatc-components 0.4.53 → 0.4.54

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 CHANGED
@@ -16,7 +16,7 @@ module.exports = {
16
16
  // target: 'http://192.168.14.2:8012/openatc',//'http://172.16.239.139:8080/',//设置你调用的接口域名和端口号
17
17
  // target: 'https://dolphin-test.kedacom.com/openatc',
18
18
  // target: 'http://192.168.13.105:11003/openatc',
19
- target: 'http://192.168.13.103:10003/openatc',
19
+ target: 'http://192.168.15.10:8012/openatc',
20
20
  // target: 'http://10.165.32.135:30555/openatc',
21
21
  // target: 'http://192.168.15.11:8012/openatc',
22
22
  // target: 'http://192.168.13.103:10003/openatc',
@@ -400,6 +400,7 @@ export default {
400
400
  },
401
401
  methods: {
402
402
  compareIsChangedPhase (newCrossStatus, oldCrossStatus) {
403
+ if (newCrossStatus.control === 1 || newCrossStatus.control === 2 || newCrossStatus.control === 3) return
403
404
  // 返回的相位状态改变后,按照返回的相位状态更新路口相位显示(下个周期生效)
404
405
  let newPhaseIds = newCrossStatus.phase.map(item => item.id)
405
406
  let oldPhaseIds = oldCrossStatus.phase.map(item => item.id)
@@ -416,6 +417,7 @@ export default {
416
417
  },
417
418
  handleTempCrossStatus (val) {
418
419
  // 模版路口图状态数据
420
+ debugger
419
421
  this.phaseStatusList = val.phase
420
422
  this.overlapStatusList = val.overlap
421
423
  if (val.control === 1 || val.control === 2 || val.control === 3) {