Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
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
冯超鹏
laravelzh
Commits
5a60a985
Commit
5a60a985
authored
Dec 18, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整地图
parent
d3b75173
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
index.vue
resources/js/views/map/index.vue
+11
-3
No files found.
resources/js/views/map/index.vue
View file @
5a60a985
...
@@ -55,12 +55,13 @@
...
@@ -55,12 +55,13 @@
<el-dialog
<el-dialog
:title=
"dialogTitle"
:title=
"dialogTitle"
:visible
.
sync=
"dialogTableVisible"
:visible
.
sync=
"dialogTableVisible"
width=
"
40
%"
width=
"
35
%"
:modal=
"false"
:modal=
"false"
top=
"20vh"
custom-class=
"zero-dialog"
custom-class=
"zero-dialog"
>
>
<el-table
:data=
"gridData"
:show-header=
"false"
>
<el-table
:data=
"gridData"
:show-header=
"false"
>
<el-table-column
property=
"title"
></el-table-column>
<el-table-column
property=
"title"
width=
"180px"
></el-table-column>
<el-table-column
property=
"content"
></el-table-column>
<el-table-column
property=
"content"
></el-table-column>
</el-table>
</el-table>
</el-dialog>
</el-dialog>
...
@@ -313,8 +314,10 @@ export default {
...
@@ -313,8 +314,10 @@ export default {
getUserDeviceInfo
(
id
)
{
getUserDeviceInfo
(
id
)
{
deviceinfo
(
id
)
deviceinfo
(
id
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
dialogTableVisible
=
true
;
const
deviceInfo
=
res
.
data
;
const
deviceInfo
=
res
.
data
;
this
.
center
=
deviceInfo
.
devicecoord
.
replace
(
/
\s
*/g
,
''
).
split
(
','
);
this
.
dialogTableVisible
=
true
;
this
.
markersDeviceVisible
=
true
;
this
.
gridData
=
[
this
.
gridData
=
[
{
{
title
:
'设备编号'
,
title
:
'设备编号'
,
...
@@ -512,4 +515,9 @@ export default {
...
@@ -512,4 +515,9 @@ export default {
padding
:
0px
10px
0px
10px
;
padding
:
0px
10px
0px
10px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
.zero-dialog
{
float
:
right
;
right
:
1px
;
bottom
:
1px
;
}
</
style
>
</
style
>
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