openatc-components 0.0.20 → 0.0.23

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.0.20",
3
+ "version": "0.0.23",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -95,7 +95,7 @@ export default {
95
95
  this.initData()
96
96
  },
97
97
  registerMessage () {
98
- registerMessage(this.agentId).then(data => {
98
+ registerMessage(this.AgentId).then(data => {
99
99
  if (!data.data.success) {
100
100
  this.devStatus = 2
101
101
  let parrenterror = getMessageByCode(data.data.code, this.$i18n.locale)
@@ -147,7 +147,7 @@ export default {
147
147
  let iframdevid = getIframdevid()
148
148
  console.log(iframdevid)
149
149
  let startTime = new Date().getTime()
150
- getTscControl(this.agentId).then((data) => {
150
+ getTscControl(this.AgentId).then((data) => {
151
151
  let endTime = new Date().getTime()
152
152
  let diffTime = endTime - startTime
153
153
  this.responseTime = diffTime
@@ -190,7 +190,7 @@ export default {
190
190
  },
191
191
  queryDevParams () {
192
192
  let _this = this
193
- queryDevice(this.agentid).then(res => {
193
+ queryDevice(this.AgentId).then(res => {
194
194
  if (!res.data.success) {
195
195
  _this.$message.error(getMessageByCode(res.data.code, _this.$i18n.locale))
196
196
  return
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="overLap" v-if="checked" style="margin-top:20px">
2
+ <div class="overLap" v-if="checked" :style="{'width':'852px','margin':this.controlData ? '20px 0 0 0' : '0 0 0 377px'}">
3
3
  <div class="ring-first" v-for="(list, index1) in this.overlapDatas" :key="index1">
4
4
  <div v-for="(item,index2) in list.stageLists" :key="index2" >
5
5
  <div class="first-2">
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <el-button type="primary" @click="handleOpenConfigPanel" style="margin: 20px;">打开路口图面板</el-button>
3
+ <!-- <el-button type="primary" @click="handleOpenConfigPanel" style="margin: 20px;">打开路口图面板</el-button>
4
4
  <el-dialog
5
5
  refs="intersectionMapDialog"
6
6
  class="abow_dialog"
@@ -8,14 +8,14 @@
8
8
  :visible.sync="boxVisible"
9
9
  :close-on-click-modal="false"
10
10
  @close="oncancle"
11
- append-to-body>
11
+ append-to-body> -->
12
12
  <intersection-with-interface
13
13
  ref="intersectionWithInterface"
14
14
  :AgentId="agentId"
15
15
  roadDirection="left"
16
16
  :Token="Token"
17
17
  ></intersection-with-interface>
18
- </el-dialog>
18
+ <!-- </el-dialog> -->
19
19
  </div>
20
20
  </template>
21
21
  <script>
@@ -26,7 +26,7 @@ export default {
26
26
  Token: 'eyJraWQiOiIxNjQ5MzM4NzA5MTA0IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczNTczODcwOSwiaWF0IjoxNjQ5MzM4NzA5fQ.JDSkpT1SbB61dEKvorhVdZJHKJzoQZEY5DPKHs1Imo0',
27
27
  boxVisible: false,
28
28
  dialogWidth: '80%',
29
- agentId: '40003-132'
29
+ agentId: '10002-994'
30
30
  }
31
31
  },
32
32
  methods: {