Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
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
方斌
51business
Commits
41233624
Commit
41233624
authored
Apr 25, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addd
parent
20e58c6d
Pipeline
#6472
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
new_house.js
app/service/house/new_house.js
+13
-1
No files found.
app/service/house/new_house.js
View file @
41233624
...
...
@@ -115,6 +115,18 @@ class NewHouseService extends Service {
for
(
let
i
in
developerinfo
)
{
developer
.
push
(
developerinfo
[
i
].
developer
.
name
);
}
let
nearBy
=
''
;
if
(
data
.
residential
.
nearBy
.
length
>
0
)
{
let
temp
=
eval
(
data
.
residential
.
nearBy
);
for
(
let
i
in
temp
)
{
let
subTemp
=
''
;
for
(
let
j
in
temp
[
i
])
{
subTemp
+=
j
+
':'
+
temp
[
i
][
j
].
join
(
','
);
}
nearBy
+=
subTemp
+
';'
;
}
}
ret
.
basic
=
{
id
:
data
.
id
,
name
:
data
.
name
,
//标题
...
...
@@ -164,7 +176,7 @@ class NewHouseService extends Service {
heat_supply_type
:
data
.
residential
.
heatSupplyType
,
//供暖方式
water_supply_type
:
data
.
residential
.
waterSupplyType
,
//供水方式
power_supply_type
:
data
.
residential
.
powerSupplyType
,
//供电方式
near_by
:
data
.
residential
.
nearBy
?
eval
(
data
.
residential
.
nearBy
)
:
[]
,
//周边规划
near_by
:
nearBy
,
//周边规划
},
permit
:
{
pre_sale_permit
:
data
.
preSalePermit
,
//预售证
...
...
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