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
85d965b1
Commit
85d965b1
authored
Sep 27, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结果页调试
parent
f4089f2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
18 deletions
+33
-18
pages/housePurchase/housePurchase.vue
+6
-3
pages/housePurchase/loanBalance.vue
+27
-15
No files found.
pages/housePurchase/housePurchase.vue
View file @
85d965b1
...
@@ -110,7 +110,8 @@
...
@@ -110,7 +110,8 @@
@click="openLoan()">
</view>
@click="openLoan()">
</view>
<text
style=
"margin-left: 10rpx;"
>
是否置换旧房
{{
isDisplace
}}
</text>
<text
style=
"margin-left: 10rpx;"
>
是否置换旧房
{{
isDisplace
}}
</text>
</view>
</view>
<loanBalance
:getChildLoanInfo=
"getChildLoanInfo"
:isShowTab=
"false"
></loanBalance>
<loanBalance
:isShowTab=
"false"
:commercialLoansParams=
"commercialLoansParams"
:accumulationFundParams=
"accumulationFundParams"
></loanBalance>
</view>
</view>
<!--规划参数-->
<!--规划参数-->
<view
class=
"parametersInfo"
>
<view
class=
"parametersInfo"
>
...
@@ -210,7 +211,7 @@
...
@@ -210,7 +211,7 @@
<svg
t=
"1663922894848"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2545"
width=
"26"
height=
"26"
><path
d=
"M557.311759 513.248864l265.280473-263.904314c12.54369-12.480043 12.607338-32.704421 0.127295-45.248112-12.512727-12.576374-32.704421-12.607338-45.248112-0.127295L512.127295 467.904421 249.088241 204.063755c-12.447359-12.480043-32.704421-12.54369-45.248112-0.063647-12.512727 12.480043-12.54369 32.735385-0.063647 45.280796l262.975407 263.775299-265.151458 263.744335c-12.54369 12.480043-12.607338 32.704421-0.127295 45.248112 6.239161 6.271845 14.463432 9.440452 22.687703 9.440452 8.160624 0 16.319527-3.103239 22.560409-9.311437l265.216826-263.807983 265.440452 266.240344c6.239161 6.271845 14.432469 9.407768 22.65674 9.407768 8.191587 0 16.352211-3.135923 22.591372-9.34412 12.512727-12.480043 12.54369-32.704421 0.063647-45.248112L557.311759 513.248864z"
p-id=
"2546"
></path></svg>
<svg
t=
"1663922894848"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2545"
width=
"26"
height=
"26"
><path
d=
"M557.311759 513.248864l265.280473-263.904314c12.54369-12.480043 12.607338-32.704421 0.127295-45.248112-12.512727-12.576374-32.704421-12.607338-45.248112-0.127295L512.127295 467.904421 249.088241 204.063755c-12.447359-12.480043-32.704421-12.54369-45.248112-0.063647-12.512727 12.480043-12.54369 32.735385-0.063647 45.280796l262.975407 263.775299-265.151458 263.744335c-12.54369 12.480043-12.607338 32.704421-0.127295 45.248112 6.239161 6.271845 14.463432 9.440452 22.687703 9.440452 8.160624 0 16.319527-3.103239 22.560409-9.311437l265.216826-263.807983 265.440452 266.240344c6.239161 6.271845 14.432469 9.407768 22.65674 9.407768 8.191587 0 16.352211-3.135923 22.591372-9.34412 12.512727-12.480043 12.54369-32.704421 0.063647-45.248112L557.311759 513.248864z"
p-id=
"2546"
></path></svg>
</div>
</div>
<!--旧房贷款余额组件-->
<!--旧房贷款余额组件-->
<loanBalance
:
get
ChildLoanInfo=
"getChildLoanInfo"
v-if=
"isLoanSelected"
:isShowTab=
"true"
></loanBalance>
<loanBalance
:
send
ChildLoanInfo=
"getChildLoanInfo"
v-if=
"isLoanSelected"
:isShowTab=
"true"
></loanBalance>
<!--规划参数组件-->
<!--规划参数组件-->
<planningParameters
v-if=
"paramsSelected"
></planningParameters>
<planningParameters
v-if=
"paramsSelected"
></planningParameters>
</view>
</view>
...
@@ -251,7 +252,9 @@
...
@@ -251,7 +252,9 @@
interestRate
:
null
,
//贷款年利率
interestRate
:
null
,
//贷款年利率
},
},
housePurchaseTypeList
:[{
id
:
1
,
name
:
'投资'
},{
id
:
2
,
name
:
'自住'
},{
id
:
3
,
name
:
'其他'
}],
housePurchaseTypeList
:[{
id
:
1
,
name
:
'投资'
},{
id
:
2
,
name
:
'自住'
},{
id
:
3
,
name
:
'其他'
}],
houseLoanOldList
:[]
houseLoanOldList
:[],
accumulationFundParams
:[],
commercialLoansParams
:[]
}
}
},
},
components
:{
components
:{
...
...
pages/housePurchase/loanBalance.vue
View file @
85d965b1
...
@@ -48,21 +48,21 @@
...
@@ -48,21 +48,21 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'
getChildLoanInfo'
,
'isShowTab
'
],
props
:
[
'
sendChildLoanInfo'
,
'isShowTab'
,
'commercialLoansParams'
,
'accumulationFundParams
'
],
data
(){
data
(){
return
{
return
{
accumulationFundParams
:
[
//
accumulationFundParams : [
{
id
:
'00'
,
text
:
'公积金贷款余额'
,
value
:
null
,
type
:
'digit'
,
unit
:
'元'
,
alias
:
'oldHouseLoanBalance'
},
//
{id:'00',text:'公积金贷款余额',value:null,type:'digit',unit:'元',alias:'oldHouseLoanBalance'},
{
id
:
'01'
,
text
:
'公积金还款方式'
,
value
:
null
,
type
:
'select'
,
unit
:
''
,
alias
:
'oldCalcuteType'
},
//
{id:'01',text:'公积金还款方式',value:null,type:'select',unit:'',alias:'oldCalcuteType'},
{
id
:
'02'
,
text
:
'剩余月份'
,
value
:
null
,
type
:
'number'
,
unit
:
'月'
,
alias
:
'oldHouseRepaymentMonth'
},
//
{id:'02',text:'剩余月份',value:null,type:'number',unit:'月',alias:'oldHouseRepaymentMonth'},
{
id
:
'03'
,
text
:
'年利率'
,
value
:
null
,
type
:
'digit'
,
unit
:
'%'
,
alias
:
'oldInterestRate'
},
//
{id:'03',text:'年利率',value:null,type:'digit',unit:'%',alias:'oldInterestRate'},
],
//
],
commercialLoansParams
:
[
//
commercialLoansParams : [
{
id
:
'00'
,
text
:
'商业贷款余额'
,
value
:
null
,
type
:
'digit'
,
unit
:
'元'
,
alias
:
'oldHouseLoanBalance'
},
//
{id:'00',text:'商业贷款余额',value:null,type:'digit',unit:'元',alias:'oldHouseLoanBalance'},
{
id
:
'01'
,
text
:
'商业还款方式'
,
value
:
null
,
type
:
'select'
,
unit
:
''
,
alias
:
'oldCalcuteType'
},
//
{id:'01',text:'商业还款方式',value:null,type:'select',unit:'',alias:'oldCalcuteType'},
{
id
:
'02'
,
text
:
'剩余月份'
,
value
:
null
,
type
:
'number'
,
unit
:
'月'
,
alias
:
'oldHouseRepaymentMonth'
},
//
{id:'02',text:'剩余月份',value:null,type:'number',unit:'月',alias:'oldHouseRepaymentMonth'},
{
id
:
'03'
,
text
:
'年利率'
,
value
:
null
,
type
:
'digit'
,
unit
:
'%'
,
alias
:
'oldInterestRate'
},
//
{id:'03',text:'年利率',value:null,type:'digit',unit:'%',alias:'oldInterestRate'},
],
//
],
loanTypeLists
:[
loanTypeLists
:[
{
id
:
'00'
,
text
:
'商业贷款'
,
value
:
1
},
{
id
:
'00'
,
text
:
'商业贷款'
,
value
:
1
},
{
id
:
'01'
,
text
:
'公积金贷款'
,
value
:
2
},
{
id
:
'01'
,
text
:
'公积金贷款'
,
value
:
2
},
...
@@ -87,8 +87,20 @@
...
@@ -87,8 +87,20 @@
},
},
onLoad
(){
onLoad
(){
console
.
log
(
this
.
isShowTab
)
if
(
this
.
isShowTab
){
if
(
this
.
isShowTab
){
this
.
accumulationFundParams
=
[
{
id
:
'00'
,
text
:
'公积金贷款余额'
,
value
:
null
,
type
:
'digit'
,
unit
:
'元'
,
alias
:
'oldHouseLoanBalance'
},
{
id
:
'01'
,
text
:
'公积金还款方式'
,
value
:
null
,
type
:
'select'
,
unit
:
''
,
alias
:
'oldCalcuteType'
},
{
id
:
'02'
,
text
:
'剩余月份'
,
value
:
null
,
type
:
'number'
,
unit
:
'月'
,
alias
:
'oldHouseRepaymentMonth'
},
{
id
:
'03'
,
text
:
'年利率'
,
value
:
null
,
type
:
'digit'
,
unit
:
'%'
,
alias
:
'oldInterestRate'
},
];
this
.
commercialLoansParams
=
[
{
id
:
'00'
,
text
:
'商业贷款余额'
,
value
:
null
,
type
:
'digit'
,
unit
:
'元'
,
alias
:
'oldHouseLoanBalance'
},
{
id
:
'01'
,
text
:
'商业还款方式'
,
value
:
null
,
type
:
'select'
,
unit
:
''
,
alias
:
'oldCalcuteType'
},
{
id
:
'02'
,
text
:
'剩余月份'
,
value
:
null
,
type
:
'number'
,
unit
:
'月'
,
alias
:
'oldHouseRepaymentMonth'
},
{
id
:
'03'
,
text
:
'年利率'
,
value
:
null
,
type
:
'digit'
,
unit
:
'%'
,
alias
:
'oldInterestRate'
},
];
}
}
},
},
methods
:{
methods
:{
...
@@ -238,7 +250,7 @@
...
@@ -238,7 +250,7 @@
// 旧房贷款信息集合
// 旧房贷款信息集合
console
.
log
(
this
.
houseLoanOldList
)
console
.
log
(
this
.
houseLoanOldList
)
this
.
get
ChildLoanInfo
(
this
.
houseLoanOldList
,
this
.
commercialLoansParams
,
this
.
accumulationFundParams
);
this
.
send
ChildLoanInfo
(
this
.
houseLoanOldList
,
this
.
commercialLoansParams
,
this
.
accumulationFundParams
);
},
},
// closeBlan(){
// closeBlan(){
// //向父组件发送关闭弹窗
// //向父组件发送关闭弹窗
...
...
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