Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
0d393994
Commit
0d393994
authored
Oct 11, 2023
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
效率评价右下角非机动车效率表格与chart图表联动问题处理
parent
9838db69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
cesiumMap.vue
wj-manage-web/src/components/Standard/cesiumMap.vue
+1
-1
index.vue
wj-manage-web/src/views/efficiency/index.vue
+7
-7
index.vue
wj-manage-web/src/views/situation/index.vue
+11
-11
No files found.
wj-manage-web/src/components/Standard/cesiumMap.vue
View file @
0d393994
...
...
@@ -148,7 +148,7 @@ export default {
cartographic
.
latitude
,
0.0
);
//偏移后的坐标
//
偏移后的坐标
// let offset = Cesium.Cartesian3.fromRadians(
// cartographic.longitude,
// cartographic.latitude,
...
...
wj-manage-web/src/views/efficiency/index.vue
View file @
0d393994
...
...
@@ -147,7 +147,7 @@
@
change=
"noVehicleCheckChange"
v-model=
"noVehicleCheckList"
>
<el-checkbox
<
!--
<
el-checkbox
style=
"width: 100%"
label=
"机动车道"
v-show=
"scope.$index === 0"
...
...
@@ -161,7 +161,8 @@
style=
"width: 100%"
label=
"非机动车闯红灯"
v-show=
"scope.$index === 2"
></el-checkbox>
></el-checkbox>
-->
<el-checkbox
:label=
'scope.row.label'
style=
'width: 100%'
></el-checkbox>
</el-checkbox-group>
</
template
>
</el-table-column>
...
...
@@ -195,9 +196,6 @@
</el-table-column>
</el-table>
</div>
<!-- <div class="noDataChart" v-show="!tableData.length">
暂无数据
</div> -->
<div
class=
"form_chart"
v-loading=
"tab2Loading2"
...
...
@@ -691,13 +689,14 @@ export default {
});
},
noVehicleCheckChange
(
e
)
{
// console.log('noVehicleCheckChange', e
)
console
.
log
(
'
noVehicleCheckChange
'
,
e
,
this
.
noVehicleFormCheck
,
this
.
noVehicleCheckList
)
let
datas
=
[];
for
(
let
item
of
this
.
noVehicleFormCheck
)
{
if
(
e
.
includes
(
item
.
label
))
{
datas
.
push
(
item
);
}
}
console
.
log
(
'
result
'
,
datas
);
this
.
refreshChart
(
datas
,
"
chart_no_vehicle
"
);
},
checkboxChange
(
e
)
{
...
...
@@ -812,13 +811,14 @@ export default {
this
.
tableData
=
[];
for
(
let
item
of
res
.
content
)
{
if
([
1
,
2
,
3
].
includes
(
item
.
type
))
{
let
obj
=
{
total
:
item
.
total
};
let
obj
=
{
total
:
item
.
total
,
label
:
item
.
label
};
for
(
let
option
of
item
.
list
)
{
obj
[
this
.
turnMap
[
option
.
turnNo
]]
=
option
.
number
;
}
this
.
tableData
.
push
(
obj
);
}
}
console
.
log
(
'
tableData
'
,
this
.
tableData
);
});
noVehicleEfficiency
({
crossId
:
this
.
currentCrossId
,
...
...
wj-manage-web/src/views/situation/index.vue
View file @
0d393994
...
...
@@ -288,7 +288,7 @@ export default {
// 停止实时 clear
closeRealTime
()
{
this
.
closeAllWs
().
then
(()
=>
{
this
.
clearTrackTimer
()
this
.
clearTrackTimer
()
;
this
.
writeOffListener
();
window
.
tb
?.
clear
(
null
,
true
);
window
.
tb
?.
update
();
...
...
@@ -595,12 +595,12 @@ export default {
}
},
switchfirst
()
{
// ELEMENT.Message({
// duration: 0,
// message: "暂无轨迹数据...",
// customClass: "noTrackMessageDialog",
// });
lastFrameTime
=
new
Date
().
getTime
()
// ELEMENT.Message({
// duration: 0,
// message: "暂无轨迹数据...",
// customClass: "noTrackMessageDialog",
// });
lastFrameTime
=
new
Date
().
getTime
();
trackTimer
=
setInterval
(()
=>
{
let
currentTime
=
new
Date
().
getTime
();
if
(
currentTime
-
lastFrameTime
>
60
*
1000
)
{
...
...
@@ -613,7 +613,7 @@ export default {
window
.
tb
?.
clear
(
null
,
true
);
window
.
tb
?.
update
();
this
.
lastLocation
=
[];
this
.
removeLayers
(
'
vehiclePic,vehicle,vehicleSelectWave
'
)
this
.
removeLayers
(
"
vehiclePic,vehicle,vehicleSelectWave
"
);
}
}
else
{
if
(
noTrackMsg
)
{
...
...
@@ -1256,12 +1256,12 @@ export default {
console
.
log
(
"
sockets...
"
,
this
.
sockets
);
const
closePromises
=
this
.
sockets
.
map
((
socket
,
index
)
=>
{
return
new
Promise
((
resolve
)
=>
{
socket
.
ws
.
onclose
=
()
=>
{
resolve
();
};
if
(
socket
.
ws
.
readyState
!==
1
)
{
resolve
();
}
else
{
socket
.
ws
.
onclose
=
()
=>
{
resolve
();
};
socket
.
ws
.
close
();
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment