openatc-components 0.5.30 → 0.5.31

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.5.30",
3
+ "version": "0.5.31",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -102,6 +102,22 @@ export default {
102
102
  dom.style.cursor = 'url(resource/pic/icons/magnifier3.cur) 12 12,default'
103
103
  }
104
104
  }
105
+ // isSeletable: {
106
+ // handler (val) {
107
+ // this.$nextTick(() => {
108
+ // console.log(this.chooseIndex)
109
+ // console.log(this.CrossMapData.index)
110
+ // })
111
+ // }
112
+ // }
113
+ // chooseIndex: {
114
+ // handler (val) {
115
+ // this.$nextTick(() => {
116
+ // console.log(this.chooseIndex)
117
+ // console.log(this.CrossMapData.index)
118
+ // })
119
+ // }
120
+ // }
105
121
  },
106
122
  created () {
107
123
  this.crossmapitem = {
@@ -985,6 +985,11 @@ export default {
985
985
  },
986
986
  handleLockCrossMap () {
987
987
  this.isLockedCrossMap = !this.isLockedCrossMap
988
+ if (!this.isLockedCrossMap) {
989
+ this.curChooseIconIndex = -2
990
+ } else {
991
+ this.curChooseIconIndex = -1
992
+ }
988
993
  },
989
994
  importFromFile () {
990
995
  this.dialogVisible = true
@@ -1054,6 +1059,12 @@ export default {
1054
1059
  svgstr: val.data,
1055
1060
  type: 'vectorgraph'
1056
1061
  }
1062
+ if (!this.isLockedCrossMap) {
1063
+ this.curChooseIconIndex = -1
1064
+ this.$nextTick(() => {
1065
+ this.curChooseIconIndex = -2
1066
+ })
1067
+ }
1057
1068
  })
1058
1069
  }
1059
1070
  },
@@ -182,7 +182,7 @@ export default {
182
182
  // agentId: '12007_390',
183
183
  // agentId: '12014',
184
184
  reqUrl: 'http://192.168.13.103:10003/openatc',
185
- Token: 'eyJraWQiOiIxNzY4ODk2MzEzMDM5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc2ODg5OTkxMywiaWF0IjoxNzY4ODkyNzEzfQ.lZCLSqkVFSEHD8zJf5Fzs-LH1BpMs50Q22idq47sG5Y',
185
+ Token: 'eyJraWQiOiIxNzYwNjkyMjE3ODM1IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc2MDY5NTgxNywiaWF0IjoxNzYwNjg4NjE3fQ.ZOhFCKr7YjVJ-b7mD2G9EE34Pi3XBkdk73rMT0QdP8E',
186
186
  // agentId: '30003-352',
187
187
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
188
188
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',