Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
丽
丽人贷管理后台
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
百灵美选
丽人贷管理后台
Commits
1097b84d
Commit
1097b84d
authored
Jun 17, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6月17日修改bug
parent
26d9489d
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
271 additions
and
131 deletions
+271
-131
approval.vue
src/components/approval.vue
+3
-2
operation-log.vue
src/components/operation-log.vue
+2
-1
user-base-info.vue
src/components/user-base-info.vue
+1
-1
user-other-info.vue
src/components/user-other-info.vue
+23
-6
index.js
src/minix/index.js
+1
-1
routes.js
src/store/modules/routes.js
+1
-0
index.vue
src/vab/components/SideBar/index.vue
+3
-0
permissions.js
src/vab/plugins/permissions.js
+1
-6
detail.vue
src/views/approval/detail.vue
+4
-2
approval-detail.vue
src/views/credit/approval-detail.vue
+1
-1
detail.vue
src/views/credit/detail.vue
+1
-1
pre-detail.vue
src/views/credit/pre-detail.vue
+3
-14
check.vue
src/views/loan/components/check.vue
+178
-0
detail.vue
src/views/loan/detail.vue
+32
-10
list.vue
src/views/loan/list.vue
+17
-86
No files found.
src/components/approval.vue
View file @
1097b84d
...
@@ -223,9 +223,10 @@
...
@@ -223,9 +223,10 @@
})
})
if
(
result
.
success
)
{
if
(
result
.
success
)
{
this
.
hasRisk
=
true
;
this
.
hasRisk
=
true
;
await
this
.
initRiskResult
()
//
await this.initRiskResult()
}
}
}
else
{
}
else
{
await
this
.
initRiskResult
()
await
this
.
initRiskResult
()
}
}
...
...
src/components/
pre-
operation-log.vue
→
src/components/operation-log.vue
View file @
1097b84d
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
import
API
from
'@/server/api'
import
API
from
'@/server/api'
export
default
{
export
default
{
name
:
'
Pre
OperationLog'
,
name
:
'OperationLog'
,
props
:{
props
:{
log
:{
log
:{
type
:
Array
,
type
:
Array
,
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
},
},
created
()
{
created
()
{
if
(
this
.
log
){
if
(
this
.
log
){
console
.
log
(
this
.
log
,
'日志'
);
this
.
list
=
this
.
log
;
this
.
list
=
this
.
log
;
}
}
}
}
...
...
src/components/user-base-info.vue
View file @
1097b84d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<el-descriptions-item
label-class-name=
'labelCls'
label=
'月收入'
>
{{
baseInfo
.
selfMonthIncomeStr
}}
元
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'月收入'
>
{{
baseInfo
.
selfMonthIncomeStr
}}
元
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'客户GPS'
>
{{
baseInfo
.
lat
}}
,
{{
baseInfo
.
lng
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'客户GPS'
>
{{
baseInfo
.
lat
}}
,
{{
baseInfo
.
lng
}}
</el-descriptions-item>
<
el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
{{
baseInfo
.
isFirstCredit
}}
</el-descriptions-item
>
<
!--
<el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
{{
baseInfo
.
isFirstCredit
}}
</el-descriptions-item>
--
>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'BD用户名'
>
{{
baseInfo
.
loginName
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'BD用户名'
>
{{
baseInfo
.
loginName
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'办单模式'
>
{{
baseInfo
.
orderProcessingMode
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'办单模式'
>
{{
baseInfo
.
orderProcessingMode
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'收款主体'
>
{{
baseInfo
.
collectionMain
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'收款主体'
>
{{
baseInfo
.
collectionMain
}}
</el-descriptions-item>
...
...
src/components/user-other-info.vue
View file @
1097b84d
...
@@ -41,7 +41,11 @@
...
@@ -41,7 +41,11 @@
<el-col
v-for=
'(o, index) in creditAttachInfo'
:key=
'index'
:span=
'4'
>
<el-col
v-for=
'(o, index) in creditAttachInfo'
:key=
'index'
:span=
'4'
>
<el-card
:body-style=
"
{ padding: '10px' }">
<el-card
:body-style=
"
{ padding: '10px' }">
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
></el-image>
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
>
<div
slot=
"error"
class=
"image-slot"
>
<span>
未上传
</span>
</div>
</el-image>
<div
class=
'el-card-intro'
>
<div
class=
'el-card-intro'
>
<span>
{{
o
.
attachTypeStr
}}
</span>
<span>
{{
o
.
attachTypeStr
}}
</span>
</div>
</div>
...
@@ -57,7 +61,11 @@
...
@@ -57,7 +61,11 @@
<el-col
v-for=
'(o, index) in supplAttachInfo'
:key=
'index'
:span=
'4'
>
<el-col
v-for=
'(o, index) in supplAttachInfo'
:key=
'index'
:span=
'4'
>
<el-card
:body-style=
"
{ padding: '10px' }">
<el-card
:body-style=
"
{ padding: '10px' }">
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
></el-image>
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
>
<div
slot=
"error"
class=
"image-slot"
>
<span>
未上传
</span>
</div>
</el-image>
<div
class=
'el-card-intro'
>
<div
class=
'el-card-intro'
>
<span>
{{
o
.
attachTypeStr
}}
</span>
<span>
{{
o
.
attachTypeStr
}}
</span>
</div>
</div>
...
@@ -72,7 +80,11 @@
...
@@ -72,7 +80,11 @@
<el-col
v-for=
'(o, index) in xcxSupplAttachInfo'
:key=
'index'
:span=
'4'
>
<el-col
v-for=
'(o, index) in xcxSupplAttachInfo'
:key=
'index'
:span=
'4'
>
<el-card
:body-style=
"
{ padding: '10px' }">
<el-card
:body-style=
"
{ padding: '10px' }">
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
<el-image
class=
'el-card-image'
:src=
'o.screenList[0]'
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
></el-image>
@
click
.
native=
'showImgViewer(o.screenList,"annex")'
>
<div
slot=
"error"
class=
"image-slot"
>
<span>
未上传
</span>
</div>
</el-image>
<div
class=
'el-card-intro'
>
<div
class=
'el-card-intro'
>
<span>
{{
o
.
attachTypeStr
}}
</span>
<span>
{{
o
.
attachTypeStr
}}
</span>
</div>
</div>
...
@@ -163,7 +175,7 @@
...
@@ -163,7 +175,7 @@
this
.
xcxSupplAttachInfo
=
xcxSupplAttachInfo
this
.
xcxSupplAttachInfo
=
xcxSupplAttachInfo
}
}
console
.
log
(
this
.
thirdPartyReport
,
'第三方报告'
)
//
console.log(this.thirdPartyReport, '第三方报告')
},
},
methods
:
{
methods
:
{
...
@@ -232,10 +244,15 @@
...
@@ -232,10 +244,15 @@
}
}
.el-card-image
{
.el-card-image
{
display
:
block
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
width
:
100%
;
width
:
100%
;
height
:
100px
;
height
:
100px
;
max-height
:
100px
max-height
:
100px
;
background
:
#f5f7fa
;
}
}
.el-card-intro
{
.el-card-intro
{
...
...
src/minix/index.js
View file @
1097b84d
import
BlockHeader
from
'@/components/blockHeader'
import
BlockHeader
from
'@/components/blockHeader'
import
OperationLog
from
'@/components/
pre-
operation-log'
import
OperationLog
from
'@/components/operation-log'
import
PreReport
from
'@/components/pre-report'
import
PreReport
from
'@/components/pre-report'
import
PrePlead
from
'@/components/pre-plead'
import
PrePlead
from
'@/components/pre-plead'
import
LoanAudit
from
'@/components/loan-audit'
import
LoanAudit
from
'@/components/loan-audit'
...
...
src/store/modules/routes.js
View file @
1097b84d
...
@@ -23,6 +23,7 @@ const mutations = {
...
@@ -23,6 +23,7 @@ const mutations = {
const
actions
=
{
const
actions
=
{
async
setRoutes
({
commit
},
mode
)
{
async
setRoutes
({
commit
},
mode
)
{
let
routes
=
asyncRoutes
;
let
routes
=
asyncRoutes
;
console
.
log
(
mode
,
'路由模式'
);
if
(
mode
===
"all"
)
{
if
(
mode
===
"all"
)
{
let
data
=
[
let
data
=
[
{
{
...
...
src/vab/components/SideBar/index.vue
View file @
1097b84d
...
@@ -43,6 +43,9 @@
...
@@ -43,6 +43,9 @@
variables
:
variables
,
variables
:
variables
,
}
}
},
},
created
()
{
console
.
log
(
this
.
routes
,
'菜单'
)
},
computed
:
{
computed
:
{
...
mapGetters
({
...
mapGetters
({
collapse
:
'settings/collapse'
,
collapse
:
'settings/collapse'
,
...
...
src/vab/plugins/permissions.js
View file @
1097b84d
...
@@ -6,12 +6,7 @@ import store from '@/store'
...
@@ -6,12 +6,7 @@ import store from '@/store'
import
VabProgress
from
'nprogress'
import
VabProgress
from
'nprogress'
import
'nprogress/nprogress.css'
import
'nprogress/nprogress.css'
import
getPageTitle
from
'@/utils/pageTitle'
import
getPageTitle
from
'@/utils/pageTitle'
import
{
import
{
authentication
,
loginInterception
,
recordRoute
,
routesWhiteList
}
from
'@/config'
authentication
,
loginInterception
,
recordRoute
,
routesWhiteList
}
from
'@/config'
VabProgress
.
configure
({
VabProgress
.
configure
({
easing
:
'ease'
,
easing
:
'ease'
,
...
...
src/views/approval/detail.vue
View file @
1097b84d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!--操作日志-->
<!--操作日志-->
<
template
v-if=
'detail.operationLogResponse!==null'
>
<
template
v-if=
'detail.operationLogResponse!==null'
>
<operation-log
:log
-data
=
'detail.operationLogResponse'
/>
<operation-log
:log=
'detail.operationLogResponse'
/>
</
template
>
</
template
>
<!--申述操作-->
<!--申述操作-->
...
@@ -56,7 +56,9 @@
...
@@ -56,7 +56,9 @@
const
result
=
await
API
.
initApproveDetail
({
const
result
=
await
API
.
initApproveDetail
({
creditNo
creditNo
})
})
this
.
detail
=
result
.
result
this
.
detail
=
result
.
result
;
console
.
log
(
'审批详情'
,
this
.
detail
)
}
}
}
}
}
}
...
...
src/views/credit/approval-detail.vue
View file @
1097b84d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<!--操作日志-->
<!--操作日志-->
<
template
v-if=
'detail.operationLogResponse!==null'
>
<
template
v-if=
'detail.operationLogResponse!==null'
>
<operation-log
:log
-data
=
'detail.operationLogResponse'
/>
<operation-log
:log=
'detail.operationLogResponse'
/>
</
template
>
</
template
>
<!--申述操作-->
<!--申述操作-->
...
...
src/views/credit/detail.vue
View file @
1097b84d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<!--操作日志-->
<!--操作日志-->
<
template
v-if=
'detail.operationLogResponse!==null'
>
<
template
v-if=
'detail.operationLogResponse!==null'
>
<operation-log
:log
-data
=
'detail.operationLogResponse'
/>
<operation-log
:log=
'detail.operationLogResponse'
/>
</
template
>
</
template
>
<!--申述操作-->
<!--申述操作-->
...
...
src/views/credit/pre-detail.vue
View file @
1097b84d
...
@@ -17,18 +17,7 @@
...
@@ -17,18 +17,7 @@
<el-descriptions-item
label-class-name=
'labelCls'
label=
'授信类型'
>
{{
detail
.
preBasisInfoResponse
.
creditTypeStr
}}
<el-descriptions-item
label-class-name=
'labelCls'
label=
'授信类型'
>
{{
detail
.
preBasisInfoResponse
.
creditTypeStr
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'授信状态'
>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'授信状态'
>
<el-tag
v-if=
'detail.preBasisInfoResponse.preStateStr==="授信中"'
size=
'medium'
type=
'warning'
>
{{
detail
.
preBasisInfoResponse
.
preStateStr
}}
</el-tag>
<el-tag
v-else-if=
'detail.preBasisInfoResponse.preStateStr==="授信通过"'
size=
'medium'
type=
'success'
>
{{
detail
.
preBasisInfoResponse
.
preStateStr
}}
{{
detail
.
preBasisInfoResponse
.
preStateStr
}}
</el-tag>
<el-tag
v-else-if=
'detail.preBasisInfoResponse.preStateStr==="授信拒绝"'
size=
'medium'
type=
'danger'
>
{{
detail
.
preBasisInfoResponse
.
preStateStr
}}
</el-tag>
<template
v-if=
'detail.preBasisInfoResponse.preState === "PRE_CREDIT_REFUSE"'
>
<template
v-if=
'detail.preBasisInfoResponse.preState === "PRE_CREDIT_REFUSE"'
>
<el-button
@
click=
'handlePlead'
size=
'mini'
style=
'margin-left: 10px'
type=
'primary'
>
申诉
</el-button>
<el-button
@
click=
'handlePlead'
size=
'mini'
style=
'margin-left: 10px'
type=
'primary'
>
申诉
</el-button>
...
@@ -36,7 +25,7 @@
...
@@ -36,7 +25,7 @@
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'商户区域'
>
{{ detail.preBasisInfoResponse.regionName }}
<el-descriptions-item
label-class-name=
'labelCls'
label=
'商户区域'
>
{{ detail.preBasisInfoResponse.regionName }}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
{{ detail.preBasisInfoResponse.realName }}
<el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
...
@@ -64,7 +53,7 @@
...
@@ -64,7 +53,7 @@
<
script
>
<
script
>
import
API
from
'@/server/api'
import
API
from
'@/server/api'
import
PreOperationLog
from
'@/components/
pre-
operation-log'
import
PreOperationLog
from
'@/components/operation-log'
export
default
{
export
default
{
name
:
'PreDetail'
,
name
:
'PreDetail'
,
...
...
src/views/loan/components/check.vue
0 → 100644
View file @
1097b84d
<!-- 预授信申述 -->
<
template
>
<el-dialog
:title=
'title'
:visible
.
sync=
'visible'
:destroy-on-close=
'true'
:append-to-body=
'true'
:before-close=
'handleClose'
:close-on-click-modal=
'false'
width=
'30%'
>
<div
class=
'page'
>
<el-form
ref=
'form'
:model=
'form'
:rules=
'rules'
label-width=
'100px'
class=
'form-inline'
label-suffix=
':'
>
<el-form-item
label=
'客户名称'
>
<span>
{{
form
.
clientName
}}
</span>
</el-form-item>
<el-form-item
label=
'借款金额'
>
<span>
{{
form
.
loanAmount
}}
</span>
</el-form-item>
<el-form-item
prop=
'memo'
label=
'确认备注'
>
<el-input
v-model=
'form.memo'
type=
'textarea'
clearable
placeholder=
'请输入'
/>
</el-form-item>
<template
v-if=
'searchData!==null && payChannelApiResponses.length'
>
<el-form-item
prop=
'payChannelApi'
label=
'放款渠道'
>
<el-select
v-model=
'form.payChannelApi'
clearable
placeholder=
'请选择放款渠道'
>
<el-option
v-for=
'(item,index) in payChannelApiResponses'
:label=
'item.payChannelApiStr'
:key=
'index'
:value=
'item.payChannelApi'
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-form>
</div>
<div
slot=
'footer'
class=
'dialog-footer'
>
<el-button
type=
'primary'
@
click=
'handleLoan("form")'
>
确 定
</el-button>
<el-button
@
click=
'handleClose'
>
取 消
</el-button>
</div>
</el-dialog>
</template>
<
script
>
import
API
from
'@/server/api'
import
_
from
'lodash'
import
{
mapGetters
}
from
'vuex'
export
default
{
name
:
'Approval'
,
props
:
{
visible
:
{
type
:
Boolean
,
require
:
true
},
title
:
{
type
:
Boolean
,
require
:
true
},
item
:
{
type
:
Object
,
require
:
true
}
},
data
()
{
return
{
rules
:
{
memo
:
[
{
required
:
true
,
trigger
:
'blur'
,
message
:
'请输入审批备注'
}
]
},
type
:
''
,
payChannelApiResponses
:
[],
form
:
{
loanAmount
:
''
,
clientName
:
''
,
currentAction
:
''
,
orderNo
:
''
,
memo
:
''
,
stepsNo
:
''
,
userId
:
''
,
payChannelApi
:
''
}
}
},
computed
:
{
...
mapGetters
([
'searchData'
,
'user'
])
},
created
()
{
if
(
this
.
item
!==
null
)
{
const
{
realName
,
loanAmount
,
type
,
currentAction
,
orderNo
,
stepsNo
}
=
this
.
item
this
.
type
=
type
this
.
form
.
clientName
=
realName
this
.
form
.
loanAmount
=
loanAmount
this
.
form
.
currentAction
=
currentAction
this
.
form
.
orderNo
=
orderNo
this
.
form
.
stepsNo
=
stepsNo
const
payChannel
=
[]
this
.
searchData
.
payChannelApiResponses
.
forEach
(
item
=>
{
if
(
item
.
loanSign
===
loanSign
)
{
payChannel
.
push
(
item
)
}
})
this
.
payChannelApiResponses
=
payChannel
}
},
methods
:
{
handleClose
()
{
this
.
$emit
(
'handleClose'
)
},
handleLoan
(
formName
)
{
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
const
form
=
this
.
form
form
.
userId
=
this
.
user
.
userId
console
.
log
(
form
,
'表单书'
)
let
result
if
(
this
.
type
===
'confirm'
)
{
result
=
await
API
.
loanConfirm
({
...
form
})
}
else
{
result
=
await
API
.
loanCancel
({
...
form
})
}
if
(
result
.
success
)
{
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
})
this
.
$emit
(
'callback'
)
this
.
$emit
(
"handleClose"
)
}
}
})
}
}
}
</
script
>
<
style
lang=
'scss'
scoped
>
.page-fence
{
::v-deep
{
i
{
cursor
:
pointer
;
}
}
box-sizing
:
border-box
;
padding
:
20px
;
}
</
style
>
<
style
lang=
'scss'
>
.custom-table-checkbox
{
.el-checkbox
{
display
:
block
!
important
;
margin
:
0
0
$base-padding
/
4
0
;
}
}
.action-bar
{
margin-bottom
:
15px
;
}
</
style
>
src/views/loan/detail.vue
View file @
1097b84d
...
@@ -61,12 +61,15 @@
...
@@ -61,12 +61,15 @@
<!--收款账户信息-->
<!--收款账户信息-->
<
template
v-if=
'collectionAccountResponse!==null'
>
<
template
v-if=
'collectionAccountResponse!==null'
>
<block-header
title=
'收款账户信息'
/>
<block-header
title=
'收款账户信息'
/>
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
:column=
'5'
>
:column=
'5'
>
<el-descriptions-item
project
label=
'收款金额'
>
{{
money
(
collectionAccountResponse
.
collectionAmount
)
}}
元
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款金额'
>
{{
money
(
collectionAccountResponse
.
collectionAmount
)
}}
元
<el-descriptions-item
project
label=
'收款方类型'
>
{{
collectionAccountResponse
.
collectionType
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款方类型'
>
{{
collectionAccountResponse
.
collectionType
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款方名称'
>
{{
collectionAccountResponse
.
clientName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款方名称'
>
{{
collectionAccountResponse
.
clientName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'开户行'
>
{{
collectionAccountResponse
.
bankName
}}
月
</el-descriptions-item>
<el-descriptions-item
project
label=
'开户行'
>
{{
collectionAccountResponse
.
bankName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款账户'
>
{{
collectionAccountResponse
.
bankCard
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'收款账户'
>
{{
collectionAccountResponse
.
bankCard
}}
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</
template
>
</
template
>
...
@@ -74,7 +77,8 @@
...
@@ -74,7 +77,8 @@
<!--还款账户信息-->
<!--还款账户信息-->
<
template
v-if=
'repayAccountResponse!==null'
>
<
template
v-if=
'repayAccountResponse!==null'
>
<block-header
title=
'还款账户信息'
/>
<block-header
title=
'还款账户信息'
/>
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
:column=
'3'
>
:column=
'3'
>
<el-descriptions-item
project
label=
'还款人姓名'
>
{{
repayAccountResponse
.
clientName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'还款人姓名'
>
{{
repayAccountResponse
.
clientName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'银行名称'
>
{{
repayAccountResponse
.
openBankName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'银行名称'
>
{{
repayAccountResponse
.
openBankName
}}
</el-descriptions-item>
...
@@ -85,7 +89,8 @@
...
@@ -85,7 +89,8 @@
<!--BD信息-->
<!--BD信息-->
<
template
v-if=
'bdInfoResponse!==null'
>
<
template
v-if=
'bdInfoResponse!==null'
>
<block-header
title=
'BD信息'
/>
<block-header
title=
'BD信息'
/>
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
<el-descriptions
style=
'margin-bottom: 20px;'
direction=
'vertical'
:content-style=
'CS'
:label-style=
'LS'
border
size=
'small'
:column=
'4'
>
:column=
'4'
>
<el-descriptions-item
project
label=
'BD编号'
>
{{
bdInfoResponse
.
bdNo
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'BD编号'
>
{{
bdInfoResponse
.
bdNo
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'BD名称'
>
{{
bdInfoResponse
.
bdName
}}
</el-descriptions-item>
<el-descriptions-item
project
label=
'BD名称'
>
{{
bdInfoResponse
.
bdName
}}
</el-descriptions-item>
...
@@ -110,6 +115,16 @@
...
@@ -110,6 +115,16 @@
</
template
>
</
template
>
<!--稽核弹框-->
<
template
v-if=
'visible'
>
<loan-audit
:dialog-visible=
'visible'
:item=
'item'
@
handleClose=
'visible = false'
@
callback=
'init'
/>
</
template
>
</div>
</div>
</template>
</template>
...
@@ -121,6 +136,9 @@
...
@@ -121,6 +136,9 @@
data
()
{
data
()
{
return
{
return
{
visible
:
false
,
item
:
null
,
isLoan
:
true
,
isLoan
:
true
,
orderNo
:
''
,
orderNo
:
''
,
...
@@ -128,7 +146,7 @@
...
@@ -128,7 +146,7 @@
project
:
null
,
project
:
null
,
client
:
null
,
client
:
null
,
bdInfoResponse
:
null
,
bdInfoResponse
:
null
,
collectionAccountResponse
:
null
,
// 收款方
collectionAccountResponse
:
null
,
// 收款方
capitalName
:
null
// 资金方
capitalName
:
null
// 资金方
}
}
},
},
...
@@ -141,6 +159,10 @@
...
@@ -141,6 +159,10 @@
}
}
},
},
methods
:
{
methods
:
{
handleAudit
(
row
)
{
this
.
visible
=
true
this
.
item
=
row
},
async
init
()
{
async
init
()
{
const
orderNo
=
this
.
orderNo
const
orderNo
=
this
.
orderNo
const
result
=
await
API
.
loanDetail
({
const
result
=
await
API
.
loanDetail
({
...
@@ -167,9 +189,9 @@
...
@@ -167,9 +189,9 @@
this
.
project
=
projectInfoResponse
this
.
project
=
projectInfoResponse
this
.
client
=
clientDetail
this
.
client
=
clientDetail
this
.
capitalName
=
capitalName
// 资金方
this
.
capitalName
=
capitalName
// 资金方
this
.
collectionAccountResponse
=
collectionAccountResponse
;
// 收款方信息
this
.
collectionAccountResponse
=
collectionAccountResponse
// 收款方信息
this
.
repayAccountResponse
=
repayAccountResponse
;
// 还款方信息
this
.
repayAccountResponse
=
repayAccountResponse
// 还款方信息
this
.
bdInfoResponse
=
bdInfoResponse
;
// 还款方信息
this
.
bdInfoResponse
=
bdInfoResponse
// 还款方信息
this
.
detail
=
data
this
.
detail
=
data
}
}
...
...
src/views/loan/list.vue
View file @
1097b84d
...
@@ -118,44 +118,12 @@
...
@@ -118,44 +118,12 @@
<!--放款确认,放款取消-->
<!--放款确认,放款取消-->
<
template
v-if=
'DialogVisible'
>
<
template
v-if=
'DialogVisible'
>
<
el-dialog
<
check
:title=
'DialogTitle'
:title=
'DialogTitle'
:visible
.
sync=
'DialogVisible'
:visible=
'DialogVisible'
:destroy-on-close=
'true'
@
handleClose=
'DialogVisible = false'
width=
'30%'
>
@
callback=
'fetchData'
<div
class=
'page'
>
:item=
'item'
/>
<el-form
ref=
'dialogForm'
:model=
'dialogForm'
:rules=
'rules'
label-width=
'100px'
class=
'form-inline'
label-suffix=
':'
>
<el-form-item
label=
'客户名称'
>
<span>
{{
dialogForm
.
clientName
}}
</span>
</el-form-item>
<el-form-item
label=
'借款金额'
>
<span>
{{
dialogForm
.
loanAmount
}}
</span>
</el-form-item>
<el-form-item
prop=
'memo'
label=
'确认备注'
>
<el-input
v-model=
'dialogForm.memo'
type=
'textarea'
clearable
placeholder=
'请输入'
/>
</el-form-item>
<template
v-if=
'searchData!==null && payChannelApiResponses.length'
>
<el-form-item
prop=
'payChannelApi'
label=
'放款渠道'
>
<el-select
v-model=
'dialogForm.payChannelApi'
clearable
placeholder=
'请选择放款渠道'
>
<el-option
v-for=
'(item,index) in payChannelApiResponses'
:label=
'item.payChannelApiStr'
:key=
'index'
:value=
'item.payChannelApi'
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-form>
</div>
<div
slot=
'footer'
class=
'dialog-footer'
>
<el-button
type=
'primary'
@
click=
'handleLoan("dialogForm")'
>
确 定
</el-button>
<el-button
@
click=
'DialogVisible = false'
>
取 消
</el-button>
</div>
</el-dialog>
</
template
>
</
template
>
...
@@ -166,9 +134,13 @@
...
@@ -166,9 +134,13 @@
import
_
from
'lodash'
import
_
from
'lodash'
import
API
from
'@/server/api'
import
API
from
'@/server/api'
import
{
mapGetters
}
from
'vuex'
import
{
mapGetters
}
from
'vuex'
import
Check
from
'./components/check'
export
default
{
export
default
{
name
:
'LoanAudit'
,
name
:
'LoanAudit'
,
components
:
{
'Check'
:
Check
},
data
()
{
data
()
{
return
{
return
{
DialogTitle
:
''
,
DialogTitle
:
''
,
...
@@ -183,7 +155,7 @@
...
@@ -183,7 +155,7 @@
userId
:
''
,
userId
:
''
,
payChannelApi
:
''
payChannelApi
:
''
},
},
payChannelApiResponses
:[],
payChannelApiResponses
:
[],
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户信息'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'放款状态'
,
'资金渠道'
],
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户信息'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'放款状态'
,
'资金渠道'
],
...
@@ -251,7 +223,7 @@
...
@@ -251,7 +223,7 @@
trigger
:
'blur'
,
trigger
:
'blur'
,
message
:
'请输入备注'
message
:
'请输入备注'
}
}
]
,
]
//payChannelApi: [
//payChannelApi: [
// {
// {
// required: true,
// required: true,
...
@@ -296,6 +268,10 @@
...
@@ -296,6 +268,10 @@
this
.
fetchData
()
this
.
fetchData
()
},
},
methods
:
{
methods
:
{
handleClose
()
{
this
.
DialogVisible
=
false
this
.
$refs
[
'dialogForm'
].
resetFields
()
},
onReset
(
formName
)
{
onReset
(
formName
)
{
if
(
formName
)
{
if
(
formName
)
{
this
.
queryForm
.
capitalCode
=
''
this
.
queryForm
.
capitalCode
=
''
...
@@ -325,25 +301,10 @@
...
@@ -325,25 +301,10 @@
this
.
fetchData
()
this
.
fetchData
()
},
},
handleDialog
(
row
,
type
)
{
handleDialog
(
row
,
type
)
{
const
{
realName
,
loanAmount
,
currentAction
,
loanSign
,
orderNo
,
stepsNo
}
=
row
if
(
type
)
row
.
type
=
type
console
.
log
(
row
,
'当前行信息'
)
this
.
item
=
row
this
.
DialogVisible
=
true
this
.
DialogVisible
=
true
this
.
DialogTitle
=
type
===
'confirm'
?
'确认放款'
:
'取消放款'
this
.
DialogTitle
=
type
===
'confirm'
?
'确认放款'
:
'取消放款'
this
.
type
=
type
this
.
dialogForm
.
clientName
=
realName
this
.
dialogForm
.
loanAmount
=
loanAmount
this
.
dialogForm
.
currentAction
=
currentAction
this
.
dialogForm
.
orderNo
=
orderNo
this
.
dialogForm
.
stepsNo
=
stepsNo
const
payChannel
=
[];
this
.
searchData
.
payChannelApiResponses
.
forEach
(
item
=>
{
if
(
item
.
loanSign
===
loanSign
){
payChannel
.
push
(
item
)
}
})
this
.
payChannelApiResponses
=
payChannel
;
},
},
...
@@ -361,36 +322,6 @@
...
@@ -361,36 +322,6 @@
this
.
list
=
records
this
.
list
=
records
this
.
total
=
total
this
.
total
=
total
this
.
listLoading
=
false
this
.
listLoading
=
false
},
handleLoan
(
formName
)
{
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
const
form
=
this
.
dialogForm
form
.
userId
=
this
.
user
.
userId
console
.
log
(
form
,
'表单书'
)
let
result
if
(
this
.
type
===
'confirm'
)
{
result
=
await
API
.
loanConfirm
({
...
form
})
}
else
{
result
=
await
API
.
loanCancel
({
...
form
})
}
if
(
result
.
success
)
{
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
})
await
this
.
fetchData
()
}
}
})
}
}
}
}
}
}
...
...
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