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
7dc24fe6
Commit
7dc24fe6
authored
Nov 16, 2023
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轨迹分析-事件-首视频可播放时播放轨迹&部分样式修改
parent
f7377e7d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
140 additions
and
125 deletions
+140
-125
App.vue
wj-manage-web/src/App.vue
+1
-30
index.js
wj-manage-web/src/router/index.js
+0
-14
vehicleDetail.vue
wj-manage-web/src/views/situation/mapPopup/vehicleDetail.vue
+0
-22
historyVideos.vue
wj-manage-web/src/views/track/historyVideos.vue
+1
-0
index.vue
wj-manage-web/src/views/track/index.vue
+44
-34
menuKeyVehicle.vue
wj-manage-web/src/views/track/menuKeyVehicle.vue
+24
-0
menuTrafficCrowd.vue
wj-manage-web/src/views/track/menuTrafficCrowd.vue
+24
-0
menuTrafficEvent.vue
wj-manage-web/src/views/track/menuTrafficEvent.vue
+46
-25
No files found.
wj-manage-web/src/App.vue
View file @
7dc24fe6
<
template
>
<
template
>
<!--
<stms-framework
id=
"app"
title=
"GIS云中台"
wrapperClassName=
"default"
:menu=
"menu"
:path=
"path"
:params=
"params"
v-if=
"isInit"
/>
-->
<div
id=
"app"
class=
"stms-framework default"
>
<div
id=
"app"
class=
"stms-framework default"
>
<!-- 头部 -->
<!-- 头部 -->
<Navigator
v-if=
"!hideHeader"
/>
<Navigator
v-if=
"!hideHeader"
/>
...
@@ -67,37 +57,18 @@ export default {
...
@@ -67,37 +57,18 @@ export default {
await
this
.
$store
.
dispatch
(
"
QUERY_MENU
"
);
await
this
.
$store
.
dispatch
(
"
QUERY_MENU
"
);
this
.
isInit
=
true
;
this
.
isInit
=
true
;
document
.
title
=
map_config
.
SYS_TITLE
;
document
.
title
=
map_config
.
SYS_TITLE
;
// if (window.location.hash === "#/") {
// this.$route.path === "/" && this.$router.push(this.menu.find(v => !v.parentId).url);
// }
},
},
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
* {
font-family: "Source Han Sans CN", sans-serif;
}
#app {
#app {
// font-family: "Avenir", Helvetica, Arial, sans-serif;
//font-family: 'SiYuanHT';
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-osx-font-smoothing: grayscale;
font-family: "Source Han Sans CN", sans-serif;
color: #2c3e50;
color: #2c3e50;
height: 100%;
height: 100%;
width: 100%;
width: 100%;
}
}
</
style
>
</
style
>
<
style
>
/* .el-tooltip__popper{
background: #042a52 !important;
color: #bedeff;
}
.el-tooltip__popper[x-placement^=right] .popper__arrow:after{
border-right-color: #042a52 !important;
}
.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{
border-bottom-color: #042a52 !important;
} */
</
style
>
wj-manage-web/src/router/index.js
View file @
7dc24fe6
import
Router
from
"
vue-router
"
;
import
Router
from
"
vue-router
"
;
import
routes
from
"
../config/routes
"
;
import
routes
from
"
../config/routes
"
;
import
store
from
"
../store
"
;
import
AuthDao
from
"
@/dao/auth
"
;
import
AuthDao
from
"
@/dao/auth
"
;
// import { socketArray } from '../config/holo/websocket'
// 注册路由
// 注册路由
Vue
.
use
(
Router
);
Vue
.
use
(
Router
);
...
@@ -33,18 +31,6 @@ const router = new Router({
...
@@ -33,18 +31,6 @@ const router = new Router({
],
],
});
});
function
acquirePathData
(
datas
,
url
)
{
for
(
var
i
=
0
;
i
<
datas
.
length
;
i
++
)
{
let
item
=
datas
[
i
];
if
(
item
.
url
==
url
)
{
return
item
;
}
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
let
res
=
acquirePathData
(
item
.
children
,
url
);
if
(
res
)
return
res
;
}
}
}
// 路由白名单
// 路由白名单
const
whiteList
=
[
"
/situation/cameraView
"
,
"
/analysis/reportPreview
"
];
const
whiteList
=
[
"
/situation/cameraView
"
,
"
/analysis/reportPreview
"
];
...
...
wj-manage-web/src/views/situation/mapPopup/vehicleDetail.vue
View file @
7dc24fe6
...
@@ -5,15 +5,8 @@
...
@@ -5,15 +5,8 @@
<div
class=
"head"
>
<div
class=
"head"
>
<span
class=
"titleBefore"
></span
<span
class=
"titleBefore"
></span
><span>
{{
model
.
picLicense
||
"
暂无车牌号信息
"
}}
</span>
><span>
{{
model
.
picLicense
||
"
暂无车牌号信息
"
}}
</span>
<!--
<span
class=
"titleBefore"
></span><span>
xxxxx
</span>
-->
<!--
<span
@
click=
"closeDetail()"
>
关闭
</span>
-->
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<!--
<div
class=
"detailItem"
v-for=
"item of model"
:key=
"item"
>
<span
class=
"left"
>
{{
item
.
label
}}
</span
><span
class=
"right"
>
{{
item
.
value
}}
</span>
</div>
-->
<div
class=
"detailItem"
>
<div
class=
"detailItem"
>
<span
class=
"left"
>
车辆号牌:
</span>
{{
model
.
picLicense
||
"
无数据
"
}}
<span
class=
"left"
>
车辆号牌:
</span>
{{
model
.
picLicense
||
"
无数据
"
}}
</div>
</div>
...
@@ -65,23 +58,12 @@ export default {
...
@@ -65,23 +58,12 @@ export default {
},
},
props
:
[
"
model
"
],
props
:
[
"
model
"
],
watch
:
{
watch
:
{
model
:
{
handler
(
val
)
{
// console.log('dataObj deep change', val)
},
deep
:
true
,
// 深度监听
immediate
:
true
,
// 初次监听即执行
},
},
},
mounted
()
{
mounted
()
{
console
.
log
(
"
model
"
,
this
.
model
);
console
.
log
(
"
model
"
,
this
.
model
);
},
},
methods
:
{
methods
:
{
// closeVehicleDetail() {
// this.$EventBus.$emit("closeVehicleDetail", this.model.id);
// },
convertDict
(
type
,
value
)
{
convertDict
(
type
,
value
)
{
// console.log("this.$store", store);
for
(
let
item
of
store
.
state
.
dicts
[
type
])
{
for
(
let
item
of
store
.
state
.
dicts
[
type
])
{
if
(
item
.
code
==
value
)
{
if
(
item
.
code
==
value
)
{
return
item
.
name
;
return
item
.
name
;
...
@@ -101,12 +83,8 @@ export default {
...
@@ -101,12 +83,8 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.vehicleDetail {
.vehicleDetail {
font-size: 12PX;
font-size: 12PX;
// position: absolute;
position: relative;
position: relative;
//bottom: 16PX;
//right: 16PX;
width: 216PX;
width: 216PX;
//height: 207PX;
.closeButton {
.closeButton {
position: absolute;
position: absolute;
right: 20PX;
right: 20PX;
...
...
wj-manage-web/src/views/track/historyVideos.vue
View file @
7dc24fe6
...
@@ -47,6 +47,7 @@ export default {
...
@@ -47,6 +47,7 @@ export default {
videoReady
(
channel
)
{
videoReady
(
channel
)
{
document
.
getElementById
(
`videoVisibles
${
channel
}
`
).
style
.
display
=
document
.
getElementById
(
`videoVisibles
${
channel
}
`
).
style
.
display
=
"
unset
"
;
"
unset
"
;
this
.
$emit
(
"
videoCanPlay
"
);
},
},
},
},
};
};
...
...
wj-manage-web/src/views/track/index.vue
View file @
7dc24fe6
...
@@ -19,19 +19,20 @@
...
@@ -19,19 +19,20 @@
<div
<div
class=
"visibleControl"
class=
"visibleControl"
:class=
"[
{ 'expand-i': boxesShow }, { 'close-i': !boxesShow }]"
:class=
"[
{ 'expand-i': boxesShow }, { 'close-i': !boxesShow }]"
@click="
changeVisibel
"
@click="
boxesShow = !boxesShow
"
>
</div>
>
</div>
<!--主地图-->
<!--主地图-->
<cesium-map
<cesium-map
cId=
"trackMain"
cId=
"trackMain"
:loadTileset=
"true"
:loadTileset=
"true"
@
tilesetReady=
"tilesetReady"
ref=
"cesiumMap"
ref=
"cesiumMap"
class=
"cesium-map-track"
class=
"cesium-map-track"
/>
/>
<!--事件历史视频-->
<history-videos
<history-videos
v-if=
"cameraShow && currentMenu === 'third'"
v-if=
"cameraShow && currentMenu === 'third'"
:eventRowData=
"eventRowData"
:eventRowData=
"eventRowData"
@
videoCanPlay=
"videoCanPlay"
/>
/>
<!--鹰眼图-->
<!--鹰眼图-->
<div
class=
"small-map-container"
v-show=
"showOverMap"
>
<div
class=
"small-map-container"
v-show=
"showOverMap"
>
...
@@ -81,7 +82,7 @@
...
@@ -81,7 +82,7 @@
<div
class=
"track-timeline"
v-show=
"showProgress"
>
<div
class=
"track-timeline"
v-show=
"showProgress"
>
<div
class=
"track-progress"
>
<div
class=
"track-progress"
>
<div
<div
@
click=
"play"
@
click=
"play
Status = !playStatus
"
:class=
"playStatus ? 'el-icon-video-pause' : 'el-icon-video-play'"
:class=
"playStatus ? 'el-icon-video-pause' : 'el-icon-video-play'"
></div>
></div>
</div>
</div>
...
@@ -138,7 +139,8 @@ let viewer,
...
@@ -138,7 +139,8 @@ let viewer,
lightTexts
=
{},
// 灯态文字entity
lightTexts
=
{},
// 灯态文字entity
popup
=
null
,
// 目标车辆弹窗
popup
=
null
,
// 目标车辆弹窗
currentEntity
=
null
,
// 需要展示弹窗的目标车辆
currentEntity
=
null
,
// 需要展示弹窗的目标车辆
timeRangeLights
=
[];
timeRangeLights
=
[],
checkVideoReadyTimer
=
null
;
export
default
{
export
default
{
name
:
"
track
"
,
name
:
"
track
"
,
props
:
{},
props
:
{},
...
@@ -196,16 +198,17 @@ export default {
...
@@ -196,16 +198,17 @@ export default {
time
:
""
,
time
:
""
,
},
},
lastTimeSecend
:
null
,
lastTimeSecend
:
null
,
videoReady
:
false
,
};
};
},
},
computed
:
{},
computed
:
{},
methods
:
{
methods
:
{
videoCanPlay
()
{
this
.
videoReady
=
true
;
},
closeTimeSelector
()
{
closeTimeSelector
()
{
this
.
showTimeSelector
=
false
;
this
.
showTimeSelector
=
false
;
},
},
updateSceneLights
()
{
this
.
updateLights
();
},
getHisLights
(
lights
)
{
getHisLights
(
lights
)
{
timeRangeLights
=
lights
;
timeRangeLights
=
lights
;
},
},
...
@@ -363,7 +366,6 @@ export default {
...
@@ -363,7 +366,6 @@ export default {
}
}
}
}
},
},
tilesetReady() {},
// viewer, data, id, type, color, timeInterval, start, stop, pos, ori, speed, angle
// viewer, data, id, type, color, timeInterval, start, stop, pos, ori, speed, angle
addEntityProperty(options) {
addEntityProperty(options) {
let colorString = "#fff";
let colorString = "#fff";
...
@@ -562,22 +564,21 @@ export default {
...
@@ -562,22 +564,21 @@ export default {
viewer.clock.multiplier = 1;
viewer.clock.multiplier = 1;
// 循环执行,即为2,到达终止时间,重新从起点时间开始
// 循环执行,即为2,到达终止时间,重新从起点时间开始
viewer.clock.clockRange = Cesium.ClockRange.LOOP_STOP;
viewer.clock.clockRange = Cesium.ClockRange.LOOP_STOP;
this.playStatus = true;
if (this.currentMenu === "third" && this.eventRowData.channels.length) {
this.playStatus = false;
// 视频可以播放时再开始播放轨迹&播放视频
checkVideoReadyTimer = setInterval(() => {
if (this.videoReady) {
clearInterval(checkVideoReadyTimer);
checkVideoReadyTimer = null;
this.playStatus = true;
}
}, 100);
} else {
this.playStatus = true;
}
});
});
},
},
// 停止播放 删除所有实体 删除弹窗
removeAllEntities() {
this.playStatus = false;
viewer?.entities.removeAll();
viewerS?.entities.removeAll();
lightEntities = {};
lightTexts = {};
currentEntity = null;
entityVehicles = {};
entityLines = {};
popup?.remove();
popup = null;
},
// 模块一 模块二 请求轨迹并播放
// 模块一 模块二 请求轨迹并播放
queryPathByTime(rowData) {
queryPathByTime(rowData) {
this.removeAllEntities();
this.removeAllEntities();
...
@@ -774,7 +775,25 @@ export default {
...
@@ -774,7 +775,25 @@ export default {
}
}
});
});
},
},
// 播放选中的轨迹
// 停止播放 删除所有实体 删除弹窗
removeAllEntities() {
this.playStatus = false;
this.videoReady = false;
if (checkVideoReadyTimer) {
clearInterval(checkVideoReadyTimer);
checkVideoReadyTimer = null;
}
viewer?.entities.removeAll();
viewerS?.entities.removeAll();
lightEntities = {};
lightTexts = {};
currentEntity = null;
entityVehicles = {};
entityLines = {};
popup?.remove();
popup = null;
},
// 根据timeArray选中时间请求轨迹
confirmPlayTrack(tracksIndex) {
confirmPlayTrack(tracksIndex) {
this.playStatus = false;
this.playStatus = false;
let toSend = this.currentRow.tracks[tracksIndex];
let toSend = this.currentRow.tracks[tracksIndex];
...
@@ -800,10 +819,6 @@ export default {
...
@@ -800,10 +819,6 @@ export default {
this.currentMenu = "first";
this.currentMenu = "first";
this.$refs.trackTypes.changeCheck("first");
this.$refs.trackTypes.changeCheck("first");
},
},
// 左侧菜单抽屉状态
changeVisibel() {
this.boxesShow = !this.boxesShow;
},
// 重置视角 & 组件状态
// 重置视角 & 组件状态
resetView() {
resetView() {
this.$nextTick(() => {
this.$nextTick(() => {
...
@@ -815,7 +830,6 @@ export default {
...
@@ -815,7 +830,6 @@ export default {
this.showTrackSwitcher = false;
this.showTrackSwitcher = false;
this.switchTimeLine(false);
this.switchTimeLine(false);
this.showTimeSelector = false;
this.showTimeSelector = false;
viewer.camera.flyTo({
viewer.camera.flyTo({
destination: Cesium.Cartesian3.fromDegrees(
destination: Cesium.Cartesian3.fromDegrees(
...cesium_config.center,
...cesium_config.center,
...
@@ -1142,10 +1156,6 @@ export default {
...
@@ -1142,10 +1156,6 @@ export default {
this
.
showProgress
=
false
;
this
.
showProgress
=
false
;
}
}
},
},
// 播放按钮
play
()
{
this
.
playStatus
=
!
this
.
playStatus
;
},
// 倍速切换
// 倍速切换
changeSpeed
(
e
)
{
changeSpeed
(
e
)
{
viewer
.
clock
.
multiplier
=
e
;
viewer
.
clock
.
multiplier
=
e
;
...
@@ -1259,7 +1269,7 @@ export default {
...
@@ -1259,7 +1269,7 @@ export default {
this
.
fullscreenLoading
=
false
;
this
.
fullscreenLoading
=
false
;
});
});
viewer
=
this
.
$refs
.
cesiumMap
.
loadMap
();
viewer
=
this
.
$refs
.
cesiumMap
.
loadMap
();
viewer
.
clock
.
onTick
.
addEventListener
(
this
.
update
Scene
Lights
);
viewer
.
clock
.
onTick
.
addEventListener
(
this
.
updateLights
);
// 鹰眼图 = 普通cesium场景 cartographic height * 1.5
// 鹰眼图 = 普通cesium场景 cartographic height * 1.5
viewerS
=
this
.
$refs
.
cesiumOverMap
.
loadMap
();
viewerS
=
this
.
$refs
.
cesiumOverMap
.
loadMap
();
viewerS
.
clock
.
shouldAnimate
=
false
;
viewerS
.
clock
.
shouldAnimate
=
false
;
...
@@ -1278,7 +1288,7 @@ export default {
...
@@ -1278,7 +1288,7 @@ export default {
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
clockListenerInCar
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
clockListenerInCar
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
clockListenerWithCar
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
clockListenerWithCar
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
updatePopup
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
updatePopup
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
update
Scene
Lights
);
viewer
?.
clock
.
onTick
.
removeEventListener
(
this
.
updateLights
);
viewer
?.
destroy
();
viewer
?.
destroy
();
viewerS
?.
destroy
();
viewerS
?.
destroy
();
},
},
...
...
wj-manage-web/src/views/track/menuKeyVehicle.vue
View file @
7dc24fe6
...
@@ -273,6 +273,30 @@ export default {
...
@@ -273,6 +273,30 @@ export default {
.mypigination {
.mypigination {
background: transparent;
background: transparent;
::v-deep .el-pager {
li {
width: unset;
height: unset;
padding: 4px;
min-width: unset;
line-height: unset;
margin: 0 5px;
}
}
::v-deep .el-pager .more::before {
line-height: unset;
}
::v-deep .el-pagination {
button {
width: unset;
padding: 4px;
min-width: unset;
line-height: unset;
}
}
::v-deep .el-pagination__total {
::v-deep .el-pagination__total {
color: rgba(255, 255, 255, 0.85);
color: rgba(255, 255, 255, 0.85);
}
}
...
...
wj-manage-web/src/views/track/menuTrafficCrowd.vue
View file @
7dc24fe6
...
@@ -444,6 +444,30 @@ export default {
...
@@ -444,6 +444,30 @@ export default {
.mypigination {
.mypigination {
background: transparent;
background: transparent;
::v-deep .el-pager {
li {
width: unset;
height: unset;
padding: 4px;
min-width: unset;
line-height: unset;
margin: 0 5px;
}
}
::v-deep .el-pager .more::before {
line-height: unset;
}
::v-deep .el-pagination {
button {
width: unset;
padding: 4px;
min-width: unset;
line-height: unset;
}
}
::v-deep .el-pagination__total {
::v-deep .el-pagination__total {
color: rgba(255, 255, 255, 0.85);
color: rgba(255, 255, 255, 0.85);
}
}
...
...
wj-manage-web/src/views/track/menuTrafficEvent.vue
View file @
7dc24fe6
...
@@ -196,7 +196,7 @@ import {
...
@@ -196,7 +196,7 @@ import {
eventTracksList
,
eventTracksList
,
getEventVideo
,
getEventVideo
,
multiVehicleTrackDetail
,
multiVehicleTrackDetail
,
getLightByTimeAndCrossId
getLightByTimeAndCrossId
,
}
from
"
../../dao/track
"
;
}
from
"
../../dao/track
"
;
import
MsgCard
from
"
../../components/Standard/msg-card.vue
"
;
import
MsgCard
from
"
../../components/Standard/msg-card.vue
"
;
...
@@ -358,24 +358,18 @@ export default {
...
@@ -358,24 +358,18 @@ export default {
pageNum
:
this
.
currentPage
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Promise
.
all
([
eventTracksList
(
sendData
),
equip_camera
()]).
then
(
eventTracksList
(
sendData
).
then
((
table
)
=>
{
([
table
,
camera
])
=>
{
for
(
let
i
=
0
;
i
<
table
.
content
.
rows
.
length
;
i
++
)
{
// console.log("table && camera", table, camera);
let
channels
=
table
.
content
.
rows
[
i
].
cameraChannels
.
split
(
"
,
"
);
for
(
let
i
=
0
;
i
<
table
.
content
.
rows
.
length
;
i
++
)
{
let
fChannels
=
channels
.
filter
((
item
)
=>
{
// table.content.rows[i].channels = camera.content.filter((item) => {
return
item
!==
""
;
// return item.crossId === table.content.rows[i].crossId;
});
// });
table
.
content
.
rows
[
i
].
channels
=
fChannels
;
let
channels
=
table
.
content
.
rows
[
i
].
cameraChannels
.
split
(
"
,
"
);
let
fChannels
=
channels
.
filter
((
item
)
=>
{
return
item
!==
""
;
});
table
.
content
.
rows
[
i
].
channels
=
fChannels
;
}
this
.
tableData
=
table
.
content
.
rows
;
this
.
tableTotal
=
table
.
content
.
total
;
this
.
tableLoading
=
false
;
}
}
);
this
.
tableData
=
table
.
content
.
rows
;
this
.
tableTotal
=
table
.
content
.
total
;
this
.
tableLoading
=
false
;
});
},
},
pageChange
(
e
)
{
pageChange
(
e
)
{
this
.
currentPage
=
e
.
page
;
this
.
currentPage
=
e
.
page
;
...
@@ -392,7 +386,7 @@ export default {
...
@@ -392,7 +386,7 @@ export default {
console
.
log
(
"
rowData
"
,
rowData
);
console
.
log
(
"
rowData
"
,
rowData
);
this
.
fullscreenLoading
=
true
;
this
.
fullscreenLoading
=
true
;
this
.
getLight
({
startTime
:
rowData
.
startTime
,
endTime
:
rowData
.
endTime
});
this
.
getLight
({
startTime
:
rowData
.
startTime
,
endTime
:
rowData
.
endTime
});
console
.
log
(
'
event start and end
'
,
rowData
.
startTime
,
rowData
.
endTime
);
console
.
log
(
"
event start and end
"
,
rowData
.
startTime
,
rowData
.
endTime
);
multiVehicleTrackDetail
({
multiVehicleTrackDetail
({
startTime
:
rowData
.
startTime
,
startTime
:
rowData
.
startTime
,
endTime
:
rowData
.
endTime
,
endTime
:
rowData
.
endTime
,
...
@@ -407,7 +401,7 @@ export default {
...
@@ -407,7 +401,7 @@ export default {
},
},
// 获取时间区间内的历史灯态
// 获取时间区间内的历史灯态
getLight
(
timeRange
)
{
getLight
(
timeRange
)
{
this
.
$emit
(
'
getHisLights
'
,[])
this
.
$emit
(
"
getHisLights
"
,
[]);
let
toSend
=
[];
let
toSend
=
[];
for
(
let
crossId
of
[
"
13NF80B5QN0
"
,
"
13NGH0B5RC0
"
,
"
13NI00B5RM0
"
])
{
for
(
let
crossId
of
[
"
13NF80B5QN0
"
,
"
13NGH0B5RC0
"
,
"
13NI00B5RM0
"
])
{
toSend
.
push
({
toSend
.
push
({
...
@@ -423,7 +417,11 @@ export default {
...
@@ -423,7 +417,11 @@ export default {
getLightByTimeAndCrossId
(
toSend
[
2
]),
getLightByTimeAndCrossId
(
toSend
[
2
]),
]).
then
(([
res1
,
res2
,
res3
])
=>
{
]).
then
(([
res1
,
res2
,
res3
])
=>
{
console
.
log
(
"
历史灯态
"
,
res1
,
res2
,
res3
);
console
.
log
(
"
历史灯态
"
,
res1
,
res2
,
res3
);
this
.
$emit
(
'
getHisLights
'
,[...
res1
.
content
,
...
res2
.
content
,
...
res3
.
content
])
this
.
$emit
(
"
getHisLights
"
,
[
...
res1
.
content
,
...
res2
.
content
,
...
res3
.
content
,
]);
});
});
},
},
// 轨迹(仅展示)
// 轨迹(仅展示)
...
@@ -452,7 +450,7 @@ export default {
...
@@ -452,7 +450,7 @@ export default {
beforeDestroy
()
{},
beforeDestroy
()
{},
};
};
</
script
>
</
script
>
<
style
lang=
'less'
scoped
>
<
style
lang=
"less"
scoped
>
.l_hidden {
.l_hidden {
left: -100%;
left: -100%;
transition: 0.5s all ease;
transition: 0.5s all ease;
...
@@ -509,6 +507,30 @@ export default {
...
@@ -509,6 +507,30 @@ export default {
.mypigination {
.mypigination {
background: transparent;
background: transparent;
::v-deep .el-pager {
li {
width: unset;
height: unset;
padding: 4px;
min-width: unset;
line-height: unset;
margin: 0 5px;
}
}
::v-deep .el-pager .more::before {
line-height: unset;
}
::v-deep .el-pagination {
button {
width: unset;
padding: 4px;
min-width: unset;
line-height: unset;
}
}
::v-deep .el-pagination__total {
::v-deep .el-pagination__total {
color: rgba(255, 255, 255, 0.85);
color: rgba(255, 255, 255, 0.85);
}
}
...
@@ -552,7 +574,6 @@ export default {
...
@@ -552,7 +574,6 @@ export default {
color: #676666;
color: #676666;
}
}
}
}
::v-deep .el-form-item__error {
::v-deep .el-form-item__error {
padding-top: 2px;
padding-top: 2px;
}
}
...
@@ -731,7 +752,7 @@ export default {
...
@@ -731,7 +752,7 @@ export default {
}
}
::v-deep .el-input__inner {
::v-deep .el-input__inner {
// font-size: 14px;
// font-size: 14px;
color: white;
color: white;
}
}
...
@@ -822,4 +843,4 @@ export default {
...
@@ -822,4 +843,4 @@ export default {
background: #0f2645;
background: #0f2645;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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