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
70595c7a
Commit
70595c7a
authored
Jan 26, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加提前结清证明
parent
eb06b621
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
11 deletions
+52
-11
LoanInfo.vue
src/components/byh/componments/LoanInfo.vue
+52
-11
No files found.
src/components/byh/componments/LoanInfo.vue
View file @
70595c7a
...
...
@@ -16,18 +16,29 @@
:formatter=
"capitalCodeFormat"
></el-table-column>
<el-table-column
align=
"center"
prop=
"status"
label=
"借款单状态"
>
<template
slot-scope=
"scope"
>
<el-tag
type=
"success"
v-if=
"scope.row.status==='AUDITED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
v-else-if=
"scope.row.status==='SETTLED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"danger"
v-else-if=
"scope.row.status==='OVERDUED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"warning"
v-else-if=
"scope.row.status==='SUBMITED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
effect=
"warning"
v-else-if=
"scope.row.status==='BACKING'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"info"
v-else
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"success"
v-if=
"scope.row.status==='AUDITED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
v-else-if=
"scope.row.status==='SETTLED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"danger"
v-else-if=
"scope.row.status==='OVERDUED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"warning"
v-else-if=
"scope.row.status==='SUBMITED'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
effect=
"warning"
v-else-if=
"scope.row.status==='BACKING'"
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
<el-tag
type=
"info"
v-else
size=
"small"
>
{{
loanStatusFormat
(
scope
.
row
)
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"cancelMemo"
label=
"备注"
></el-table-column>
<el-table-column
align=
"center"
label=
"查看详情"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleClick(scope.row)"
>
详情
</el-button>
<template
v-if=
"scope.row.status==='SETTLED' && scope.row.capitalCode !== 'OWNBUSINESS'"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleShow(scope.row,'SettleReport','结清报告')"
>
结清报告
</el-button>
</
template
>
</template>
</el-table-column>
</el-table>
...
...
@@ -42,17 +53,29 @@
:params=
"items"
:dialogVisible=
"visible"
/>
</
template
>
<!-- 那啥-->
<
template
v-if=
"mcDialogVisible"
>
<component
@
handleClose=
"mcDialogVisible = false"
:is=
"ActiveCom"
:title=
"mcTitle"
:params=
"mcItems"
:visible=
"mcDialogVisible"
/>
</
template
>
</div>
</template>
<
script
>
import
LoanDetail
from
"./LoanDetail"
;
import
SettleReport
from
"./SettleReport"
;
import
*
as
moment
from
"moment"
;
export
default
{
name
:
'AddUserServiceDialog'
,
components
:
{
LoanDetail
LoanDetail
,
SettleReport
},
props
:
{
params
:
{
...
...
@@ -68,13 +91,18 @@ export default {
items
:
{},
mcDialogVisible
:
false
,
mcItems
:
null
,
mcTitle
:
""
,
ActiveCom
:
""
,
data
:
[]
}
},
async
created
()
{
console
.
log
(
this
.
params
,
999
);
const
{
clientNo
,
clientProductName
}
=
this
.
params
;
const
res
=
await
this
.
$$post
(
'/loan/getLoanListByClientNo/'
,
{
productName
:
clientProductName
,
clientNo
:
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
;
...
...
@@ -101,13 +129,26 @@ export default {
},
// 切换选项卡
handleClick
(
row
)
{
console
.
log
(
row
,
'一行信息'
);
console
.
log
(
row
,
'一行信息'
);
this
.
visible
=
true
;
this
.
title
=
'借款详情'
;
this
.
items
=
{
...
this
.
params
,
...
row
};
},
handleShow
(
row
,
com
,
title
)
{
console
.
log
(
row
,
'当前行'
)
this
.
mcDialogVisible
=
true
;
this
.
mcItems
=
{
...
row
,
...
this
.
loan
,
...
this
.
loanModel
,
...
this
.
basicInfo
,
...
this
.
$route
.
query
};
this
.
mcTitle
=
title
;
this
.
ActiveCom
=
com
;
}
}
}
...
...
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