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
22ad583b
Commit
22ad583b
authored
Sep 02, 2020
by
feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户管理模块儿
parent
3dd318fa
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
510 additions
and
38 deletions
+510
-38
ByhService.vue
src/components/byh/ByhService.vue
+2
-2
ByhServiceDetail.vue
src/components/byh/ByhServiceDetail.vue
+48
-16
ClientManagerment.vue
src/components/byh/ClientManagerment.vue
+397
-0
menu.js
src/components/index/menu.js
+5
-15
index.js
src/router/index.js
+11
-2
routes.js
src/router/routes.js
+4
-1
enumOpt.js
src/utils/enumOpt.js
+42
-1
version.json
version.json
+1
-1
No files found.
src/components/byh/ByhService.vue
View file @
22ad583b
...
...
@@ -43,11 +43,11 @@
<el-table-column
prop=
"level"
label=
"授信级别"
></el-table-column>
<el-table-column
prop=
"productName"
label=
"产品名称"
:formatter=
"productNameFormat"
></el-table-column>
<el-table-column
prop=
"userStatus"
label=
"状态"
:formatter=
"userStatusFormat"
></el-table-column>
<el-table-column
label=
"操作"
>
<
!--
<
el-table-column
label=
"操作"
>
<template
scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
v-if=
"$permissionUtils.rolePermission('customBoss') && scope.row.userStatus == 'REAL_NAME' "
@
click=
"cancellation(scope.row)"
>
注销
</el-button>
</
template
>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"查看详情"
>
<
template
scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"loanDetail(scope.row)"
>
查看详情
</el-button>
...
...
src/components/byh/ByhServiceDetail.vue
View file @
22ad583b
...
...
@@ -289,6 +289,17 @@
<el-table-column
prop=
"gmtCreated"
label=
"操作时间"
:formatter=
"dateFormat"
></el-table-column>
<el-table-column
prop=
"memo"
label=
"备注"
></el-table-column>
</el-table>
<div
class=
"page"
>
<el-pagination
@
current-change=
"handleCurrentChangeClient"
@
size-change=
"handleSizeChangeClient"
:current-page
.
sync=
"pages.current"
:page-sizes=
"[10, 20, 50, 100]"
:page-size=
"pages.size"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pages.total"
>
</el-pagination>
</div>
</el-collapse-item>
</el-collapse>
...
...
@@ -430,6 +441,11 @@
size
:
10
,
total
:
0
},
pages
:
{
current
:
1
,
size
:
10
,
total
:
0
},
loanBackedList
:
[],
customerFeedList
:
[],
collectFeedList
:
[{
...
...
@@ -702,18 +718,8 @@
}
});
// 请求当前日志
this
.
$$post
(
'/detail/getDaily'
,
this
.
buildParam
(
clientNo
)).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
if
(
res
.
data
.
result
.
data
!=
null
)
{
this
.
loanLogCustom
=
res
.
data
.
result
.
data
?
res
.
data
.
result
.
data
:
''
;
}
}).
catch
(
error
=>
{
this
.
$Message
.
error
(
error
||
'系统异常'
);
});
//操作信息
this
.
clientDailyInfo
(
clientNo
);
// 请求当前的反馈问题/customer/getQuestionList/
this
.
$$post
(
'/feed/feedList/'
,{
clientNo
:
clientNo
,
feedSource
:
'CUSTOMER'
,
feedProduct
:
clientProductName
}).
then
(
res
=>
{
...
...
@@ -763,6 +769,23 @@
},
//操作信息
clientDailyInfo
(
clientNo
){
// 请求当前日志
this
.
$$post
(
'/detail/getDaily'
,
this
.
buildParam
(
clientNo
)).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
if
(
res
.
data
.
result
.
data
!=
null
)
{
this
.
loanLogCustom
=
res
.
data
.
result
.
data
?
res
.
data
.
result
.
data
:
''
;
this
.
pages
.
total
=
res
.
data
.
result
.
size
;
}
}).
catch
(
error
=>
{
this
.
$Message
.
error
(
error
||
'系统异常'
);
});
},
//根据借款信息查借款所有信息
addLoanDetail
(
record
){
var
loanNo
=
record
;
...
...
@@ -890,14 +913,12 @@
//参数
buildParam
(
clientNo
)
{
var
return_hash
=
{
size
:
this
.
page
.
size
,
current
:
this
.
page
.
current
,
size
:
this
.
page
s
.
size
,
current
:
this
.
page
s
.
current
,
};
if
(
clientNo
!=
''
)
{
return_hash
[
'clientNo'
]
=
clientNo
}
return
return_hash
;
},
// 合并日期
...
...
@@ -1018,6 +1039,17 @@
this
.
loanBackedData
(
this
.
loanNos
);
},
/** 处理分页操作*/
handleCurrentChangeClient
()
{
this
.
loanLogCustom
=
this
.
clientDailyInfo
(
this
.
advanceLoanAmt
.
clientNo
);
},
handleSizeChangeClient
(
row
){
this
.
pages
.
size
=
row
this
.
pages
.
current
=
1
;
this
.
clientDailyInfo
(
this
.
advanceLoanAmt
.
clientNo
);
},
//结果状态
resultFormat
:
function
(
row
,
column
)
{
var
result
=
row
[
'result'
];
...
...
src/components/byh/ClientManagerment.vue
0 → 100644
View file @
22ad583b
This diff is collapsed.
Click to expand it.
src/components/index/menu.js
View file @
22ad583b
...
...
@@ -12,21 +12,6 @@ const menu = [
title
:
'客户管理'
,
icon
:
'weibiaoti25'
,
list
:
[
// {
// index: '1-1',
// route: {name: 'ByhPlanRemindList'},
// title: '提醒列表'
// },
// {
// index: '1-2',
// route: {name: 'ByhLoanBackedList'},
// title: '转账列表'
// },
// {
// index: '1-3',
// route: {name: 'ByhLoanCollectList'},
// title: '逾期列表'
// },
{
index
:
'1-1'
,
route
:
{
name
:
'ByhService'
},
...
...
@@ -41,6 +26,11 @@ const menu = [
index
:
'1-3'
,
route
:
{
name
:
'ByhMarket'
},
title
:
'销售批次管理'
},
{
index
:
'1-4'
,
route
:
{
name
:
'ClientManagerment'
},
title
:
'用户管理'
}
]
},
...
...
src/router/index.js
View file @
22ad583b
...
...
@@ -40,7 +40,8 @@ import {
ByhLoanSnapList
,
GxdloanList
,
CardBankList
,
ServiceProblem
ServiceProblem
,
ClientManagerment
}
from
'./routes'
Vue
.
use
(
Router
)
...
...
@@ -317,7 +318,15 @@ export default new Router({
filter
:
true
}
},
{
path
:
'/byh/ClientManagerment'
,
name
:
'ClientManagerment'
,
component
:
ClientManagerment
,
meta
:
{
title
:
'客户管理'
,
filter
:
true
}
},
]
}
]
...
...
src/router/routes.js
View file @
22ad583b
...
...
@@ -19,6 +19,7 @@ export const ByhService = resolve => require(['../components/byh/ByhService.vue'
export
const
ServiceProblem
=
resolve
=>
require
([
'../components/byh/ServiceProblem.vue'
],
resolve
)
export
const
ByhServiceDetail
=
resolve
=>
require
([
'../components/byh/ByhServiceDetail.vue'
],
resolve
)
export
const
ByhApplyMoney
=
resolve
=>
require
([
'../components/byh/ByhApplyMoney.vue'
],
resolve
)
export
const
ClientManagerment
=
resolve
=>
require
([
'../components/byh/ClientManagerment.vue'
],
resolve
)
export
const
DownloadExecl
=
resolve
=>
require
([
'../components/system/DownloadExecl.vue'
],
resolve
)
export
const
LendBankCardList
=
resolve
=>
require
([
'../components/system/LendBankCardList.vue'
],
resolve
)
...
...
@@ -124,5 +125,7 @@ export default {
// 临时放款
ByhLoanSnapList
,
GxdloanList
,
CardBankList
CardBankList
,
//客户管理
ClientManagerment
}
src/utils/enumOpt.js
View file @
22ad583b
...
...
@@ -303,6 +303,7 @@ const enumUtils = {
{
code
:
'FO_GJJ'
,
message
:
'51公积金'
},
{
code
:
'RS_DAI'
,
message
:
'榕树贷'
},
{
code
:
'ZGH'
,
message
:
'尊贵花'
},
{
code
:
'YSD'
,
message
:
'衣食贷'
},
]
};
...
...
@@ -391,6 +392,37 @@ const enumUtils = {
]
};
/** 客户管理用户状态*/
enumOpts
[
38
]
=
{
enumName
:
'ClientStatusEnum'
,
values
:
[
{
code
:
'-1'
,
message
:
'临时用户'
},
{
code
:
'1'
,
message
:
'注册用户'
},
{
code
:
'2'
,
message
:
'实名用户'
},
{
code
:
'3'
,
message
:
'已冻结'
},
{
code
:
'4'
,
message
:
'已注销'
},
]
};
/** 客户管理用户实名状态*/
enumOpts
[
39
]
=
{
enumName
:
'RealAuthStatusEnum'
,
values
:
[
{
code
:
'0'
,
message
:
'未认证'
},
{
code
:
'1'
,
message
:
'认证中'
},
{
code
:
'2'
,
message
:
'认证通过'
},
{
code
:
'3'
,
message
:
'认证不通过'
},
]
};
/** 客户管理用户活体状态*/
enumOpts
[
40
]
=
{
enumName
:
'FaceStatusEnum'
,
values
:
[
{
code
:
'0'
,
message
:
'未识别'
},
{
code
:
'1'
,
message
:
'身份比对成功'
},
{
code
:
'2'
,
message
:
'身份比对异常'
},
{
code
:
'3'
,
message
:
'身份比对服务异常'
},
]
};
for
(
var
enumOptNum
in
enumOpts
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
for
(
var
msgNum
in
enumOpts
[
enumOptNum
].
values
)
{
...
...
@@ -604,10 +636,11 @@ const enumUtils = {
{
value
:
'FO_GJJ'
,
label
:
'51公积金'
},
{
value
:
'RS_DAI'
,
label
:
'榕树贷'
},
{
value
:
'ZGH'
,
label
:
'尊贵花'
},
{
value
:
'YSD'
,
label
:
'衣食贷'
},
]
};
//
产品名称
//
反馈来源
enumOpts
[
19
]
=
{
enumName
:
'FeedSourceType'
,
values
:
[
{
value
:
'CUSTOMER'
,
label
:
'客服人员'
},
...
...
@@ -616,6 +649,14 @@ const enumUtils = {
]
};
// 产品名称
enumOpts
[
20
]
=
{
enumName
:
'AppNameType'
,
values
:
[
{
value
:
'YYYQ'
,
label
:
'盈盈有钱'
},
{
value
:
'YYYQ_QUICK'
,
label
:
'盈盈有钱福利版'
},
]
};
for
(
var
enumOptNum
in
enumOpts
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
return
enumOpts
[
enumOptNum
].
values
;
...
...
version.json
View file @
22ad583b
{
"name"
:
"versiony"
,
"version"
:
"5.
8.4
"
"version"
:
"5.
9.1
"
}
\ No newline at end of file
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