Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xt-whp
Project
Project
Details
Activity
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
yaqizhang
xt-whp
Commits
7189e082
Commit
7189e082
authored
Nov 01, 2021
by
jianqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5b9faf70
3e954d3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
10 deletions
+28
-10
qyMap.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
+20
-2
qyMapone.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMapone.vue
+8
-8
No files found.
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
View file @
7189e082
...
...
@@ -148,6 +148,13 @@
import
QyMapone
from
'./qyMapone.vue'
;
import
vueDrag
from
'vue-dragging'
import
{
Component
,
Vue
,
Provide
,
Prop
,
Watch
}
from
"vue-property-decorator"
;
import
'ol/ol.css'
;
import
Map
from
'ol/Map'
;
import
OSM
from
'ol/source/OSM'
;
import
TileLayer
from
'ol/layer/Tile'
;
import
View
from
'ol/View'
;
import
{
easeIn
,
easeOut
}
from
'ol/easing'
;
import
{
fromLonLat
}
from
'ol/proj'
;
Vue
.
use
(
vueDrag
)
@
Component
({
components
:
{
...
...
@@ -797,11 +804,13 @@
this
.
Mutil
.
visibleMarks
(
false
,
"qiye"
);
this
.
qiyeVisble
=
false
;
this
.
$refs
.
qyzc
.
style
.
background
=
"#24BBC7"
;
this
.
$refs
.
zqyzc
.
lastChild
.
style
.
color
=
"#013056"
;
// this.$refs.qyimg.lastChild.style.display = "none";
this
.
$refs
.
zqyzc
.
lastChild
.
style
.
color
=
"#013056"
;
}
else
{
this
.
Mutil
.
visibleMarks
(
true
,
"qiye"
);
this
.
Mutil
.
setViewF
({
center
:
[
this
.
mapData
[
0
].
longitude
,
this
.
mapData
[
0
].
latitude
]
})
this
.
qiyeVisble
=
true
;
this
.
$refs
.
qyzc
.
style
.
background
=
"RGBA(5, 52, 82, 0.7)"
;
this
.
$refs
.
zqyzc
.
lastChild
.
style
.
color
=
"#fff"
;
...
...
@@ -833,6 +842,9 @@
this
.
$refs
.
wxy
.
style
.
background
=
"#24BBC7"
;
this
.
$refs
.
zwxy
.
lastChild
.
style
.
color
=
"#013056"
;
}
else
{
this
.
Mutil
.
setViewF
({
center
:
[
this
.
wxymapData
[
0
].
longitude
,
this
.
wxymapData
[
0
].
latitude
]
})
this
.
Mutil
.
visibleMarks
(
true
,
"wxy"
);
this
.
wxyVisble
=
true
;
this
.
$refs
.
wxy
.
style
.
background
=
"RGBA(5, 52, 82, 0.7)"
;
...
...
@@ -846,6 +858,9 @@
this
.
$refs
.
jk
.
style
.
background
=
"#24BBC7"
;
this
.
$refs
.
zjk
.
lastChild
.
style
.
color
=
"#013056"
;
}
else
{
this
.
Mutil
.
setViewF
({
center
:
[
this
.
shipinmapData
[
0
].
longitude
,
this
.
shipinmapData
[
0
].
latitude
]
})
this
.
Mutil
.
visibleMarks
(
true
,
"shipin"
);
this
.
shipinVisble
=
true
;
this
.
$refs
.
jk
.
style
.
background
=
"RGBA(5, 52, 82, 0.7)"
;
...
...
@@ -859,6 +874,9 @@
this
.
$refs
.
yh
.
style
.
background
=
"#24BBC7"
;
this
.
$refs
.
zyh
.
lastChild
.
style
.
color
=
"#013056"
;
}
else
{
this
.
Mutil
.
setViewF
({
center
:
[
this
.
yhmapData
[
0
].
longitude
,
this
.
yhmapData
[
0
].
latitude
]
})
this
.
Mutil
.
visibleMarks
(
true
,
"yh"
);
this
.
yinhuanVisble
=
true
;
this
.
$refs
.
yh
.
style
.
background
=
"RGBA(5, 52, 82, 0.7)"
;
...
...
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMapone.vue
View file @
7189e082
<
template
style=
""
>
<div
class=
"pie"
style=
"width:480px;margin-left: 10px;margin-top:
2
0px;"
>
<div
class=
"pie"
style=
"width:480px;margin-left: 10px;margin-top:
1
0px;"
>
<!--
<dv-border-box-1>
-->
<div
class=
"pie-div"
>
<div
style=
"width:100%;height: 30px;text-align: center;"
>
...
...
@@ -31,12 +31,12 @@
</div>
<!--
</dv-border-box-1>
-->
<dv-border-box-12>
<div
id=
"pie2"
style=
"width:450px;height:
330px
;padding: 20px 0 0 0;"
>
<div
id=
"pie2"
style=
"width:450px;height:
auto
;padding: 20px 0 0 0;"
>
<!-- 为 ECharts 准备一个具备大小(宽高)的 DOM -->
<div
id=
"main2"
style=
"width:450px;height:
310px
;"
></div>
<div
id=
"main2"
style=
"width:450px;height:
calc(100vh - 670px)
;"
></div>
</div>
</dv-border-box-12>
<div
class=
"div-table"
style=
"width:480px;margin-top:
20
px;background-color: rgb(0, 0, 0,0);position: fixed;bottom: 0;right: 0;margin-right: 20px;"
>
<div
class=
"div-table"
style=
"width:480px;margin-top:
15
px;background-color: rgb(0, 0, 0,0);position: fixed;bottom: 0;right: 0;margin-right: 20px;"
>
<div
style=
"width: 100%;height: 38px;text-align: left;font-size: 16px; line-height: 38px;color: #fff;font-weight: 900;background: #013056;opacity: 0.8;"
><span
style=
"margin-left: 10px;"
>
预警信息
</span></div>
<el-table
:data=
"$data.tableData"
stripe
border
:header-cell-style=
"
{background:'#02285a',color:'#fff',}">
<el-table-column
prop=
"unitName"
label=
"企业名称"
width=
"110"
></el-table-column>
...
...
@@ -49,9 +49,9 @@
<el-table-column
prop=
"alarmTime"
label=
"预警时间"
></el-table-column>
</el-table>
</div>
<div
id=
"pie3"
style=
"width:450px;height:
350px;margin-left: 20px;margin-top: 35
px;"
>
<div
id=
"pie3"
style=
"width:450px;height:
auto;margin-left: 20px;margin-top: 20
px;"
>
<!-- 为 ECharts 准备一个具备大小(宽高)的 DOM -->
<div
id=
"main3"
style=
"width:450px;height:3
3
0px;"
></div>
<div
id=
"main3"
style=
"width:450px;height:3
0
0px;"
></div>
</div>
</div>
...
...
@@ -206,7 +206,7 @@ export default {
}
},
grid
:
{
bottom
:
'
7
%'
,
bottom
:
'
13
%'
,
left
:
80
,
},
xAxis
:
{
...
...
@@ -438,7 +438,7 @@ export default {
.pie
#pie2
{
/* border: 1px #000000 solid; */
margin-left
:
20px
;
margin-top
:
3
0px
!important
;
margin-top
:
2
0px
!important
;
}
.el-main
.el-tabs
.el-tabs__content
{
/* height: 100%; */
...
...
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