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
28cc8722
Commit
28cc8722
authored
Jul 29, 2021
by
feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
2ff7f25f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
23 deletions
+139
-23
ByhServiceDetail.vue
src/components/byh/ByhServiceDetail.vue
+132
-18
ServiceProblem.vue
src/components/byh/ServiceProblem.vue
+5
-5
enumOpt.js
src/utils/enumOpt.js
+2
-0
No files found.
src/components/byh/ByhServiceDetail.vue
View file @
28cc8722
...
...
@@ -278,6 +278,18 @@
</
template
>
</el-table-column>
</el-table>
<div
class=
"page"
>
<el-pagination
@
current-change=
"customerHandleCurrentChange"
@
size-change=
"customerHandleSizeChange"
:current-page
.
sync=
"customerPage.current"
:page-sizes=
"[10, 20, 50, 100]"
:page-size=
"customerPage.size"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"customerPage.total"
>
</el-pagination>
</div>
</el-collapse-item>
<el-collapse-item
title=
"催收记录"
name=
"7"
>
...
...
@@ -296,6 +308,18 @@
:formatter=
"formatSeconds"
></el-table-column>
<el-table-column
prop=
"collectContact.record"
label=
"催记"
></el-table-column>
</el-table>
<div
class=
"page"
>
<el-pagination
@
current-change=
"collectHandleCurrentChange"
@
size-change=
"collectHandleSizeChange"
:current-page
.
sync=
"collectPage.current"
:page-sizes=
"[10, 20, 50, 100]"
:page-size=
"collectPage.size"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"collectPage.total"
>
</el-pagination>
</div>
</el-collapse-item>
<el-collapse-item
title=
"操作日志"
name=
"8"
>
...
...
@@ -458,6 +482,16 @@ export default {
size
:
10
,
total
:
0
},
customerPage
:
{
current
:
1
,
size
:
10
,
total
:
0
},
collectPage
:
{
current
:
1
,
size
:
10
,
total
:
0
},
loanBackedList
:
[],
customerFeedList
:
[],
collectFeedList
:
[{
...
...
@@ -600,6 +634,8 @@ export default {
},
loanNos
:
''
,
clientNos
:
''
,
clientCells
:
''
,
clientProducts
:
''
,
},
}
},
...
...
@@ -617,6 +653,8 @@ export default {
},
created
()
{
this
.
clientNos
=
this
.
$route
.
query
.
clientNo
;
this
.
clientProducts
=
this
.
$route
.
query
.
clientProductName
;
this
.
clientCells
=
this
.
$route
.
query
.
phoneNo
;
this
.
backedData
(
this
.
$route
.
query
.
phoneNo
,
this
.
$route
.
query
.
clientNo
,
this
.
$route
.
query
.
clientProductName
);
this
.
addLoanDetail
(
this
.
$route
.
query
.
loanNo
);
},
...
...
@@ -736,37 +774,46 @@ export default {
this
.
clientDailyInfo
(
this
.
$route
.
query
.
clientNo
);
// 请求当前的反馈问题/customer/getQuestionList/
this
.
$$post
(
'/feed/feedList/'
,
{
clientNo
:
clientNo
,
feedSource
:
'CUSTOMER'
,
feedProduct
:
clientProductName
}).
then
(
res
=>
{
// 请求当前日志
this
.
$$post
(
'/feed/feedPageList'
,
{
clientCell
:
phoneNo
,
feedProduct
:
clientProductName
,
feedSource
:
'CUSTOMER'
,
size
:
this
.
customerPage
.
size
,
current
:
this
.
customerPage
.
current
,
sort
:
'id desc'
}).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
// this.isShow = false;
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
else
{
if
(
res
.
data
.
result
!=
null
)
{
this
.
customerFeedList
=
res
.
data
.
result
?
res
.
data
.
result
:
''
;
}
}
if
(
res
.
data
.
result
.
records
!=
null
)
{
this
.
customerFeedList
=
res
.
data
.
result
.
records
?
res
.
data
.
result
.
records
:
''
;
this
.
customerPage
.
total
=
res
.
data
.
result
.
total
;
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'
网络异常,请稍后。。。
'
);
this
.
$message
.
error
(
error
||
'
系统异常
'
);
});
this
.
$$post
(
'/feed/feedList/'
,
{
clientCell
:
phoneNo
,
feedProduct
:
'GXD'
,
feedSource
:
'COLLECT'
}).
then
(
res
=>
{
// 请求当前日志
this
.
$$post
(
'/feed/feedPageList'
,
{
clientCell
:
phoneNo
,
feedProduct
:
'GXD'
,
feedSource
:
'COLLECT'
,
size
:
this
.
collectPage
.
size
,
current
:
this
.
collectPage
.
current
,
sort
:
'id desc'
}).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
// this.isShow = false;
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
else
{
if
(
res
.
data
.
result
!=
null
)
{
this
.
collectFeedList
=
res
.
data
.
result
?
res
.
data
.
result
:
''
;
}
}
if
(
res
.
data
.
result
.
records
!=
null
)
{
this
.
collectFeedList
=
res
.
data
.
result
.
records
?
res
.
data
.
result
.
records
:
''
;
this
.
collectPage
.
total
=
res
.
data
.
result
.
total
;
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'
网络异常,请稍后。。。
'
);
this
.
$message
.
error
(
error
||
'
系统异常
'
);
});
...
...
@@ -803,6 +850,52 @@ export default {
});
},
//客服反馈信息
customerInfo
(
phoneNo
)
{
// 请求当前日志
this
.
$$post
(
'/feed/feedPageList'
,
{
clientCell
:
phoneNo
,
feedProduct
:
this
.
clientProducts
,
feedSource
:
'CUSTOMER'
,
size
:
this
.
customerPage
.
size
,
current
:
this
.
customerPage
.
current
,
sort
:
'id desc'
}).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
if
(
res
.
data
.
result
.
records
!=
null
)
{
this
.
customerFeedList
=
res
.
data
.
result
.
records
?
res
.
data
.
result
.
records
:
''
;
this
.
customerPage
.
total
=
res
.
data
.
result
.
total
;
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'系统异常'
);
});
},
//客户催收信息
collectInfo
(
phoneNo
)
{
// 请求当前日志
this
.
$$post
(
'/feed/feedPageList'
,
{
clientCell
:
phoneNo
,
feedProduct
:
'GXD'
,
feedSource
:
'COLLECT'
,
size
:
this
.
collectPage
.
size
,
current
:
this
.
collectPage
.
current
,
sort
:
'id desc'
}).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
this
.
$message
.
error
(
res
.
data
.
message
);
return
}
if
(
res
.
data
.
result
.
records
!=
null
)
{
this
.
collectFeedList
=
res
.
data
.
result
.
records
?
res
.
data
.
result
.
records
:
[];
this
.
collectPage
.
total
=
res
.
data
.
result
.
total
;
}
}).
catch
(
error
=>
{
this
.
$message
.
error
(
error
||
'系统异常'
);
});
},
//根据借款信息查借款所有信息
addLoanDetail
(
record
)
{
this
.
isNeedAudit
=
true
;
...
...
@@ -1075,6 +1168,27 @@ export default {
this
.
clientDailyInfo
(
this
.
clientNos
);
},
/** 客服反馈处理分页操作*/
customerHandleCurrentChange
()
{
this
.
customerFeedList
=
this
.
customerInfo
(
this
.
clientCells
);
},
customerHandleSizeChange
(
row
)
{
this
.
customerPage
.
size
=
row
this
.
customerPage
.
current
=
1
;
this
.
customerInfo
(
this
.
clientCells
);
},
/** 客户催收处理分页操作*/
collectHandleCurrentChange
()
{
this
.
collectFeedList
=
this
.
collectInfo
(
this
.
clientCells
);
},
collectHandleSizeChange
(
row
)
{
this
.
collectPage
.
size
=
row
this
.
collectPage
.
current
=
1
;
this
.
collectInfo
(
this
.
clientCells
);
},
//结果状态
resultFormat
:
function
(
row
,
column
)
{
let
result
=
row
[
'result'
];
...
...
src/components/byh/ServiceProblem.vue
View file @
28cc8722
...
...
@@ -274,13 +274,13 @@
}
return_hash
[
'feedSource'
]
=
'APP'
if
(
this
.
searchInfo
.
gmtStartTime
!=
null
&&
this
.
searchInfo
.
gmtStartTime
.
length
>
0
)
{
var
end
=
new
Date
(
this
.
searchInfo
.
gmtStartTime
[
1
])
var
end
=
new
Date
(
this
.
searchInfo
.
gmtStartTime
[
1
])
end
=
end
.
setDate
(
end
.
getDate
()
+
1
);
end
=
new
Date
(
end
);
end
=
end
.
setDate
(
end
.
getDate
()
+
1
);
end
=
new
Date
(
end
);
return_hash
[
'gmtStartTime'
]
=
this
.
searchInfo
.
gmtStartTime
[
0
];
return_hash
[
'gmtEndTime'
]
=
end
return_hash
[
'gmtStartTime'
]
=
this
.
searchInfo
.
gmtStartTime
[
0
];
return_hash
[
'gmtEndTime'
]
=
end
}
...
...
src/utils/enumOpt.js
View file @
28cc8722
...
...
@@ -310,6 +310,8 @@ const enumUtils = {
{
code
:
'RNY_DAI'
,
message
:
'任你用'
},
{
code
:
'QYD_DAI'
,
message
:
'钱有道'
},
{
code
:
'JP_DAI'
,
message
:
'榕树九品贷'
},
{
code
:
'HY_DAI'
,
message
:
'花鸭'
},
{
code
:
'R360_DAI'
,
message
:
'融360'
},
]
};
...
...
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