Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
448399d7
Commit
448399d7
authored
Jun 25, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营地列表
parent
5c5109fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
index.vue
src/views/baseInfo/campsite/index.vue
+7
-2
No files found.
src/views/baseInfo/campsite/index.vue
View file @
448399d7
...
...
@@ -428,7 +428,12 @@
},
getAddrStr
(
campsite
)
{
let
regions
=
getRegionByCodes
([
campsite
.
addrProvince
,
campsite
.
addrCity
,
campsite
.
addrTown
]);
return
regions
[
0
].
name
+
' '
+
regions
[
1
].
name
+
' '
+
regions
[
2
].
name
+
' '
;
let
address
=
[];
for
(
let
i
=
0
;
i
<
regions
.
length
;
i
++
){
address
.
push
(
regions
[
i
].
name
);
}
return
address
.
join
(
" "
);
// return regions[0].name + ' ' + regions[1].name + ' ' + regions[2].name + ' ';
},
handleFilter
()
{
this
.
$refs
.
queryForm
.
validate
(
valid
=>
{
...
...
@@ -504,7 +509,7 @@
});
},
choiceImg
(){
this
.
$refs
.
filElem
.
dispatchEvent
(
new
MouseEvent
(
'click'
))
this
.
$refs
.
filElem
.
dispatchEvent
(
new
MouseEvent
(
'click'
))
},
getFile
(
event
){
let
formData
=
new
FormData
();
...
...
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