Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_control
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
zhanglw
kd_control
Commits
d7700b85
Commit
d7700b85
authored
Apr 15, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集成三维大屏
parent
2ee435f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
Navbar.vue
src/layout/components/Navbar.vue
+7
-4
index.vue
src/views/MLargeScreen/index.vue
+12
-5
No files found.
src/layout/components/Navbar.vue
View file @
d7700b85
...
@@ -24,8 +24,11 @@
...
@@ -24,8 +24,11 @@
<div
class=
"right-menu"
>
<div
class=
"right-menu"
>
<div
style=
"display:inline-block;height:100%;vertical-align:unset;margin-right:10px;"
>
<div
style=
"display:inline-block;height:100%;vertical-align:unset;margin-right:10px;"
>
<el-tooltip
content=
"三维大屏"
effect=
"dark"
placement=
"bottom"
>
<a
href=
"http://39.164.225.220:5003/edge/Screen"
class=
"el-icon-s-platform"
style=
"font-size:24px;"
></a>
</el-tooltip>
<el-tooltip
content=
"可视化大屏"
effect=
"dark"
placement=
"bottom"
>
<el-tooltip
content=
"可视化大屏"
effect=
"dark"
placement=
"bottom"
>
<router-link
class=
"el-icon-s-
platform"
style=
"font-size:24px;"
to=
"/MLargeScreen/index"
target=
"_blank
"
tag=
"a"
></router-link>
<router-link
class=
"el-icon-s-
marketing"
style=
"font-size:24px;"
to=
"/MLargeScreen/index
"
tag=
"a"
></router-link>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -240,15 +243,15 @@ export default {
...
@@ -240,15 +243,15 @@ export default {
height
:
100%
;
cursor
:pointer
;
height
:
100%
;
cursor
:pointer
;
transition
:
background
.3s
;
transition
:
background
.3s
;
-webkit-tap-highlight-color
:transparent
;
-webkit-tap-highlight-color
:transparent
;
&
:hover
{
&
:hover
{
background
:
rgba
(
0
,
0
,
0
,
.025
)
background
:
rgba
(
0
,
0
,
0
,
.025
)
}
}
}
}
.breadcrumb-container
{
float
:
left
;}
.breadcrumb-container
{
float
:
left
;}
.errLog-container
{
.errLog-container
{
display
:
inline-block
;
vertical-align
:
top
;
display
:
inline-block
;
vertical-align
:
top
;
...
...
src/views/MLargeScreen/index.vue
View file @
d7700b85
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<div
class=
"top_title"
style=
"text-align: center"
>
<div
class=
"top_title"
style=
"text-align: center"
>
<span
class=
"projectName"
>
恒源矿业二道庄矿区智慧矿山
</span>
<span
class=
"projectName"
>
恒源矿业二道庄矿区智慧矿山
</span>
<div
class=
"top_titl_left"
>
<div
class=
"top_titl_left"
>
<div></div>
<div
v-for=
"(item,index) in topSmallTitleLeftData"
:key=
"index"
style=
"cursor: pointer;"
@
click=
"changeOver(item)"
>
<div
v-for=
"(item,index) in topSmallTitleLeftData"
:key=
"index"
style=
"cursor: pointer;"
@
click=
"changeOver(item)"
>
<div
:class=
"selectModule == item.componentName ? 'top_titl_left_textStyle2' : 'top_titl_left_textStyle1' "
>
{{
item
.
title
}}
</div>
<div
:class=
"selectModule == item.componentName ? 'top_titl_left_textStyle2' : 'top_titl_left_textStyle1' "
>
{{
item
.
title
}}
</div>
<img
src=
"../../assets/images/cutGraph/light7.png"
width=
"85"
style=
"margin-top:-1vh;"
v-if=
"selectModule == item.componentName"
>
<img
src=
"../../assets/images/cutGraph/light7.png"
width=
"85"
style=
"margin-top:-1vh;"
v-if=
"selectModule == item.componentName"
>
...
@@ -15,6 +14,9 @@
...
@@ -15,6 +14,9 @@
<div
:class=
"selectModule == item.componentName ? 'top_titl_left_textStyle2' : 'top_titl_left_textStyle1' "
>
{{
item
.
title
}}
</div>
<div
:class=
"selectModule == item.componentName ? 'top_titl_left_textStyle2' : 'top_titl_left_textStyle1' "
>
{{
item
.
title
}}
</div>
<img
src=
"../../assets/images/cutGraph/light7.png"
width=
"85"
style=
"margin-top:-1vh;"
v-if=
"selectModule == item.componentName"
>
<img
src=
"../../assets/images/cutGraph/light7.png"
width=
"85"
style=
"margin-top:-1vh;"
v-if=
"selectModule == item.componentName"
>
</div>
</div>
<div>
<div
class=
"top_titl_left_textStyle1"
><a
href=
"http://39.164.225.220:5003/edge/Screen"
>
三维大屏
</a></div>
</div>
</div>
</div>
<!-- 时间 -->
<!-- 时间 -->
<div
class=
"currentTimeStyle"
>
{{
currentTime
}}
</div>
<div
class=
"currentTimeStyle"
>
{{
currentTime
}}
</div>
...
@@ -207,10 +209,10 @@ export default {
...
@@ -207,10 +209,10 @@ export default {
let
array1
=
res
.
data
.
content
.
sort
(
function
(
a
,
b
){
let
array1
=
res
.
data
.
content
.
sort
(
function
(
a
,
b
){
return
parseInt
(
a
.
dsort
)
-
parseInt
(
b
.
dsort
);
return
parseInt
(
a
.
dsort
)
-
parseInt
(
b
.
dsort
);
});
});
for
(
let
i
=
0
;
i
<
2
;
i
++
){
for
(
let
i
=
0
;
i
<
3
;
i
++
){
leftTemporaryData
.
push
(
array1
[
i
]);
leftTemporaryData
.
push
(
array1
[
i
]);
}
}
for
(
let
j
=
2
;
j
<
res
.
data
.
totalElements
;
j
++
){
for
(
let
j
=
3
;
j
<
res
.
data
.
totalElements
;
j
++
){
rightTemporaryData
.
push
(
array1
[
j
]);
rightTemporaryData
.
push
(
array1
[
j
]);
}
}
this
.
topSmallTitleLeftData
=
leftTemporaryData
;
this
.
topSmallTitleLeftData
=
leftTemporaryData
;
...
@@ -221,7 +223,11 @@ export default {
...
@@ -221,7 +223,11 @@ export default {
},
},
//选择展示模块
//选择展示模块
changeOver
(
item
){
changeOver
(
item
){
this
.
selectModule
=
item
.
componentName
;
if
(
this
.
selectModule
==
item
.
componentName
)
{
this
.
selectModule
=
null
;
}
else
{
this
.
selectModule
=
item
.
componentName
;
}
if
(
item
.
componentName
==
'
dataScreening
'
){
if
(
item
.
componentName
==
'
dataScreening
'
){
if
(
this
.
isShow
.
dataScreening
==
false
){
if
(
this
.
isShow
.
dataScreening
==
false
){
this
.
isShow
.
dataScreening
=
true
;
this
.
isShow
.
dataScreening
=
true
;
...
@@ -395,7 +401,8 @@ export default {
...
@@ -395,7 +401,8 @@ export default {
let
routeUrl
=
this
.
$router
.
resolve
({
let
routeUrl
=
this
.
$router
.
resolve
({
path
:
"
/dashboard
"
,
path
:
"
/dashboard
"
,
});
});
window
.
open
(
routeUrl
.
href
,
'
_blank
'
);
// window.open(routeUrl.href, '_blank');
window
.
location
.
href
=
routeUrl
.
href
;
})
})
this
.
videoSelect1
=
false
;
this
.
videoSelect1
=
false
;
this
.
kaungEZUIKitJsShow
=
false
;
this
.
kaungEZUIKitJsShow
=
false
;
...
...
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