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
56d573b7
Commit
56d573b7
authored
Jun 19, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addd
parent
2a0ba4db
Pipeline
#9203
passed with stage
in 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Export190619.js
app/controller/house/v2/Export190619.js
+2
-1
new_house.js
app/service/house/v2/new_house.js
+2
-2
No files found.
app/controller/house/v2/Export190619.js
View file @
56d573b7
...
@@ -257,7 +257,7 @@ class Export20190425 extends Controller {
...
@@ -257,7 +257,7 @@ class Export20190425 extends Controller {
const
{
ctx
}
=
this
;
const
{
ctx
}
=
this
;
let
data
=
{
let
data
=
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
99999
,
pageSize
:
601
,
orderConditions
:
[{
orderConditions
:
[{
key
:
'id'
,
key
:
'id'
,
orderSequence
:
'asc'
,
orderSequence
:
'asc'
,
...
@@ -270,6 +270,7 @@ class Export20190425 extends Controller {
...
@@ -270,6 +270,7 @@ class Export20190425 extends Controller {
let
res
=
retList
.
data
;
let
res
=
retList
.
data
;
let
ret
=
{
let
ret
=
{
org_count
:
res
.
rowCount
,
org_count
:
res
.
rowCount
,
org_length
:
res
.
results
.
length
,
id
:
[],
id
:
[],
};
};
if
(
res
.
rowCount
>
0
)
{
if
(
res
.
rowCount
>
0
)
{
...
...
app/service/house/v2/new_house.js
View file @
56d573b7
...
@@ -189,8 +189,8 @@ class NewHouseService extends Service {
...
@@ -189,8 +189,8 @@ class NewHouseService extends Service {
due_date
:
[
'0000-00-00 00:00:00'
,
''
].
includes
(
data
.
due_date
)
?
'--'
:
data
.
due_date
,
//交房时间
due_date
:
[
'0000-00-00 00:00:00'
,
''
].
includes
(
data
.
due_date
)
?
'--'
:
data
.
due_date
,
//交房时间
house_area
:
area
,
//建筑面积
house_area
:
area
,
//建筑面积
decoration
:
decorationType
[
data
.
decoration_type
]
||
''
,
//装修情况,1 毛坯,2简装,3精装
decoration
:
decorationType
[
data
.
decoration_type
]
||
''
,
//装修情况,1 毛坯,2简装,3精装
green_ratio
:
Number
(
data
.
green_ratio
),
//绿化
green_ratio
:
Number
(
data
.
residential_
green_ratio
),
//绿化
area_ratio
:
Number
(
data
.
area_ratio
),
//容积
area_ratio
:
Number
(
data
.
residential_
area_ratio
),
//容积
address
:
data
.
address
,
//地址
address
:
data
.
address
,
//地址
longitude
:
longitude
,
//经度
longitude
:
longitude
,
//经度
latitude
:
latitude
,
//纬度
latitude
:
latitude
,
//纬度
...
...
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