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
d213f817
Commit
d213f817
authored
Sep 02, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
container
parent
2b1fdd08
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
checkDeviceLoaction.vue
...fety-web/src/components/mapDialog/checkDeviceLoaction.vue
+2
-2
checkPipeLineLocation.vue
...ty-web/src/components/mapDialog/checkPipeLineLocation.vue
+2
-2
gaodeMapDialog.js
gassafety-web/src/components/mapDialog/js/gaodeMapDialog.js
+1
-1
No files found.
gassafety-web/src/components/mapDialog/checkDeviceLoaction.vue
View file @
d213f817
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<el-button
size=
"small"
@
click=
"$emit('dialogcancelFun')"
>
取消
</el-button
<el-button
size=
"small"
@
click=
"$emit('dialogcancelFun')"
>
取消
</el-button
>
>
</el-row>
</el-row>
<div
style=
"width: 47vw; height: 65vh"
id=
"container"
></div>
<div
style=
"width: 47vw; height: 65vh"
id=
"container
1
"
></div>
<el-col
:span=
"8"
class=
"button"
>
<el-col
:span=
"8"
class=
"button"
>
<el-input
id=
"ss"
placeholder=
"输入地址"
v-model=
"keyWorld"
size=
"small"
></el-input>
<el-input
id=
"ss"
placeholder=
"输入地址"
v-model=
"keyWorld"
size=
"small"
></el-input>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
let
that
=
this
;
let
that
=
this
;
that
.
$nextTick
(()
=>
{
that
.
$nextTick
(()
=>
{
//初始化地图
//初始化地图
let
map
=
new
AMap
.
Map
(
"container"
,
{
let
map
=
new
AMap
.
Map
(
"container
1
"
,
{
center
:
[
114.72995
,
38.37417
],
center
:
[
114.72995
,
38.37417
],
// resizeEnable: true,
// resizeEnable: true,
disableSocket
:
true
,
disableSocket
:
true
,
...
...
gassafety-web/src/components/mapDialog/checkPipeLineLocation.vue
View file @
d213f817
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<el-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"search"
>
搜索
</el-button>
<el-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"search"
>
搜索
</el-button>
</el-row>
</el-row>
</div>
</div>
<div
style=
""
id=
"container"
ref=
"elD"
></div>
<div
style=
""
id=
"container
1
"
ref=
"elD"
></div>
<el-row
class=
"lt"
>
<el-row
class=
"lt"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"confirmFun"
>
确定
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"confirmFun"
>
确定
</el-button>
<el-button
size=
"small"
@
click=
"$emit('dialogcancelFun')"
>
取消
</el-button>
<el-button
size=
"small"
@
click=
"$emit('dialogcancelFun')"
>
取消
</el-button>
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
.dialog
{
.dialog
{
position
:relative
;
position
:relative
;
}
}
#container
{
#container
1
{
width
:
100%
;
width
:
100%
;
height
:
500px
;
height
:
500px
;
}
}
...
...
gassafety-web/src/components/mapDialog/js/gaodeMapDialog.js
View file @
d213f817
...
@@ -39,7 +39,7 @@ class gaodeMap {
...
@@ -39,7 +39,7 @@ class gaodeMap {
constructor
(
center
)
{
constructor
(
center
)
{
this
.
markers
=
[];
this
.
markers
=
[];
this
.
center
=
center
?
center
:
defaultCenter
;
this
.
center
=
center
?
center
:
defaultCenter
;
map
=
new
AMap
.
Map
(
"container"
,
{
map
=
new
AMap
.
Map
(
"container
1
"
,
{
//mask: addMask(result.districtList[0].boundaries),
//mask: addMask(result.districtList[0].boundaries),
center
:
[
114.72995
,
38.37417
],
center
:
[
114.72995
,
38.37417
],
// resizeEnable: true,
// resizeEnable: true,
...
...
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