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
1c58eaf6
Commit
1c58eaf6
authored
Jun 09, 2020
by
feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试部署
parent
2cdef49a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
460 additions
and
455 deletions
+460
-455
index.html
index.html
+1
-1
ByhService.vue
src/components/byh/ByhService.vue
+25
-46
ByhServiceDetail.vue
src/components/byh/ByhServiceDetail.vue
+406
-399
ServiceProblem.vue
src/components/byh/ServiceProblem.vue
+20
-2
enumOpt.js
src/utils/enumOpt.js
+8
-7
No files found.
index.html
View file @
1c58eaf6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<!--接口配置-->
<!--接口配置-->
<script>
<script>
//本地测试
//本地测试
//window.APIHOST = "http://192.168.0.50:8
1
02";
//window.APIHOST = "http://192.168.0.50:8
2
02";
//测试
//测试
window
.
APIHOST
=
"http://47.99.245.36:8202"
;
window
.
APIHOST
=
"http://47.99.245.36:8202"
;
...
...
src/components/byh/ByhService.vue
View file @
1c58eaf6
...
@@ -34,34 +34,23 @@
...
@@ -34,34 +34,23 @@
<!-- 列表 -->
<!-- 列表 -->
<div
v-show=
"isShow"
>
<div
v-show=
"isShow"
>
<el-table
:data=
"loanApplyList"
stripe
style=
"width: 100%;"
row-key=
"clientNo"
:lazy =
true
:load=
"load"
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}">
<el-table
:data=
"loanApplyList"
stripe
style=
"width: 100%;"
>
<el-table-column
prop=
"clientNo"
label=
"客户编号"
></el-table-column>
<el-table-column
prop=
"clientNo"
label=
"客户编号"
></el-table-column>
<el-table-column
prop=
"clientName"
label=
"姓名"
></el-table-column>
<el-table-column
prop=
"clientName"
label=
"姓名"
></el-table-column>
<el-table-column
prop=
"clientCell"
label=
"手机号"
></el-table-column>
<el-table-column
prop=
"clientCell"
label=
"手机号"
></el-table-column>
<el-table-column
prop=
"certNo"
label=
"身份证号"
></el-table-column>
<el-table-column
prop=
"certNo"
label=
"身份证号"
></el-table-column>
<el-table-column
prop=
"level"
label=
"授信级别"
></el-table-column>
<el-table-column
prop=
"level"
label=
"授信级别"
></el-table-column>
<el-table-column
prop=
"productName"
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=
"memo"
label=
"备注"
></el-table-column>
<el-table-column
label=
"
操作
"
>
<el-table-column
label=
"
查看详情
"
>
<template
scope=
"scope"
>
<template
scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"loanDetail(scope.row)"
>
详情
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"loanDetail(scope.row)"
>
查看
详情
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<br/>
<br/>
<!--
<div class="page">
<el-pagination
@current-change="handleCurrentChange"
@size-change="handleSizeChange"
:current-page.sync="page.current"
:page-sizes="[10, 20, 50, 100]"
:page-size="page.size"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total">
</el-pagination>
</div> -->
</div>
</div>
...
@@ -121,9 +110,10 @@
...
@@ -121,9 +110,10 @@
this
.
backedData
()
this
.
backedData
()
}
}
},
},
methods
:
{
methods
:
{
readDetail
(
record
)
{
readDetail
(
record
)
{
//console.log(record)
this
.
ui
.
readDetail
=
{
this
.
ui
.
readDetail
=
{
visible
:
true
,
visible
:
true
,
phone
:
record
.
phone
,
phone
:
record
.
phone
,
...
@@ -141,8 +131,8 @@
...
@@ -141,8 +131,8 @@
/** 加载数据 */
/** 加载数据 */
backedData
()
{
backedData
()
{
if
(
this
.
searchInfo
.
clientCell
==
''
&&
this
.
searchInfo
.
clientNo
==
''
&&
this
.
searchInfo
.
productName
==
''
&&
this
.
searchInfo
.
certNo
==
''
){
if
(
this
.
searchInfo
.
clientCell
==
''
&&
this
.
searchInfo
.
clientNo
==
''
&&
this
.
searchInfo
.
certNo
==
''
){
this
.
$message
({
message
:
'
参数
不能为空'
,
type
:
'error'
});
this
.
$message
({
message
:
'
手机号或客户编号或身份证号
不能为空'
,
type
:
'error'
});
return
;
return
;
}
}
this
.
loanList
()
this
.
loanList
()
...
@@ -161,12 +151,10 @@
...
@@ -161,12 +151,10 @@
}
}
this
.
isShow
=
true
;
this
.
isShow
=
true
;
this
.
loanApplyList
=
res
.
data
.
result
;
this
.
loanApplyList
=
res
.
data
.
result
;
console
.
log
(
this
.
loanApplyList
)
//this.page.total = res.data.result.total;
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
this
.
$Message
.
error
(
error
||
'系统异常'
);
this
.
$Message
.
error
(
error
||
'系统异常'
);
});
});
},
},
...
@@ -176,8 +164,9 @@
...
@@ -176,8 +164,9 @@
query
:
{
query
:
{
clientNo
:
record
.
clientNo
,
clientNo
:
record
.
clientNo
,
clientName
:
record
.
clientName
,
clientName
:
record
.
clientName
,
clientCell
:
record
.
clientCell
,
clientCell
:
this
.
searchInfo
.
clientCell
,
certNo
:
record
.
certNo
,
certNo
:
this
.
searchInfo
.
certNo
,
productName
:
this
.
searchInfo
.
productName
,
loanNo
:
record
.
loanNo
,
loanNo
:
record
.
loanNo
,
orderNo
:
record
.
orderNo
,
orderNo
:
record
.
orderNo
,
current
:
this
.
page
.
current
,
current
:
this
.
page
.
current
,
...
@@ -190,24 +179,6 @@
...
@@ -190,24 +179,6 @@
this
.
backedData
();
this
.
backedData
();
},
},
load
(
tree
,
treeNode
,
resolve
)
{
setTimeout
(()
=>
{
resolve
([
{
id
:
31
,
date
:
'2016-05-01'
,
name
:
'王小虎'
,
address
:
'上海市普陀区金沙江路 1519 弄'
},
{
id
:
32
,
date
:
'2016-05-01'
,
name
:
'王小虎'
,
address
:
'上海市普陀区金沙江路 1519 弄'
}
])
},
1000
)
},
/** 处理分页操作*/
/** 处理分页操作*/
handleCurrentChange
()
{
handleCurrentChange
()
{
this
.
loanApplyList
=
this
.
backedData
()
this
.
loanApplyList
=
this
.
backedData
()
...
@@ -243,11 +214,16 @@
...
@@ -243,11 +214,16 @@
return
moment
(
date
).
format
(
"YYYY-MM-DD"
)
return
moment
(
date
).
format
(
"YYYY-MM-DD"
)
},
},
//产品名称
productNameFormat
:
function
(
row
,
column
)
{
var
status
=
row
[
'productName'
];
return
this
.
$enumUtils
.
toMsg
(
'BusinessType'
,
status
);
},
//
客服
状态
//
借款单
状态
service
Format
:
function
(
row
,
column
)
{
loanStatus
Format
:
function
(
row
,
column
)
{
var
status
=
row
[
'
pointS
tatus'
];
var
status
=
row
[
'
s
tatus'
];
return
this
.
$enumUtils
.
toMsg
(
'
ServiceStatus
'
,
status
);
return
this
.
$enumUtils
.
toMsg
(
'
LoanStatusEnum
'
,
status
);
},
},
//参数
//参数
...
@@ -271,6 +247,9 @@
...
@@ -271,6 +247,9 @@
if
(
this
.
searchInfo
.
loanNo
!=
''
)
{
if
(
this
.
searchInfo
.
loanNo
!=
''
)
{
return_hash
[
'loanNo'
]
=
this
.
searchInfo
.
loanNo
return_hash
[
'loanNo'
]
=
this
.
searchInfo
.
loanNo
}
}
if
(
this
.
searchInfo
.
productName
!=
''
)
{
return_hash
[
'productName'
]
=
this
.
searchInfo
.
productName
}
return
return_hash
;
return
return_hash
;
...
...
src/components/byh/ByhServiceDetail.vue
View file @
1c58eaf6
This diff is collapsed.
Click to expand it.
src/components/byh/ServiceProblem.vue
View file @
1c58eaf6
...
@@ -32,6 +32,13 @@
...
@@ -32,6 +32,13 @@
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:clearable=
"false"
></el-date-picker>
end-placeholder=
"结束日期"
:clearable=
"false"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"产品名称"
>
<el-select
clearable
v-model=
"searchInfo.productName"
>
<el-option
v-for=
"item in this.$enumUtils.toValue('BusinessType')"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<div
class=
"btn"
>
<div
class=
"btn"
>
<el-button
@
click=
"reset"
type=
"primary"
>
重置
</el-button>
<el-button
@
click=
"reset"
type=
"primary"
>
重置
</el-button>
<el-button
@
click=
"querySearchRemind"
type=
"primary"
>
查询
</el-button>
<el-button
@
click=
"querySearchRemind"
type=
"primary"
>
查询
</el-button>
...
@@ -59,6 +66,7 @@
...
@@ -59,6 +66,7 @@
<el-table-column
prop=
"clientCell"
label=
"手机号"
></el-table-column>
<el-table-column
prop=
"clientCell"
label=
"手机号"
></el-table-column>
<el-table-column
prop=
"gmtCreated"
label=
"反馈时间"
:formatter=
"dateFormat"
></el-table-column>
<el-table-column
prop=
"gmtCreated"
label=
"反馈时间"
:formatter=
"dateFormat"
></el-table-column>
<el-table-column
prop=
"feedType"
label=
"反馈类型"
></el-table-column>
<el-table-column
prop=
"feedType"
label=
"反馈类型"
></el-table-column>
<el-table-column
prop=
"productName"
label=
"产品名称"
:formatter=
"productNameFormat"
></el-table-column>
<el-table-column
prop=
"feedStatus"
label=
"解决状态"
></el-table-column>
<el-table-column
prop=
"feedStatus"
label=
"解决状态"
></el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -113,6 +121,7 @@
...
@@ -113,6 +121,7 @@
clientCell
:
''
,
clientCell
:
''
,
feedType
:
''
,
feedType
:
''
,
feedStatus
:
''
,
feedStatus
:
''
,
productName
:
''
,
},
},
tablePlanRemindData
:
[],
tablePlanRemindData
:
[],
record
:
''
,
record
:
''
,
...
@@ -128,7 +137,6 @@
...
@@ -128,7 +137,6 @@
filters
:
{
filters
:
{
filterFun
:
function
(
value
)
{
filterFun
:
function
(
value
)
{
console
.
log
(
value
,
666
)
if
(
value
.
length
>
20
)
{
if
(
value
.
length
>
20
)
{
value
=
value
.
substring
(
0
,
10
)
+
'...'
;
value
=
value
.
substring
(
0
,
10
)
+
'...'
;
}
}
...
@@ -216,6 +224,12 @@
...
@@ -216,6 +224,12 @@
});
});
},
},
//产品名称
productNameFormat
:
function
(
row
,
column
)
{
var
status
=
row
[
'productName'
];
return
this
.
$enumUtils
.
toMsg
(
'BusinessType'
,
status
);
},
//参数
//参数
buildParam
()
{
buildParam
()
{
...
@@ -240,6 +254,9 @@
...
@@ -240,6 +254,9 @@
if
(
this
.
searchInfo
.
feedStatus
!=
''
)
{
if
(
this
.
searchInfo
.
feedStatus
!=
''
)
{
return_hash
[
'feedStatus'
]
=
this
.
searchInfo
.
feedStatus
return_hash
[
'feedStatus'
]
=
this
.
searchInfo
.
feedStatus
}
}
if
(
this
.
searchInfo
.
productName
!=
''
)
{
return_hash
[
'productName'
]
=
this
.
searchInfo
.
productName
}
if
(
this
.
searchInfo
.
gmtCreated
!=
null
&&
this
.
searchInfo
.
gmtCreated
.
length
>
0
)
{
if
(
this
.
searchInfo
.
gmtCreated
!=
null
&&
this
.
searchInfo
.
gmtCreated
.
length
>
0
)
{
var
end
=
new
Date
(
this
.
searchInfo
.
gmtCreated
[
1
])
var
end
=
new
Date
(
this
.
searchInfo
.
gmtCreated
[
1
])
...
@@ -247,7 +264,7 @@
...
@@ -247,7 +264,7 @@
end
=
end
.
setDate
(
end
.
getDate
()
+
1
);
end
=
end
.
setDate
(
end
.
getDate
()
+
1
);
end
=
new
Date
(
end
);
end
=
new
Date
(
end
);
return_hash
[
'gmt
TimeStart
'
]
=
this
.
searchInfo
.
gmtCreated
[
0
];
return_hash
[
'gmt
Created
'
]
=
this
.
searchInfo
.
gmtCreated
[
0
];
return_hash
[
'gmtTimeEnd'
]
=
end
return_hash
[
'gmtTimeEnd'
]
=
end
}
}
...
@@ -286,6 +303,7 @@
...
@@ -286,6 +303,7 @@
this
.
searchInfo
.
feedType
=
''
;
this
.
searchInfo
.
feedType
=
''
;
this
.
searchInfo
.
feedStatus
=
''
;
this
.
searchInfo
.
feedStatus
=
''
;
this
.
searchInfo
.
gmtCreated
=
''
;
this
.
searchInfo
.
gmtCreated
=
''
;
this
.
searchInfo
.
productName
=
''
;
},
},
/** 处理分页操作*/
/** 处理分页操作*/
...
...
src/utils/enumOpt.js
View file @
1c58eaf6
...
@@ -296,9 +296,13 @@ const enumUtils = {
...
@@ -296,9 +296,13 @@ const enumUtils = {
]
]
};
};
// 产品名称
enumOpts
[
31
]
=
{
enumName
:
'BusinessType'
,
values
:
[
{
code
:
'GXD'
,
message
:
'工薪贷'
},
{
code
:
'FO_GJJ'
,
message
:
'51公积金'
},
]
};
for
(
var
enumOptNum
in
enumOpts
)
{
for
(
var
enumOptNum
in
enumOpts
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
...
@@ -498,16 +502,13 @@ const enumUtils = {
...
@@ -498,16 +502,13 @@ const enumUtils = {
]
]
};
};
//
解决状态
//
产品名称
enumOpts
[
18
]
=
{
enumOpts
[
18
]
=
{
enumName
:
'BusinessType'
,
values
:
[
enumName
:
'BusinessType'
,
values
:
[
{
value
:
'GXD'
,
label
:
'工薪贷'
},
{
value
:
'GXD'
,
label
:
'工薪贷'
},
{
value
:
'FO_GJJ'
,
label
:
'51公积金'
},
{
value
:
'FO_GJJ'
,
label
:
'51公积金'
},
]
]
};
};
for
(
var
enumOptNum
in
enumOpts
)
{
for
(
var
enumOptNum
in
enumOpts
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
if
(
enumOpts
[
enumOptNum
].
enumName
==
enumName
)
{
...
...
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