Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
loan-manager-customer
Project
Project
Details
Activity
Releases
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
zhanhai
loan-manager-customer
Commits
dc92b76c
Commit
dc92b76c
authored
Jan 14, 2022
by
ly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加参数,修改名称
parent
f5adbd87
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
ApplyInfo.vue
src/components/byh/componments/ApplyInfo.vue
+12
-2
LoanInfo.vue
src/components/byh/componments/LoanInfo.vue
+3
-2
enumOpt.js
src/utils/enumOpt.js
+5
-0
No files found.
src/components/byh/componments/ApplyInfo.vue
View file @
dc92b76c
...
...
@@ -8,7 +8,8 @@
<td>
放款日期:
</td>
<td>
{{
loanModel
.
raiseDate
|
dateFilter
}}
</td>
<td>
项目名称:
</td>
<td>
{{
loanModel
.
bizTypeStr
}}
</td>
<td>
{{
loanModel
.
productName
}}
</td>
<!--
<el-table-column
align=
"center"
prop=
"productName"
label=
"产品名称"
:formatter=
"productNameFormat"
></el-table-column>
-->
</tr>
<tr>
<td>
总应还金额:
</td>
...
...
@@ -76,12 +77,21 @@ export default {
console
.
log
(
this
.
params
,
'哈哈'
);
const
{
applyVo
}
=
this
.
params
;
this
.
loanModel
=
applyVo
this
.
productNameFormat
(
this
.
loanModel
.
productName
)
}
},
methods
:
{
headerStyle
()
{
return
"tableHeaderStyle"
;
},
//产品名称
productNameFormat
:
function
(
row
)
{
if
(
this
.
loanModel
!=
null
){
this
.
loanModel
.
productName
=
this
.
$enumUtils
.
toMsg
(
'BusinessType'
,
row
)
}
},
}
}
</
script
>
...
...
src/components/byh/componments/LoanInfo.vue
View file @
dc92b76c
...
...
@@ -72,8 +72,9 @@ export default {
}
},
async
created
()
{
const
{
clientNo
}
=
this
.
params
;
const
res
=
await
this
.
$$post
(
'/loan/getLoanListByClientNo/'
+
clientNo
);
console
.
log
(
this
.
params
,
999
);
const
{
clientNo
,
clientProductName
}
=
this
.
params
;
const
res
=
await
this
.
$$post
(
'/loan/getLoanListByClientNo/'
,{
productName
:
clientProductName
,
clientNo
:
clientNo
});
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
this
.
data
=
result
;
...
...
src/utils/enumOpt.js
View file @
dc92b76c
...
...
@@ -323,6 +323,8 @@ const enumUtils = {
{
code
:
'AWJ'
,
message
:
'安稳借'
},
{
code
:
'XYF_DAI'
,
message
:
'信用飞'
}
]
};
...
...
@@ -679,6 +681,9 @@ const enumUtils = {
{
value
:
'YPD_DAI'
,
label
:
'一品贷'
},
{
value
:
'AYSC_DAI'
,
label
:
'爱用商城-风尚贷'
},
{
value
:
'HFD_DAI'
,
label
:
'会分期'
},
{
value
:
'YYD_DAI'
,
label
:
'有余贷'
},
{
value
:
'XXH_DAI'
,
label
:
'心想花'
},
{
value
:
'JINSI_DAI'
,
label
:
'金丝贷'
},
]
};
...
...
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