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
c5b94f78
Commit
c5b94f78
authored
Sep 27, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹框
parent
4df11457
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
common/common.ts
+1
-1
pages/housePurchase/housePurchase.vue
+6
-4
No files found.
common/common.ts
View file @
c5b94f78
...
...
@@ -10,7 +10,7 @@ export default {
const
model
=
{
// 把后端返回过来的数据里面的键给替换成我想要的键
source
:
x
,
text
:
x
.
provinceName
?
x
.
provinceName
:
x
.
cityName
,
value
:
x
.
provinceId
?
x
.
provinceId
:
x
.
city
Id
,
value
:
x
.
cityId
?
x
.
cityId
:
x
.
province
Id
,
};
const
children
=
this
.
action
(
x
.
citys
);
// 子级数据
if
(
children
){
// 一直往下循环查找有没有children这个键,如果有就直接添加一个子级字段名,这个字段名就是存子级数据
...
...
pages/housePurchase/housePurchase.vue
View file @
c5b94f78
...
...
@@ -254,10 +254,12 @@
<!--底部技术支持组件-->
<foot></foot>
</view>
<!--旧房贷款余额组件-->
<loanBalance
@
closeLoan=
"closeChildLoan"
:getChildLoanInfo=
"getChildLoanInfo"
v-show=
"isLoanSelected"
></loanBalance>
<!--规划参数组件-->
<planningParameters></planningParameters>
<view
class=
"mask"
>
<!--旧房贷款余额组件-->
<loanBalance
@
closeLoan=
"closeChildLoan"
:getChildLoanInfo=
"getChildLoanInfo"
v-show=
"isLoanSelected"
></loanBalance>
<!--规划参数组件-->
<planningParameters></planningParameters>
</view>
</
template
>
<
script
>
...
...
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