Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
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
lizhichao
whp-xl
Commits
8fdf29f9
Commit
8fdf29f9
authored
Aug 27, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
935e2a23
5bffe745
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
qyMap.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
+9
-8
No files found.
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
View file @
8fdf29f9
...
...
@@ -80,7 +80,7 @@
</el-tooltip>
</div>
<div
class=
"markbox-span"
>
<span>
0
</span>
<span>
{{
tjNumberObj
.
troubleNum
}}
</span>
</div>
</div>
</div>
...
...
@@ -148,6 +148,7 @@ export default class GIS extends Vue {
@
Provide
()
windowsArr
:
any
=
[];
@
Provide
()
windowsArr1
:
any
=
[];
@
Provide
()
windowsArr2
:
any
=
[];
@
Provide
()
windowsArr3
:
any
=
[];
@
Provide
()
currentWindow
:
any
=
""
;
// @Provide() searchOption: any = {
// city: "石家庄",
...
...
@@ -307,7 +308,6 @@ export default class GIS extends Vue {
`<p><span>隐患类型:</span>
${
trouble
.
troubleType
}
</p >`
+
`<p><span>隐患等级:</span>
${
trouble
.
troubleLevel
}
</p >`
+
`<p><span>地址:</span>
${
trouble
.
address
}
</p >`
+
`<p><button onclick="updateTrouble">修改</button></p >`
+
`</div>`
+
`<p class="gengxin"><button>更新</button></p>`
;
that
.
Mutil
.
addPopup
(
html
,
trouble
.
id
,
trouble
.
longitude
,
trouble
.
latitude
)
...
...
@@ -441,11 +441,11 @@ export default class GIS extends Vue {
offset
:
[
-
13
,
-
2
],
events
:
{
click
:
(
e
:
any
)
=>
{
that
.
windowsArr
2
.
forEach
((
ele
:
any
)
=>
{
that
.
windowsArr
3
.
forEach
((
ele
:
any
)
=>
{
ele
.
visible
=
false
;
});
that
.
$nextTick
(()
=>
{
that
.
currentWindow
=
that
.
windowsArr
2
[
index
];
that
.
currentWindow
=
that
.
windowsArr
3
[
index
];
that
.
currentWindow
.
visible
=
true
;
});
},
...
...
@@ -454,7 +454,7 @@ export default class GIS extends Vue {
};
that
.
Mutil
.
addMarkerToMap
(
'yh'
,
obj
.
devic
eName
,
obj
.
troubl
eName
,
icon
,
[
obj
.
longitude
,
obj
.
latitude
],
0.6
,
...
...
@@ -626,6 +626,7 @@ export default class GIS extends Vue {
function
(
res
:
any
)
{
if
(
res
.
code
==
0
)
{
that
.
tjNumberObj
=
res
.
data
;
console
.
log
(
"that.tjNumberObj"
,
that
.
tjNumberObj
)
let
obj
=
res
.
data
,
arr
:
any
=
[];
arr
.
push
({
...
...
@@ -676,8 +677,8 @@ export default class GIS extends Vue {
center
:
center
})
}
if
(
res
.
code
==
0
&&
res
.
data
.
goods
List
.
length
>
0
)
{
that
.
yhmapData
=
res
.
data
.
goods
List
;
if
(
res
.
code
==
0
&&
res
.
data
.
trouble
List
.
length
>
0
)
{
that
.
yhmapData
=
res
.
data
.
trouble
List
;
let
yhlatSum
=
0
;
let
yhlngSum
=
0
;
that
.
yhmapData
.
forEach
((
ele
:
any
,
index
:
any
)
=>
{
...
...
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