Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
2a19b651
Commit
2a19b651
authored
Sep 03, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_jzl'
parents
beb3e59d
629fd6b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
gaodeMap.js
gassafety-web/src/utils/gaodeMap.js
+9
-2
RightBototmData.vue
...c/views/enterprise/mapView/components/RightBototmData.vue
+4
-3
index.vue
gassafety-web/src/views/enterprise/mapView/index.vue
+4
-5
No files found.
gassafety-web/src/utils/gaodeMap.js
View file @
2a19b651
...
@@ -112,6 +112,10 @@ class gaodeMap {
...
@@ -112,6 +112,10 @@ class gaodeMap {
this
.
view
.
drawerOpacity
=
true
;
this
.
view
.
drawerOpacity
=
true
;
}
}
}
}
// 每次地图移动结束,就让地图可以缩放
let
options
=
this
.
myMap
.
getStatus
();
options
.
scrollWheel
=
true
;
this
.
myMap
.
setStatus
(
options
);
});
});
this
.
districtBoundaries
();
this
.
districtBoundaries
();
...
@@ -587,7 +591,10 @@ class gaodeMap {
...
@@ -587,7 +591,10 @@ class gaodeMap {
// 当选择的是新建的时候,线是点不了的
// 当选择的是新建的时候,线是点不了的
if
(
this
.
lineType
==
1
||
this
.
view
.
targetNum
==
1
)
return
;
if
(
this
.
lineType
==
1
||
this
.
view
.
targetNum
==
1
)
return
;
if
((
this
.
view
.
targetNum
==
2
||
this
.
view
.
targetNum
==
3
)
&&
e
.
type
==
"mouseover"
){
if
(
(
this
.
view
.
targetNum
==
2
||
this
.
view
.
targetNum
==
3
)
&&
e
.
type
==
"mouseover"
)
{
this
.
polyLinesColorClear
(
polyline
);
this
.
polyLinesColorClear
(
polyline
);
}
}
// 上方导航的高
// 上方导航的高
...
...
gassafety-web/src/views/enterprise/mapView/components/RightBototmData.vue
View file @
2a19b651
...
@@ -28,9 +28,10 @@
...
@@ -28,9 +28,10 @@
style=
"width: 100%"
style=
"width: 100%"
height=
"170"
height=
"170"
>
>
<el-table-column
prop=
"deviceCode"
label=
"编号"
width=
"100"
>
<el-table-column
prop=
"deviceCode"
label=
"设备编号"
width=
"100"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"deviceName"
label=
"名称"
width=
""
>
<el-table-column
prop=
"deviceName"
label=
"
设备
名称"
width=
""
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"alarmType"
label=
"报警类型"
width=
"80"
>
<el-table-column
prop=
"alarmType"
label=
"报警类型"
width=
"80"
>
</el-table-column>
</el-table-column>
...
...
gassafety-web/src/views/enterprise/mapView/index.vue
View file @
2a19b651
...
@@ -603,8 +603,9 @@ export default {
...
@@ -603,8 +603,9 @@ export default {
item
;
item
;
// 获取polyLine
// 获取polyLine
const
device
=
this
.
gaoMap
.
markers
.
filter
((
item
)
=>
{
const
device
=
this
.
gaoMap
.
markers
.
filter
((
item
)
=>
{
const
id
=
item
.
getExtData
().
deviceId
;
const
{
deviceId
:
id
,
troubleId
}
=
item
.
getExtData
();
return
deviceId
==
id
;
// 因为隐患也有 deviceId,为了防止隐患直接遍成报警状态,所以要排除隐患,没有troubleId的就不是隐患
return
!
troubleId
&&
deviceId
==
id
;
})[
0
];
})[
0
];
if
(
device
)
{
if
(
device
)
{
const
options
=
device
.
getExtData
();
const
options
=
device
.
getExtData
();
...
@@ -1636,7 +1637,6 @@ input[type="radio"] {
...
@@ -1636,7 +1637,6 @@ input[type="radio"] {
color
:
#053b6a
;
color
:
#053b6a
;
font-weight
:
600
;
font-weight
:
600
;
}
}
}
}
.deviceList
{
.deviceList
{
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -1667,7 +1667,6 @@ input[type="radio"] {
...
@@ -1667,7 +1667,6 @@ input[type="radio"] {
white-space
:
nowrap
;
white-space
:
nowrap
;
// border-right: 1px solid #cccccc;
// border-right: 1px solid #cccccc;
}
}
}
}
.no
{
.no
{
width
:
25px
;
width
:
25px
;
...
@@ -1677,7 +1676,7 @@ input[type="radio"] {
...
@@ -1677,7 +1676,7 @@ input[type="radio"] {
// border-right: none;
// border-right: none;
flex
:
1
;
flex
:
1
;
text-align
:
center
;
text-align
:
center
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.code
{
.code
{
width
:
100px
;
width
:
100px
;
...
...
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