openatc-components 0.4.93 → 0.4.94

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.4.93",
3
+ "version": "0.4.94",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -839,6 +839,8 @@ export default {
839
839
  this.curChooseIconIndex = -1
840
840
  let savedTemp = JSON.parse(JSON.stringify(this.LoadedChannelizatonData))
841
841
  let arr = []
842
+ this.isDefaultShowQuhua = savedTemp.isDefaultShowQuhua
843
+ delete savedTemp.isDefaultShowQuhua
842
844
  for (const [key, value] of Object.entries(savedTemp)) {
843
845
  if (key === 'vehile') {
844
846
  this.Motorways = value
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <!-- <intersection-with-interface :AgentId="agentId" /> -->
3
+ <intersection-with-interface :AgentId="agentId" />
4
4
  <h2 class="text">实时通道路口图</h2>
5
5
  <!-- <channel-realtime-intersection
6
6
  :agentId="this.agentId"
@@ -12,13 +12,13 @@
12
12
  <!-- channelType是按通道显示方向;不传按相位显示方向 -->
13
13
  <!-- clickMode是否开启方向选择功能 -->
14
14
  <el-button @click="clear" style="color: #fff;">清空</el-button>
15
- <!-- <custom-intersection-base-map
15
+ <custom-intersection-base-map
16
16
  ref="intersectionMap3"
17
17
  clickMode
18
18
  channelType
19
19
  :agentId="this.agentId"
20
20
  :choosedDirection="choosedDirection"
21
- :choosedPedDirection="choosedPedDirection"/> -->
21
+ :choosedPedDirection="choosedPedDirection"/>
22
22
 
23
23
  <!-- 按通道获取相位的方向选择列表,特殊路口显示列表,普通路口显示模版路口图 -->
24
24
  <h2 class="text">非第三方配置路口图(按通道显示相位方向)</h2>
@@ -52,13 +52,13 @@
52
52
  :roadDirection="roadDirection" /> -->
53
53
  <el-button @click="refresh">刷新特勤路口底图</el-button>
54
54
  <el-button @click="changeChoosedDir" style="color: #fff;">重置所选方向</el-button>
55
- <!-- <intersection-direction-selection
55
+ <intersection-direction-selection
56
56
  ref="selectMap"
57
57
  agentId="16005"
58
58
  :clickMode="false"
59
59
  :choosedDirection="choosedDirection"
60
60
  :choosedPedDirection="choosedPedDirection"
61
- :roadDirection="roadDirection" /> -->
61
+ :roadDirection="roadDirection" />
62
62
 
63
63
  <!-- <button @click="lockPhase" >相位锁定</button><br/>
64
64
  <button @click="unlockPhase" >解锁相位</button><br/>
@@ -122,7 +122,7 @@
122
122
  <!-- <Stages :stagesList="stagesList"
123
123
  :currentStage="currentStage"
124
124
  @onSelectStages="onSelectStages"></Stages> -->
125
- <!-- <div style="height: 100px;">
125
+ <div style="height: 100px;">
126
126
  <PhaseLegend :crossStatusData="tscControlData"
127
127
  :phaseList="phaseList"
128
128
  showDataType="phase"
@@ -137,22 +137,18 @@
137
137
  :showStyle="{top:'2PX',left:'9px'}"
138
138
  :showStyles="{top:'0PX',left:'7px'}"
139
139
  ></PhaseLegend>
140
- </div> -->
140
+ </div>
141
141
 
142
- <h2 style="color: #fff;">渠化图</h2>
143
- <!-- <channelization-with-interface
142
+ <!-- <h2 style="color: #fff;">渠化图</h2>
143
+ <channelization-with-interface
144
144
  ref="channelization"
145
145
  :AgentId="agentId"
146
146
  :reqUrl="reqUrl"
147
147
  :Token="Token"
148
148
  @getTscControl="getTscControl"
149
- @onPhaseChange="onPhaseChange"/> -->
150
- <channelization
151
- AgentId="16005"
152
- :crossStatusData="crossStatusData2"
153
- :detectorStatusData="{}" />
149
+ @onPhaseChange="onPhaseChange"/>
154
150
 
155
- <!-- <h2 style="color: #fff;">流量统计渠化路口图</h2>
151
+ <h2 style="color: #fff;">流量统计渠化路口图</h2>
156
152
  <channelization-flow-statistic
157
153
  :AgentId="agentId"
158
154
  :phasesStatisticsList="phasesStatisticsList"
@@ -181,12 +177,12 @@ export default {
181
177
  return {
182
178
  roadDirection: 'right',
183
179
  // reqUrl: 'http://192.168.13.103:10003/openatc',
184
- agentId: '16005',
180
+ agentId: '1059',
185
181
  // agentId: '13013',
186
182
  // agentId: '12007_390',
187
183
  // agentId: '12014',
188
184
  reqUrl: 'http://192.168.13.103:10003/openatc',
189
- Token: 'eyJraWQiOiIxNzYxMTk4MTU4MzIwIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc2MTIwMTc1NiwiaWF0IjoxNzYxMTk0NTU2fQ.Y7w2piXOChLTCQR4gdPuNIUpmFZM4d2GO04Ce0xgBOk',
185
+ Token: 'eyJraWQiOiIxNzYxMjY5Mzk4MDQ2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc2MTI3Mjk5OSwiaWF0IjoxNzYxMjY1Nzk5fQ.5qQJQWZLDI6tav6Mhfc7W6o1fH-NFPVrefQsA6tcNoU',
190
186
  // agentId: '30003-352',
191
187
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
192
188
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',