Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
b571d345
Commit
b571d345
authored
Oct 14, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复默认,城市也清空
parent
39fa14ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
pages/housePurchase/housePurchase.vue
+3
-3
pages/housePurchase/planningParameters.vue
+4
-2
No files found.
pages/housePurchase/housePurchase.vue
View file @
b571d345
...
...
@@ -165,7 +165,7 @@
差额 = 可实现的 - 你想要的
</view>
<view
style=
"background: rgba(36,255,0,3%);padding: 6rpx 10rpx;border-radius: 12rpx;line-height: 1.5;"
>
<view
v-
show
=
"resultInfos.code == 'A001' || resultInfos.code =='A002'"
style=
"display: flex;"
>
<view
v-
if
=
"resultInfos.code == 'A001' || resultInfos.code =='A002'"
style=
"display: flex;"
>
<text
class=
"seriesNo"
>
1
</text>
<view>
如您想实现
<strong>
{{
resultInfos
.
nyear
}}
</strong>
年后在
<strong>
{{
resultInfos
.
provinceName
}}
-
{{
resultInfos
.
cityName
}}
</strong>
地区购买
<strong>
{{
resultInfos
.
preOrderSize
}}
</strong>
㎡的房产,那么您还需要提高首付款到
...
...
@@ -280,7 +280,7 @@
cityName
:
null
,
preOrderSize
:
null
,
//预购面积
targetPrice
:
null
,
//目标价格(现值)
downPaymentMin
:
null
,
//首付款最低成数(百分位)
downPaymentMin
:
30
,
//首付款最低成数(百分位)
newLoanYear
:
null
,
//新房贷款年限【必须大于0】
firstHouseAmount
:
null
,
//初期购房资金(单位万)
housePurchaseType
:
2
,
//购房用途
...
...
@@ -525,7 +525,7 @@
acceptableLossRate
:
0.1
,
downPaymentMin
:
30
,
houseDepreciationRate
:
0.02
,
housePriceGrowthRate
:
0.0
625
,
housePriceGrowthRate
:
0.0
532
,
incomeRate
:
0
,
tnvestmentRate
:
0.0374
}
...
...
pages/housePurchase/planningParameters.vue
View file @
b571d345
...
...
@@ -44,7 +44,7 @@
return
{
cityId
:
null
,
paramsLists
:[
{
id
:
'01'
,
name
:
'房价增长率'
,
value
:
6.25
,
type
:
'data-picker'
,
remark
:
''
,
alias
:
'housePriceGrowthRate'
,
isShow
:
true
},
{
id
:
'01'
,
name
:
'房价增长率'
,
value
:
5.32
,
type
:
'data-picker'
,
remark
:
''
,
alias
:
'housePriceGrowthRate'
,
isShow
:
true
},
{
id
:
'02'
,
name
:
'房屋折旧率'
,
value
:
2
,
type
:
'number'
,
remark
:
''
,
alias
:
'houseDepreciationRate'
,
isShow
:
true
},
{
id
:
'03'
,
name
:
'首付款最低成数'
,
value
:
30
,
type
:
'number'
,
remark
:
''
,
alias
:
'downPaymentMin'
,
isShow
:
true
},
{
id
:
'05'
,
name
:
'资产投资回报率'
,
value
:
3.74
,
type
:
'number'
,
remark
:
''
,
alias
:
'tnvestmentRate'
,
isShow
:
true
},
...
...
@@ -85,7 +85,9 @@
this
.
queryCommercialHousingPrice
()
},
resetParams
(){
this
.
editParamLists
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
paramsLists
))
this
.
editParamLists
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
paramsLists
));
this
.
cityId
=
null
;
this
.
cityInfo
=
{
cityId
:
null
,
provinceId
:
null
,
cityName
:
null
,
provinceName
:
null
};
},
provCityQry
(){
api
.
provCityQry
({
insurerId
:
888
}).
then
((
res
)
=>
{
...
...
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