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
4f596312
Commit
4f596312
authored
Jun 10, 2020
by
feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试部署1
parent
1c58eaf6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
3 deletions
+64
-3
ByhService.vue
src/components/byh/ByhService.vue
+49
-1
ByhServiceDetail.vue
src/components/byh/ByhServiceDetail.vue
+3
-1
enumOpt.js
src/utils/enumOpt.js
+11
-0
version.json
version.json
+1
-1
No files found.
src/components/byh/ByhService.vue
View file @
4f596312
...
...
@@ -42,7 +42,12 @@
<el-table-column
prop=
"certNo"
label=
"身份证号"
></el-table-column>
<el-table-column
prop=
"level"
label=
"授信级别"
></el-table-column>
<el-table-column
prop=
"productName"
label=
"产品名称"
:formatter=
"productNameFormat"
></el-table-column>
<el-table-column
prop=
"memo"
label=
"备注"
></el-table-column>
<el-table-column
prop=
"userStatus"
label=
"状态"
:formatter=
"userStatusFormat"
></el-table-column>
<el-table-column
label=
"操作"
>
<template
scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
v-if=
"scope.row.userStatus == 'REAL_NAME'"
@
click=
"cancellation(scope.row)"
>
注销
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"查看详情"
>
<
template
scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"loanDetail(scope.row)"
>
查看详情
</el-button>
...
...
@@ -69,6 +74,7 @@
return
{
flag
:
false
,
isShow
:
false
,
isCancell
:
false
,
activeNames
:[
'1'
],
page
:
{
current
:
1
,
...
...
@@ -158,6 +164,42 @@
},
//用户注销
cancellation
(
record
){
this
.
$confirm
(
'注销后此账户将被限制登录'
,
'确定注销?'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
/*this.$$post('/customer/cancellation', {clientNo:record.clientNo, clientCell:record.clientCell}).then(res => {
if (res.data.code != 200) {
this.isShow = false;
this.$message.error(res.data.message);
return
}
this.backedData();
}).catch(error => {
this.$Message.error(error || '系统异常');
});*/
this
.
$message
({
type
:
'success'
,
message
:
'注销成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消注销'
});
});
},
loanDetail
(
record
){
this
.
$router
.
push
({
path
:
'ByhServiceDetail'
,
...
...
@@ -220,6 +262,12 @@
return
this
.
$enumUtils
.
toMsg
(
'BusinessType'
,
status
);
},
//用户状态
userStatusFormat
:
function
(
row
,
column
)
{
var
status
=
row
[
'userStatus'
];
return
this
.
$enumUtils
.
toMsg
(
'UserStatusType'
,
status
);
},
//借款单状态
loanStatusFormat
:
function
(
row
,
column
)
{
var
status
=
row
[
'status'
];
...
...
src/components/byh/ByhServiceDetail.vue
View file @
4f596312
...
...
@@ -85,7 +85,9 @@
</el-collapse-item>
<el-collapse-item
title=
"借款信息"
name=
"2"
>
<el-collapse-item
name=
"2"
>
<h2>
借款信息
</h2>
<br/>
<el-table
:data=
"loanResultLists"
stripe
style=
"width: 100%;"
>
<el-table-column
prop=
"loanNo"
label=
"借款编号"
></el-table-column>
...
...
src/utils/enumOpt.js
View file @
4f596312
...
...
@@ -304,6 +304,17 @@ const enumUtils = {
]
};
// 用户状态
enumOpts
[
32
]
=
{
enumName
:
'UserStatusType'
,
values
:
[
{
code
:
'TEMP'
,
message
:
'临时用户'
},
{
code
:
'NEW'
,
message
:
'注册用户'
},
{
code
:
'REAL_NAME'
,
message
:
'实名用户'
},
{
code
:
'LOCK'
,
message
:
'冻结'
},
{
code
:
'CANCEL'
,
message
:
'注销'
},
]
};
for
(
var
enumOptNum
in
enumOpts
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
for
(
var
msgNum
in
enumOpts
[
enumOptNum
].
values
)
{
...
...
version.json
View file @
4f596312
{
"name"
:
"versiony"
,
"version"
:
"5.5.
7
"
"version"
:
"5.5.
8
"
}
\ 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