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
f6b4c609
Commit
f6b4c609
authored
Sep 29, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图标下的提示
parent
db5f4d68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
pages/follow/follow.vue
+1
-0
pages/housePurchase/housePurchase.vue
+17
-9
No files found.
pages/follow/follow.vue
View file @
f6b4c609
...
...
@@ -11,6 +11,7 @@
import
dataHandling
from
"../../util/dataHandling"
;
import
api
from
"../../api/api"
;
import
{
ref
,
toRefs
}
from
"vue"
;
import
{
nanoid
}
from
'nanoid'
;
export
default
{
name
:
'follow'
,
...
...
pages/housePurchase/housePurchase.vue
View file @
f6b4c609
...
...
@@ -148,10 +148,14 @@
</view>
<view
id=
"myEcharts"
style=
"height: 500rpx;"
></view>
<view>
差额 = 你想要的-可实现的
</view>
<view
v-show=
"resultInfos.code == 'A001' || resultInfos.code =='A002'"
>
1.如您想实现
{{
resultInfos
.
nyear
}}
年后在
{{
resultInfos
.
provinceName
}}
{{
resultInfos
.
cityName
}}
地区购买
{{
resultInfos
.
preOrderSize
}}
㎡的房产,那么您还需要提高首付款到
{{
resultInfos
.
pvDownPayment
}}
元,或您需提高每年预备还房贷资金总额到
{{
resultInfos
.
houseSpecialPurpose
}}
元。
</view>
<view>
2.根据您的已备首付款和每年预备还房贷资金总额,您在N年后可实现购买房屋单价为XXX元/㎡,总价为XXXX元的房产。
{{
resultInfos
.
code
==
'A001'
||
resultInfos
.
code
==
'A002'
?
'1'
:
'2'
}}
.
根据您的已备首付款和每年预备还房贷资金总额,您在
{{
resultInfos
.
nyear
}}
年后可实现购买房屋单价为
{{
tipsPrice
}}
元/㎡,总价为
{{
tipsTotalPrice
}}
元的房产。
</view>
</view>
<view
class=
"line"
v-for=
"houseItem in housePurchasePrices"
>
...
...
@@ -218,6 +222,8 @@
export
default
{
data
(){
return
{
tipsPrice
:
null
,
tipsTotalPrice
:
null
,
isEditFlag
:
false
,
dataLists
:
null
,
dialogIsShow
:
false
,
//弹窗显示与隐藏
...
...
@@ -259,13 +265,6 @@
resultFlag
:
false
,
}
},
setup
()
{
//父传子实现 1.定义要传递的属性的属性值
const
userApplyType
=
ref
(
"userApplyType"
);
return
{
userApplyType
,
};
},
components
:{
loanBalance
,
planningParameters
,
...
...
@@ -418,7 +417,16 @@
this
.
resultFlag
=
true
;
this
.
resultInfos
=
res
[
'data'
];
this
.
housePurchasePrices
=
res
[
'data'
][
'housePurchasePrices'
];
this
.
drawLine
()
if
(
this
.
housePurchasePrices
.
length
>
0
){
this
.
tipsPrice
=
this
.
housePurchasePrices
.
filter
((
item
)
=>
{
return
item
.
priceType
==
2
;
})[
0
][
'fvPriceRealization'
];
this
.
tipsTotalPrice
=
this
.
housePurchasePrices
.
filter
((
item
)
=>
{
return
item
.
priceType
==
1
;
})[
0
][
'fvPriceDesired'
];
}
this
.
drawLine
();
}
else
{
common
.
errorDialog
(
2
,
res
[
'message'
])
}
...
...
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