Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
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
郭铭瑶
huamu
Commits
80968c93
Commit
80968c93
authored
Sep 29, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
楼宇撒点
parent
a6cc9055
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
useInitMap.ts
src/hooks/useInitMap.ts
+5
-3
basic-info.vue
src/view/components/basic-info.vue
+3
-1
building-drawer.vue
src/view/components/building-drawer.vue
+1
-0
filter-drawer.vue
src/view/components/filter-drawer.vue
+3
-2
No files found.
src/hooks/useInitMap.ts
View file @
80968c93
...
...
@@ -280,9 +280,11 @@ function addEventListener() {
html
=
transOrgHtml
(
data
)
}
else
if
(
data
?.
isList
)
{
html
=
transListHtml
(
data
)
}
else
if
(
data
?.
NAME
)
{
if
(
!
data
.
NAME
)
return
store
.
dispatch
(
'getBuildingDetail'
,
data
.
NAME
)
}
else
if
(
data
?.
NAME
||
data
?.
OBJECTID
)
{
store
.
dispatch
(
'getBuildingDetail'
,
data
?.
NAME
||
data
?.
OBJECTID
,
)
}
if
(
!
html
)
return
...
...
src/view/components/basic-info.vue
View file @
80968c93
...
...
@@ -258,7 +258,9 @@ watch(
outStreetValue
:
0
,
}
curTagKey
.
value
=
null
store
.
commit
(
'SET_MAP_POINTS'
)
if
(
!
store
.
state
.
showBuildingDrawer
)
{
store
.
commit
(
'SET_MAP_POINTS'
)
}
store
.
commit
(
'SET_CUR_TAG'
,
''
)
}
},
...
...
src/view/components/building-drawer.vue
View file @
80968c93
...
...
@@ -234,6 +234,7 @@ const getFloors = async (data: any) => {
}
const
buildingNext
=
async
(
building
:
any
)
=>
{
showBuildingDetail
.
value
=
false
floors
.
value
=
await
getFloors
(
building
)
setBuilding
(
building
,
true
)
showBuildingDetail
.
value
=
true
...
...
src/view/components/filter-drawer.vue
View file @
80968c93
...
...
@@ -563,8 +563,9 @@ watch(
)?.
map
((
item
:
any
)
=>
item
.
extra
)
||
[]
emit
(
'boundary'
,
{
type
:
'area'
,
name
:
area
})
}
// TODO 地图落点
store
.
commit
(
'SET_MAP_POINTS'
,
points
)
if
(
!
store
.
state
.
showBuildingDrawer
)
{
store
.
commit
(
'SET_MAP_POINTS'
,
points
)
}
},
)
watch
(
...
...
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