Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
海康威视
web-project
Commits
87abc61a
Commit
87abc61a
authored
Sep 27, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换热站监控初步调整
parent
1ae79d33
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
703 additions
and
4 deletions
+703
-4
screenDisplay.vue
src/components/screenDisplay.vue
+30
-4
videoComponents.vue
src/components/videoComponents.vue
+673
-0
No files found.
src/components/screenDisplay.vue
View file @
87abc61a
...
@@ -424,6 +424,8 @@ import AMapLoader from "@amap/amap-jsapi-loader";
...
@@ -424,6 +424,8 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<div
class=
"thirdLeftLayer"
>
<div
class=
"thirdLeftLayer"
>
<div
class=
"thirdLeftLayer_one"
>
<div
class=
"thirdLeftLayer_one"
>
<div
class=
"titleStyleTwo"
><p>
换热站监控
</p></div>
<div
class=
"titleStyleTwo"
><p>
换热站监控
</p></div>
<video-components
:queryParams=
"childParams"
:stopParams=
"stopParams"
/>
</div>
</div>
<div
class=
"thirdLeftLayer_one"
>
<div
class=
"thirdLeftLayer_one"
>
<div
class=
"titleStyleTwo"
><p>
电气柜监视
</p></div>
<div
class=
"titleStyleTwo"
><p>
电气柜监视
</p></div>
...
@@ -512,7 +514,7 @@ import { detectZoom } from "@/plugins/screen";
...
@@ -512,7 +514,7 @@ import { detectZoom } from "@/plugins/screen";
import
{
ElLoading
}
from
"element-plus"
;
import
{
ElLoading
}
from
"element-plus"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
ElMessage
}
from
"element-plus"
;
const
m
=
detectZoom
();
const
m
=
detectZoom
();
import
videoComponents
from
'./videoComponents.vue'
import
{
vue3ScrollSeamless
}
from
"vue3-scroll-seamless"
;
import
{
vue3ScrollSeamless
}
from
"vue3-scroll-seamless"
;
import
{
import
{
postServicCenterList
,
postServicCenterList
,
...
@@ -540,6 +542,7 @@ import moment from 'moment'
...
@@ -540,6 +542,7 @@ import moment from 'moment'
import
{
defineComponent
}
from
"vue"
;
import
{
defineComponent
}
from
"vue"
;
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
videoComponents
,
vue3ScrollSeamless
vue3ScrollSeamless
},
},
watch
:
{
watch
:
{
...
@@ -562,6 +565,15 @@ export default defineComponent({
...
@@ -562,6 +565,15 @@ export default defineComponent({
},
},
data
()
{
data
()
{
return
{
return
{
childParams
:
''
,
stopParams
:
0
,
showVideo
:
false
,
VideoInfo
:
{
selectOptions
:
[],
value
:
[],
videoList
:
[],
playVideoList
:
[]
},
open
:
false
,
open
:
false
,
items
:
[
'Item 1'
,
'Item 2'
,
'Item 3'
,
'Item 4'
],
items
:
[
'Item 1'
,
'Item 2'
,
'Item 3'
,
'Item 4'
],
currentIndex
:
0
,
currentIndex
:
0
,
...
@@ -966,6 +978,7 @@ export default defineComponent({
...
@@ -966,6 +978,7 @@ export default defineComponent({
this
.
$router
.
push
(
"/Home"
);
this
.
$router
.
push
(
"/Home"
);
break
;
break
;
case
4
:
case
4
:
this
.
stopParams
+=
1
if
(
this
.
mapBack
!=
null
&&
this
.
mapLevel
!=
2
)
{
if
(
this
.
mapBack
!=
null
&&
this
.
mapLevel
!=
2
)
{
_this
.
servicCenterList
[
_this
.
mapBack
.
index
].
openF
=
false
;
_this
.
servicCenterList
[
_this
.
mapBack
.
index
].
openF
=
false
;
_this
.
mapBack
.
map
=
null
;
_this
.
mapBack
.
map
=
null
;
...
@@ -2928,11 +2941,20 @@ export default defineComponent({
...
@@ -2928,11 +2941,20 @@ export default defineComponent({
// 获取港益换热站视频数据
// 获取港益换热站视频数据
getGYTransferVideo
()
{
getGYTransferVideo
()
{
const
params
=
{
const
params
=
{
//
id: this.markerThree.stationId
id
:
this
.
markerThree
.
stationId
id
:
'9C9D13FA-BA07-4394-8441-55F98F160EDA'
//
id: '9C9D13FA-BA07-4394-8441-55F98F160EDA'
}
}
GYTransferVideo
(
params
).
then
(
res
=>
{
GYTransferVideo
(
params
).
then
(
res
=>
{
this
.
showVideo
=
true
const
list
=
res
.
data
this
.
VideoInfo
.
playVideoList
=
[]
list
.
forEach
(
video
=>
{
var
videoId
=
video
.
videoId
.
replaceAll
(
'-'
,
''
);
this
.
VideoInfo
.
playVideoList
.
push
(
videoId
);
})
const
videoList
=
[]
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
0
])
this
.
childParams
=
JSON
.
stringify
(
videoList
)
})
})
},
},
// 获取港益换热站实时能耗数据
// 获取港益换热站实时能耗数据
...
@@ -4184,6 +4206,10 @@ export default defineComponent({
...
@@ -4184,6 +4206,10 @@ export default defineComponent({
letter-spacing
:
3px
;
letter-spacing
:
3px
;
font-size
:
120%
;
font-size
:
120%
;
}
}
.videoComponents_Class
{
width
:
100%
;
height
:
100%
;
}
.gis_content
.titleStyleTwo
{
.gis_content
.titleStyleTwo
{
width
:
95%
;
width
:
95%
;
height
:
35px
;
height
:
35px
;
...
...
src/components/videoComponents.vue
0 → 100644
View file @
87abc61a
This diff is collapsed.
Click to expand it.
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