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
e0158e3c
Commit
e0158e3c
authored
Sep 08, 2023
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录有点问题,已经修改
parent
ef70a454
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
207 additions
and
619 deletions
+207
-619
theme.config.js
src/config/default/theme.config.js
+1
-1
user.js
src/store/modules/user.js
+2
-0
AdvanceLoanAmt.vue
src/views/client/componments/AdvanceLoanAmt.vue
+1
-1
BillList.vue
src/views/client/componments/BillList.vue
+58
-44
DevicePayment.vue
src/views/client/componments/DevicePayment.vue
+3
-3
GenerateSettleReport.vue
src/views/client/componments/GenerateSettleReport.vue
+0
-139
LoanDetail.vue
src/views/client/componments/LoanDetail.vue
+3
-12
LoanInfo.vue
src/views/client/componments/LoanInfo.vue
+9
-15
Messages.vue
src/views/client/componments/Messages.vue
+24
-19
ProtocolSettled.vue
src/views/client/componments/ProtocolSettled.vue
+45
-59
ProtocolSettledOne.vue
src/views/client/componments/ProtocolSettledOne.vue
+49
-50
RePayList.vue
src/views/client/componments/RePayList.vue
+1
-3
ReliefList.vue
src/views/client/componments/ReliefList.vue
+1
-1
ServiceRefund.vue
src/views/client/componments/ServiceRefund.vue
+0
-164
SettleReport.vue
src/views/client/componments/SettleReport.vue
+0
-105
detail.vue
src/views/client/detail.vue
+1
-1
index.vue
src/views/login/index.vue
+9
-2
No files found.
src/config/default/theme.config.js
View file @
e0158e3c
...
...
@@ -5,7 +5,7 @@ const theme = {
//布局种类 horizontal vertical gallery comprehensive common
layout
:
'vertical'
,
//主题名称 default ocean green glory white
themeName
:
'
gree
n'
,
themeName
:
'
ocea
n'
,
//是否固定头部
fixedHeader
:
true
,
//是否显示顶部进度条
...
...
src/store/modules/user.js
View file @
e0158e3c
...
...
@@ -68,6 +68,8 @@ const actions = {
commit
(
'setAccessToken'
,
accessToken
)
}
return
result
},
/**
* @description 获取验证码
...
...
src/views/client/componments/AdvanceLoanAmt.vue
View file @
e0158e3c
...
...
@@ -182,7 +182,7 @@ export default {
created
()
{
// 查询当前的基础数据
this
.
$$get
(
'/
back
/countSettle?loanNo='
+
this
.
loanNo
).
then
(
res
=>
{
this
.
$$get
(
'/
loan
/countSettle?loanNo='
+
this
.
loanNo
).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
handleClose
();
...
...
src/views/client/componments/BillList.vue
View file @
e0158e3c
...
...
@@ -27,18 +27,21 @@
type=
"primary"
size=
"mini"
@
click=
"handleAdvanceLoanAmt"
v-if=
"isNeedAudit"
>
线下结清
</el-button
v-if=
"isNeedAudit && false"
>
线下结清
</el-button
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"protocolSettleAll"
>
代扣结清
</el-button
>
代扣结清
</el-button
>
<el-button
type=
"primary"
size=
"mini"
v-if=
"params.capitalCodeStr === '自营'"
@
click=
"handleDevicePayment"
>
分笔代扣
</el-button
>
分笔代扣
</el-button
>
</td>
<td>
减免金额
</td>
...
...
@@ -153,15 +156,14 @@
v-else
disabled
@
click=
"protocolOne(scope.row)"
>
代扣
</el-button
>
代扣
</el-button
>
<template
v-if=
"false"
>
<el-button
type=
"text"
size=
"small"
v-if=
"
scope.row.status != 'SETTLED' && scope.row.backedSign == 'YES'
"
v-if=
"scope.row.status != 'SETTLED' && scope.row.backedSign == 'YES'"
@
click=
"offlineTransfer(scope.row)"
>
线下转账
</el-button>
...
...
@@ -170,9 +172,9 @@
size=
"small"
v-else
disabled
@
click=
"offlineTransfer(scope.row)"
>
线下转账
</el-button
>
@
click=
"offlineTransfer(scope.row)"
>
线下转账
</el-button>
</
template
>
</template>
</el-table-column>
</el-table>
...
...
@@ -289,8 +291,8 @@ export default {
data
()
{
return
{
tableStatus
:
[
{
text
:
"成功"
,
value
:
"SUCCESS"
},
{
text
:
"失败"
,
value
:
"FAIL"
},
{
text
:
"成功"
,
value
:
"SUCCESS"
},
{
text
:
"失败"
,
value
:
"FAIL"
},
],
form
:
{
total
:
1
,
...
...
@@ -349,7 +351,7 @@ export default {
periodNo
:
""
,
remainAmt
:
""
,
planAmt
:
""
,
isCustomAmount
:
""
isCustomAmount
:
""
},
},
};
...
...
@@ -357,7 +359,7 @@ export default {
async
created
()
{
if
(
this
.
params
)
{
// console.log(this.params,'hhhhhh');
const
{
loanNo
}
=
this
.
params
;
const
{
loanNo
}
=
this
.
params
;
this
.
advanceLoanAmt
.
loanNo
=
loanNo
;
await
this
.
init
();
}
...
...
@@ -369,12 +371,12 @@ export default {
async
init
()
{
const
res
=
await
this
.
$$get
(
"/
detail
/customer/"
+
this
.
advanceLoanAmt
.
loanNo
"/
loan
/customer/"
+
this
.
advanceLoanAmt
.
loanNo
);
const
{
success
,
result
}
=
res
.
data
;
const
{
success
,
result
}
=
res
.
data
;
// console.log(res.data.result,'888');
if
(
success
&&
result
!=
null
)
{
const
{
loanVo
,
applyVo
,
planVo
}
=
result
;
const
{
loanVo
,
applyVo
,
planVo
}
=
result
;
this
.
advanceLoanAmt
.
loanNo
=
applyVo
.
loanNo
;
this
.
advanceLoanAmt
.
bizType
=
applyVo
.
bizType
;
this
.
advanceLoanAmt
.
clientNo
=
applyVo
.
clientNo
;
...
...
@@ -427,7 +429,7 @@ export default {
},
offlineTransfer
(
record
)
{
const
{
applyVo
,
orderNo
,
loanNo
}
=
this
.
params
;
const
{
applyVo
,
orderNo
,
loanNo
}
=
this
.
params
;
// console.log(this.params, "代扣");
// 取当前用户的信息
...
...
@@ -447,21 +449,33 @@ export default {
},
//代扣提前结清
protocolSettleAll
()
{
// 查询当前的基础数据
this
.
$$get
(
'/loan/countSettle?loanNo='
+
this
.
advanceLoanAmt
.
loanNo
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
!
res
.
data
.
success
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
handleClose
();
}
else
{
this
.
ui
.
protocolSettled
=
{
visible
:
true
,
loanNo
:
this
.
advanceLoanAmt
.
loanNo
,
bizType
:
this
.
advanceLoanAmt
.
bizType
,
clientNo
:
this
.
advanceLoanAmt
.
clientNo
,
};
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'网络异常,请稍后。。。'
);
});
},
//代扣当期
protocolOne
(
record
)
{
console
.
log
(
record
,
'record'
);
const
{
applyVo
,
loanNo
,
loanSign
}
=
this
.
params
;
console
.
log
(
record
,
'record'
);
const
{
applyVo
,
loanNo
,
loanSign
}
=
this
.
params
;
this
.
ui
.
protocolSettledOne
=
{
visible
:
true
,
loanNo
:
loanNo
,
loanSign
:
loanSign
,
loanSign
:
loanSign
,
bizType
:
this
.
advanceLoanAmt
.
bizType
,
clientNo
:
this
.
advanceLoanAmt
.
clientNo
,
periodNo
:
record
.
planIndex
,
...
...
@@ -469,11 +483,11 @@ export default {
planAmt
:
record
.
planAmt
,
isCustomAmount
:
record
.
isCustomAmount
,
};
console
.
log
(
this
.
ui
.
protocolSettledOne
,
'数据'
);
console
.
log
(
this
.
ui
.
protocolSettledOne
,
'数据'
);
},
//分笔代扣
handleDevicePayment
()
{
const
{
applyVo
,
loanNo
,
orderNo
,
clientNo
}
=
this
.
params
;
const
{
applyVo
,
loanNo
,
orderNo
,
clientNo
}
=
this
.
params
;
// console.log(this.params,'params');
this
.
ui
.
devicePayment
=
{
visible
:
true
,
...
...
src/views/client/componments/DevicePayment.vue
View file @
e0158e3c
...
...
@@ -234,7 +234,7 @@ export default {
methods
:
{
getData
()
{
// 查询当前的基础数据
this
.
$$get
(
"/
back
/countSettle?loanNo="
+
this
.
loanNo
)
this
.
$$get
(
"/
loan
/countSettle?loanNo="
+
this
.
loanNo
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -262,7 +262,7 @@ export default {
},
getBankList
()
{
//获取银行卡列表
this
.
$$post
(
`/
back
/bankCardList`
,
{
this
.
$$post
(
`/
loan
/bankCardList`
,
{
clientNo
:
this
.
clientNo
,
bizType
:
this
.
bizType
,
loanNo
:
this
.
loanNo
,
...
...
@@ -294,7 +294,7 @@ export default {
type
:
"primary"
,
})
.
then
(()
=>
{
this
.
$$post
(
`/
back
/createBackedSettle`
,
this
.
buildParam
())
this
.
$$post
(
`/
loan
/createBackedSettle`
,
this
.
buildParam
())
.
then
((
res
)
=>
{
// console.log(res, "确定按钮");
if
(
res
.
data
.
code
!=
200
)
{
...
...
src/views/client/componments/GenerateSettleReport.vue
deleted
100644 → 0
View file @
ef70a454
<
template
>
<el-dialog
title=
"结清证明"
width=
"700px"
center
:wrapperClosable=
"false"
:visible
.
sync=
"visible"
:before-close=
"handleClose"
>
<div
class=
"page-dialog"
>
<div
class=
"settleType"
>
<el-form
:inline=
"true"
>
<el-form-item
label=
"结清证明类型模板"
>
<el-select
v-model=
"reportType"
placeholder=
"请选择结清模板"
>
<el-option
label=
"借款主体结清证明模板"
value=
"loanReport"
></el-option>
<el-option
label=
"服务费主体结清证明模版"
value=
"serviceReport"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"generateReport"
>
生成结清证明
</el-button
>
</el-form-item>
</el-form>
</div>
<div>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
prop=
"settleTypeStr"
align=
"center"
label=
"结清类型"
>
</el-table-column>
<el-table-column
prop=
"operator"
align=
"center"
label=
"操作人"
>
</el-table-column>
<el-table-column
prop=
"operationDate"
align=
"center"
label=
"操作时间"
>
</el-table-column>
</el-table>
</div>
</div>
</el-dialog>
</
template
>
<
script
>
export
default
{
props
:
{
title
:
{
type
:
String
,
required
:
true
,
},
visible
:
{
type
:
Boolean
,
required
:
true
,
},
params
:
{
type
:
Object
,
required
:
true
,
},
},
data
()
{
return
{
reportType
:
""
,
tableData
:
[],
certName
:
""
,
loanNo
:
""
,
};
},
created
()
{
const
params
=
this
.
params
;
console
.
log
(
params
,
"啦啦啦啦啦啦啦"
);
if
(
params
.
loanNo
)
{
console
.
log
(
params
.
loanNo
,
"hhhhhhhhhh"
);
const
{
clientName
,
loanNo
,
externalNo
}
=
params
;
this
.
certName
=
clientName
;
this
.
loanNo
=
externalNo
;
this
.
queryReport
(
externalNo
);
}
},
methods
:
{
//查询生成报告
queryReport
(
externalNo
)
{
this
.
$$get
(
`/loan/selectGenerate?loanNo=
${
externalNo
}
`
).
then
((
res
)
=>
{
console
.
log
(
res
,
"报告"
);
if
(
res
.
data
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
result
;
}
});
},
//生成结清报告
generateReport
()
{
this
.
$confirm
(
"是否确认生成"
,
""
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
// 确定
console
.
log
(
this
.
reportType
,
"模板类型"
);
if
(
!
this
.
reportType
)
{
this
.
$message
(
"请选择报告类型!"
);
return
;
}
const
params
=
{};
params
.
settleType
=
this
.
reportType
;
params
.
loanNo
=
this
.
loanNo
;
params
.
operator
=
localStorage
.
getItem
(
"loginName"
);
this
.
$$post
(
`/loan/generateSettleReport`
,
params
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
queryReport
();
this
.
$message
({
type
:
"success"
,
message
:
"已生成!"
,
});
}
else
{
this
.
$message
(
res
.
data
.
message
)
}
});
})
.
catch
(()
=>
{
// 取消
this
.
$message
({
type
:
"info"
,
message
:
"已取消"
,
});
});
},
handleClose
()
{
this
.
$emit
(
"handleClose"
);
// window.location.reload()
},
},
};
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/views/client/componments/LoanDetail.vue
View file @
e0158e3c
...
...
@@ -12,9 +12,7 @@
<div
class=
"loan-detail"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse-item
title=
"申请信息"
name=
"1"
>
<!--
<ApplyInfo
:params=
"applyInfo"
></ApplyInfo>
-->
<div
class=
"page-com"
>
<!--
<block-header
:title=
"title"
></block-header>
-->
<table
class=
"table"
>
<tr>
<td>
申请日期
</td>
...
...
@@ -67,7 +65,7 @@
</el-collapse-item>
<!-- 组件 -->
<el-collapse-item
title=
"借款合同"
name=
"2"
>
<ContractList
:params=
"applyInfo"
v-if=
"$permissionUtils.rolePermission('lookAgreement')"
></ContractList>
<ContractList
:params=
"applyInfo"
></ContractList>
</el-collapse-item>
<el-collapse-item
title=
"账单详情"
name=
"3"
>
<BillList
:params=
"applyInfo"
></BillList>
...
...
@@ -78,9 +76,6 @@
<el-collapse-item
title=
"减免记录"
name=
"5"
>
<ReliefList
:params=
"applyInfo"
></ReliefList>
</el-collapse-item>
<el-collapse-item
title=
"服务费退款记录"
name=
"6"
>
<ServiceRefund
:params=
"applyInfo"
></ServiceRefund>
</el-collapse-item>
</el-collapse>
</div>
</div>
...
...
@@ -92,7 +87,6 @@ import ContractList from "./ContractList";
import
RePayList
from
"./RePayList"
;
import
BillList
from
"./BillList"
;
import
ReliefList
from
"./ReliefList"
;
import
ServiceRefund
from
"./ServiceRefund"
;
import
*
as
moment
from
"moment"
;
export
default
{
...
...
@@ -101,8 +95,7 @@ export default {
ContractList
,
RePayList
,
BillList
,
ReliefList
,
ServiceRefund
ReliefList
},
props
:
{
dialogVisible
:
{
...
...
@@ -140,7 +133,6 @@ export default {
},
async
created
()
{
if
(
this
.
params
)
{
// console.log(this.params,'自营');
const
{
loanNo
}
=
this
.
params
;
this
.
applyInfo
=
this
.
params
;
await
this
.
initLoanInfo
(
loanNo
);
...
...
@@ -153,9 +145,8 @@ export default {
},
//根据借款信息查借款所有信息
async
initLoanInfo
(
loanNo
)
{
const
res
=
await
this
.
$$get
(
"/
detail
/customer/"
+
loanNo
);
const
res
=
await
this
.
$$get
(
"/
loan
/customer/"
+
loanNo
);
const
{
success
,
result
}
=
res
.
data
;
console
.
log
(
res
.
data
,
"222"
);
if
(
success
&&
result
!=
null
)
{
this
.
loan
=
result
;
this
.
loanModel
=
result
.
applyVo
;
...
...
src/views/client/componments/LoanInfo.vue
View file @
e0158e3c
...
...
@@ -14,7 +14,7 @@
<el-table-column
align=
"center"
prop=
"raiseAmt"
label=
"放款本金"
></el-table-column>
<el-table-column
align=
"center"
prop=
"productNameStr"
label=
"产品名称"
></el-table-column>
<el-table-column
align=
"center"
prop=
"capitalCodeStr"
label=
"放款资方"
></el-table-column
>
<!--
<el-table-column
align=
"center"
prop=
"capitalCodeStr"
label=
"放款资方"
></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
)
}}
...
...
@@ -32,17 +32,10 @@
<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" 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
v-if=
"scope.row.status==='SETTLED' && scope.row.capitalCode == 'OWNBUSINESS'&&zyItem"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleShow(scope.row,'GenerateSettleReport','结清报告')"
>
结清报告
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -72,16 +65,12 @@
<
script
>
import
LoanDetail
from
"./LoanDetail"
;
import
SettleReport
from
"./SettleReport"
;
import
GenerateSettleReport
from
'./GenerateSettleReport.vue'
;
import
*
as
moment
from
"moment"
;
export
default
{
name
:
'AddUserServiceDialog'
,
components
:
{
LoanDetail
,
SettleReport
,
GenerateSettleReport
LoanDetail
},
props
:
{
params
:
{
...
...
@@ -104,7 +93,6 @@ export default {
}
},
async
created
()
{
// console.log(localStorage.getItem('btnUrl'), 999888888);
const
btnUrl
=
localStorage
.
getItem
(
'btnUrl'
);
if
(
btnUrl
){
this
.
zyItem
=
btnUrl
...
...
@@ -116,6 +104,12 @@ export default {
const
res
=
await
this
.
$$post
(
'/loan/getLoanListByClientNo'
,
{
productName
:
clientProductName
,
clientNo
:
clientNo
});
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
result
.
forEach
(
item
=>
{
if
(
!
item
.
productNameStr
)
item
.
productNameStr
=
'飞逸美选'
})
this
.
data
=
result
;
}
}
catch
(
err
){
...
...
src/views/client/componments/Messages.vue
View file @
e0158e3c
...
...
@@ -65,6 +65,7 @@
<
script
>
import
*
as
moment
from
"moment"
;
export
default
{
props
:
{
dialogVisible
:
{
...
...
@@ -85,16 +86,15 @@ export default {
form
:
{
current
:
1
,
size
:
10
,
total
:
1
,
cell
:
""
,
productName
:
""
total
:
1
,
cell
:
""
,
productName
:
""
},
data
:
[],
};
},
async
created
()
{
const
params
=
this
.
params
;
// console.log(params,'手机号');
this
.
form
.
cell
=
params
.
phoneNo
;
this
.
form
.
productName
=
params
.
clientProductName
;
await
this
.
init
();
...
...
@@ -104,12 +104,16 @@ export default {
return
"tableHeaderStyle"
;
},
async
init
()
{
try
{
const
res
=
await
this
.
$$post
(
"/user/getSmsInfo"
,
this
.
form
);
const
{
success
,
result
}
=
res
.
data
;
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
this
.
data
=
result
.
data
;
this
.
form
.
total
=
result
.
total
;
}
}
catch
(
err
)
{
console
.
log
(
err
.
message
)
}
},
/*日期*/
dateFormat
:
function
(
row
,
column
)
{
...
...
@@ -139,6 +143,7 @@ export default {
.tables
{
margin-bottom
:
20px
;
}
.pages
{
display
:
flex
;
align-items
:
center
;
...
...
src/views/client/componments/ProtocolSettled.vue
View file @
e0158e3c
...
...
@@ -6,60 +6,49 @@
width=
"40%"
:visible
.
sync=
"visible"
:before-close=
"handleClose"
>
<div
style=
"margin-left:50px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
本金:
{{
this
.
ruleForm
.
raiseAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
起息日:
{{
this
.
ruleForm
.
startDate
|
dateFilter
}}
</div>
</el-col>
</el-row>
<br/>
<el-row
:gutter=
"20"
:center=
"true"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
占用天数:
{{
this
.
ruleForm
.
userDay
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
占用期数:
{{
this
.
ruleForm
.
userMonth
}}
</div>
</el-col>
</el-row>
<br/>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
还款本金:
{{
this
.
ruleForm
.
principleAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
利息:
{{
this
.
ruleForm
.
interestAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
服务费:
{{
this
.
ruleForm
.
serviceAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
违约金:
{{
this
.
ruleForm
.
breakAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
退款金额:
{{
this
.
ruleForm
.
refundAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
罚息:
{{
this
.
ruleForm
.
overdueAmt
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
融担金额:
{{
this
.
ruleForm
.
burdenAmt
}}
</div>
</el-col>
</el-row>
<br/>
<el-row
:gutter=
"20"
>
<el-col
:span=
"16"
>
<div
class=
"grid-content bg-purple"
>
总应还金额:
{{
this
.
ruleForm
.
settleAmt
}}
</div>
</el-col>
</el-row>
<div>
<table
class=
"table"
style=
"margin-bottom: 50px"
>
<tr>
<td>
本金:
</td>
<td>
{{
this
.
ruleForm
.
raiseAmt
}}
</td>
<td>
起息日:
</td>
<td>
{{
this
.
ruleForm
.
startDate
|
dateFilter
}}
</td>
<td>
占用天数:
</td>
<td>
{{
this
.
ruleForm
.
userDay
}}
</td>
</tr>
<tr>
<td>
占用期数:
</td>
<td>
{{
this
.
ruleForm
.
userDay
}}
</td>
<td>
还款本金:
</td>
<td>
{{
this
.
ruleForm
.
principleAmt
}}
</td>
<td>
利息:
</td>
<td>
{{
this
.
ruleForm
.
interestAmt
}}
</td>
</tr>
<tr>
<td>
服务费:
</td>
<td>
{{
this
.
ruleForm
.
serviceAmt
}}
</td>
<td>
违约金:
</td>
<td>
{{
this
.
ruleForm
.
breakAmt
}}
</td>
<td>
退款金额:
</td>
<td>
{{
this
.
ruleForm
.
refundAmt
}}
</td>
</tr>
<tr>
<td>
罚息:
</td>
<td>
{{
this
.
ruleForm
.
overdueAmt
}}
</td>
<td>
融担金额:
</td>
<td>
{{
this
.
ruleForm
.
burdenAmt
}}
</td>
<td>
总应还金额:
</td>
<td>
{{
this
.
ruleForm
.
settleAmt
}}
</td>
</tr>
</table>
</div>
<br/>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"140px"
class=
"demo-ruleForm"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"扣款金额"
prop=
"backedAmt"
>
<el-col
:span=
"20"
>
<el-input
v-model=
"ruleForm.settleAmt"
placeholder=
"扣款金额"
disabled
></el-input>
...
...
@@ -145,7 +134,6 @@ export default {
},
filters
:
{
dateFilter
:
function
(
row
)
{
var
date
=
row
if
(
typeof
(
date
)
==
undefined
||
typeof
(
date
)
==
null
)
{
...
...
@@ -167,21 +155,19 @@ export default {
this
.
bizTypeStr
=
this
.
bizType
;
// 查询当前的基础数据
this
.
$$get
(
'/
back
/countSettle?loanNo='
+
this
.
loanNo
).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$$get
(
'/
loan
/countSettle?loanNo='
+
this
.
loanNo
).
then
(
res
=>
{
if
(
!
res
.
data
.
success
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
handleClose
();
}
else
{
this
.
ruleForm
=
res
.
data
.
result
;
console
.
log
(
this
.
ruleForm
,
'哈哈哈'
);
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'网络异常,请稍后。。。'
);
});
//获取银行卡列表
this
.
$$post
(
`/
back
/bankCardList`
,
{
this
.
$$post
(
`/
loan
/bankCardList`
,
{
clientNo
:
this
.
clientNo
,
bizType
:
this
.
bizType
,
loanNo
:
this
.
loanNo
...
...
@@ -203,7 +189,7 @@ export default {
if
(
!
valid
)
{
return
false
}
this
.
$$post
(
`/
back
/createBackedSettle`
,
this
.
buildParam
()).
then
(
res
=>
{
this
.
$$post
(
`/
loan
/createBackedSettle`
,
this
.
buildParam
()).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
...
...
src/views/client/componments/ProtocolSettledOne.vue
View file @
e0158e3c
...
...
@@ -22,7 +22,7 @@
</el-form-item>
<el-form-item
label=
"扣款金额"
prop=
"backedAmt"
>
<el-input
v-if=
"ruleForm.isCustomAmount"
v-model=
"ruleForm.remainAmt"
placeholder=
"请输入转账金额"
></el-input>
<el-input
v-if=
"ruleForm.isCustomAmount"
v-model=
"ruleForm.remainAmt"
placeholder=
"请输入转账金额"
></el-input>
<el-input
v-else
v-model=
"ruleForm.remainAmt"
placeholder=
"请输入转账金额"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"选择银行卡"
prop=
"bankAccount"
>
...
...
@@ -80,10 +80,10 @@ export default {
planAmt
:
{
type
:
Number
},
loanSign
:{
type
:
String
loanSign
:
{
type
:
String
},
isCustomAmount
:{
isCustomAmount
:
{
type
:
Boolean
,
}
},
...
...
@@ -107,12 +107,12 @@ export default {
attach
:
''
,
planNo
:
''
,
bankAccount
:
''
,
paymentChannel
:
''
,
paymentChannel
:
''
,
bankOwner
:
''
,
backedAmt
:
''
,
memo
:
''
,
loanSign
:
""
,
isCustomAmount
:
null
loanSign
:
""
,
isCustomAmount
:
null
},
rules
:
{
bankAccount
:
[{
required
:
true
,
message
:
'支付银行卡不能为空'
,
trigger
:
'blur'
}],
...
...
@@ -121,12 +121,12 @@ export default {
},
loginName
:
''
,
cardList
:
[],
channelList
:
[]
channelList
:
[]
}
},
created
()
{
console
.
log
(
this
.
$props
,
'9090909090'
);
console
.
log
(
this
.
$props
,
'9090909090'
);
this
.
ruleForm
=
{
loanNo
:
this
.
loanNo
,
bizType
:
this
.
bizType
,
...
...
@@ -134,15 +134,14 @@ export default {
periodNo
:
this
.
periodNo
,
remainAmt
:
this
.
remainAmt
,
planAmt
:
this
.
planAmt
,
loanSign
:
this
.
loanSign
,
isCustomAmount
:
this
.
isCustomAmount
,
loanSign
:
this
.
loanSign
,
isCustomAmount
:
this
.
isCustomAmount
,
};
// console.log(this.$props,'hhhhhhhhhhh');
//获取银行卡列表
this
.
$$post
(
`/
back
/bankCardList`
,
{
this
.
$$post
(
`/
loan
/bankCardList`
,
{
...
this
.
ruleForm
}).
then
(
res
=>
{
console
.
log
(
res
,
'银行卡'
);
console
.
log
(
res
,
'银行卡'
);
this
.
cardList
=
res
.
data
.
result
;
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'网络异常,请稍后。。。'
);
...
...
@@ -159,8 +158,8 @@ export default {
protocolOne
()
{
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$$post
(
`/
back
/createBackedSettle`
,
this
.
buildParam
()).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$$post
(
`/
loan
/createBackedSettle`
,
this
.
buildParam
()).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
=
'200'
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
...
...
@@ -174,26 +173,26 @@ export default {
})
},
//银行卡对应的支付渠道
changeCard
(
val
){
console
.
log
(
val
.
payChannelApiVOS
,
'12131232132'
);
this
.
channelList
=
val
.
payChannelApiVOS
;
if
(
val
.
payChannelApiVOS
.
length
==
0
){
this
.
ruleForm
.
paymentChannel
=
""
;
changeCard
(
val
)
{
this
.
channelList
=
val
.
payChannelApiVOS
;
if
(
val
.
payChannelApiVOS
.
length
==
0
)
{
this
.
ruleForm
.
paymentChannel
=
""
;
}
},
//参数
buildParam
()
{
const
c
=
localStorage
.
getItem
(
"userName"
);
return
{
loanNo
:
this
.
ruleForm
.
loanNo
,
bizType
:
this
.
ruleForm
.
bizType
,
creator
:
localStorage
.
getItem
(
"userName"
)
,
creator
:
c
?
c
:
'才'
,
bankAccount
:
this
.
ruleForm
.
bankAccount
,
backAmt
:
this
.
ruleForm
.
remainAmt
,
periodNo
:
this
.
ruleForm
.
periodNo
,
periodNo
:
this
.
ruleForm
.
periodNo
,
rePayType
:
'BYONE'
,
restingOrderEnum
:
'NO'
,
payChannelApi
:
this
.
ruleForm
.
paymentChannel
restingOrderEnum
:
'NO'
,
payChannelApi
:
this
.
ruleForm
.
paymentChannel
};
},
...
...
@@ -208,7 +207,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.select-bank-card
{
width
:
50%
}
...
...
src/views/client/componments/RePayList.vue
View file @
e0158e3c
...
...
@@ -87,7 +87,6 @@ export default {
async
created
()
{
if
(
this
.
params
){
const
params
=
this
.
params
;
// console.log(params,'哈哈3')
this
.
form
.
bizNo
=
params
.
loanNo
;
await
this
.
init
()
}
...
...
@@ -105,12 +104,11 @@ export default {
total
:
this
.
form
.
total
,
result
:
this
.
backValue
}
const
res
=
await
this
.
$$post
(
'/
back
/detailPageList'
,
parB
);
const
res
=
await
this
.
$$post
(
'/
loan
/detailPageList'
,
parB
);
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
const
{
data
,
total
}
=
result
;
this
.
data
=
data
;
// console.log(this.data[0].backedNo,'data');
this
.
form
.
total
=
total
;
}
},
...
...
src/views/client/componments/ReliefList.vue
View file @
e0158e3c
...
...
@@ -104,7 +104,7 @@ export default {
total
:
this
.
form
.
total
,
result
:
this
.
backValue
}
const
res
=
await
this
.
$$post
(
'/
back
/deratePageList'
,
parB
);
const
res
=
await
this
.
$$post
(
'/
loan
/deratePageList'
,
parB
);
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
const
{
data
,
total
}
=
result
...
...
src/views/client/componments/ServiceRefund.vue
deleted
100644 → 0
View file @
ef70a454
<
template
>
<div
class=
"page-com"
>
<div
class=
"tables"
>
<!--
<block-header
:title=
"title"
></block-header>
-->
<el-table
border
size=
"mini"
:highlight-current-row=
"true"
:header-row-class-name=
"headerStyle"
:data=
"data"
stripe
style=
"width: 100%;"
>
<el-table-column
align=
"center"
prop=
"loanNo"
label=
"借款编号"
></el-table-column>
<el-table-column
align=
"center"
prop=
"refundAmt"
label=
"退款金额"
></el-table-column>
<el-table-column
align=
"center"
prop=
"refundStatusDesc"
label=
"退款单状态"
></el-table-column>
<el-table-column
align=
"center"
prop=
"creator"
label=
"创建人"
></el-table-column>
<el-table-column
align=
"center"
prop=
"gmtCreated"
label=
"创建时间"
:formatter=
"dateFormat"
></el-table-column>
<el-table-column
align=
"center"
prop=
"gmtModified"
label=
"更新时间"
:formatter=
"dateFormat"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"memo"
label=
"备注"
></el-table-column>
</el-table>
</div>
<div
class=
"pages"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
:current-page
.
sync=
"form.current"
:page-sizes=
"[10, 20, 50, 100]"
:page-size=
"form.size"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"form.total"
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
import
*
as
moment
from
"moment"
;
export
default
{
name
:
'RiskInfo'
,
props
:
{
title
:
{
type
:
String
,
required
:
false
,
},
params
:
{
type
:
Object
,
required
:
true
},
},
data
()
{
return
{
tableStatus
:
[
{
text
:
'成功'
,
value
:
"SUCCESS"
},
{
text
:
'审核中'
,
value
:
"SUBMITED"
},
{
text
:
'失败'
,
value
:
"FAIL"
}
],
form
:
{
total
:
1
,
current
:
1
,
size
:
10
,
// result:''
},
updateQueDialog
:
{
visible
:
false
,
feedNo
:
''
,
feedType
:
''
,
feedStatus
:
''
,
feedContent
:
''
,
clientNo
:
''
,
creater
:
''
,
finishContent
:
''
,
},
data
:
[],
backValue
:
null
}
},
async
created
()
{
if
(
this
.
params
){
const
params
=
this
.
params
;
// console.log(params,'params');
this
.
form
.
loanNo
=
params
.
loanNo
;
this
.
form
.
clientNo
=
params
.
clientNo
;
await
this
.
init
()
}
},
methods
:
{
headerStyle
()
{
return
"tableHeaderStyle"
;
},
async
init
()
{
const
parB
=
{
loanNo
:
this
.
form
.
loanNo
,
current
:
this
.
form
.
current
,
size
:
this
.
form
.
size
,
total
:
this
.
form
.
total
,
clientNo
:
this
.
form
.
clientNo
}
const
res
=
await
this
.
$$post
(
'/refund/selectRefund'
,
parB
);
const
{
success
,
result
}
=
res
.
data
;
// console.log(res.data,'返回的结果');
if
(
success
&&
result
!==
null
)
{
this
.
data
=
result
.
records
;
this
.
form
.
total
=
result
.
total
;
}
},
// 合并日期
dateCompare
:
function
(
row
,
column
)
{
let
date
=
row
[
column
.
property
]
if
(
date
===
undefined
)
{
return
''
}
return
moment
(
date
).
format
(
"YYYY-MM-DD "
)
+
row
.
backedTime
},
/*日期*/
dateFormat
:
function
(
row
,
column
)
{
let
date
=
row
[
column
.
property
]
if
(
date
===
undefined
)
{
return
''
}
return
moment
(
date
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
},
/*日期*/
dateFormats
:
function
(
row
,
column
)
{
let
date
=
row
[
column
.
property
]
if
(
date
===
undefined
)
{
return
''
}
return
moment
(
date
).
format
(
"YYYY-MM-DD"
)
},
handleClose
()
{
this
.
$emit
(
"handleClose"
);
},
//客服状态
serviceFormat
:
function
(
row
,
column
)
{
let
status
=
row
[
'feedStatus'
];
return
this
.
$enumUtils
.
toMsg
(
'FeedStatus'
,
status
);
},
handleCurrentChange
(
e
)
{
this
.
form
.
current
=
e
;
this
.
init
();
},
handleSizeChange
(
e
)
{
this
.
form
.
size
=
e
this
.
form
.
current
=
1
;
this
.
init
();
},
}
}
</
script
>
<
style
>
.tables
{
margin-bottom
:
20px
;
}
.pages
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
</
style
>
src/views/client/componments/SettleReport.vue
deleted
100644 → 0
View file @
ef70a454
<
template
>
<el-dialog
:title=
"title"
width=
"500px"
center
:wrapperClosable=
"false"
:visible
.
sync=
"visible"
:before-close=
"handleClose"
>
<div
class=
"page-dialog"
>
<div
class=
"btn-box"
style=
"height: 200px"
>
<el-button
size=
"small"
plain
type=
"info"
v-if=
"result.status==='FAIL'"
>
生成失败
</el-button>
<el-button
size=
"small"
plain
type=
"success"
@
click=
"handleClick"
v-else-if=
"result.status==='SUCCESS'"
>
点击下载
</el-button>
<el-button
size=
"small"
plain
type=
"primary"
v-else-if=
"result.status==='PROCESS'"
>
生成中...
</el-button>
</div>
</div>
</el-dialog>
</
template
>
<
script
>
import
*
as
moment
from
"moment"
;
export
default
{
name
:
'SettleReport'
,
props
:
{
title
:
{
type
:
String
,
required
:
true
,
},
visible
:
{
type
:
Boolean
,
required
:
true
},
params
:
{
type
:
Object
,
required
:
true
},
},
data
()
{
return
{
//FAIL:失败
//SUCCESS :成功
//PROCRSS:处理中
result
:
{},
form
:
{
batchNumber
:
''
,
capitalCode
:
''
,
certNo
:
""
,
certName
:
""
,
loanNo
:
""
}
}
},
async
created
()
{
const
params
=
this
.
params
;
// console.log(params, '很多信息');
if
(
params
.
loanNo
)
{
const
{
capitalCode
,
clientName
,
certNo
,
idCard
,
loanNo
,
externalNo
}
=
params
;
this
.
form
.
capitalCode
=
capitalCode
;
this
.
form
.
certNo
=
idCard
;
this
.
form
.
certName
=
clientName
;
//this.form.loanNo = loanNo;
this
.
form
.
loanNo
=
externalNo
;
await
this
.
init
()
}
},
methods
:
{
headerStyle
()
{
return
"tableHeaderStyle"
;
},
async
init
()
{
const
res
=
await
this
.
$$post
(
'/back/settleReport'
,
this
.
form
);
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
this
.
result
=
result
;
}
},
/*日期*/
dateFormats
:
function
(
row
,
column
)
{
let
date
=
row
[
column
.
property
]
if
(
date
===
undefined
)
{
return
''
}
return
moment
(
date
).
format
(
"YYYY-MM-DD"
)
},
handleClose
()
{
this
.
$emit
(
"handleClose"
);
},
handleClick
()
{
const
url
=
this
.
result
.
fileUrl
;
window
.
open
(
url
,
"_blank"
);
}
}
}
</
script
>
<
style
>
.btn-box
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
</
style
>
src/views/client/detail.vue
View file @
e0158e3c
...
...
@@ -283,7 +283,7 @@ export default {
//根据借款信息查借款所有信息
async
initLoanInfo
(
record
)
{
this
.
isNeedAudit
=
true
;
const
res
=
await
this
.
$$get
(
'/client/
/
detail/customer/'
+
record
);
const
res
=
await
this
.
$$get
(
'/client/detail/customer/'
+
record
);
const
{
success
,
result
}
=
res
.
data
;
if
(
success
&&
result
!==
null
)
{
this
.
loan
=
result
;
...
...
src/views/login/index.vue
View file @
e0158e3c
...
...
@@ -252,8 +252,15 @@ export default {
if
(
valid
)
{
try
{
this
.
loading
=
true
;
await
this
.
login
(
this
.
form
);
console
.
log
(
this
.
handleRoute
(),
'是啥'
);
const
res
=
await
this
.
login
(
this
.
form
);
console
.
log
(
res
,
'zai'
)
if
(
res
.
success
){
console
.
log
(
res
,
'沃日'
)
localStorage
.
setItem
(
"userName"
,
res
.
result
.
userName
);
localStorage
.
setItem
(
"loginName"
,
res
.
result
.
loginName
);
localStorage
.
setItem
(
"userCell"
,
res
.
result
.
userCell
);
}
// console.log(this.handleRoute(),'是啥');
await
this
.
$router
.
push
(
'/'
);
}
finally
{
this
.
loading
=
false
;
...
...
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