Commit 22ad583b authored by feifei's avatar feifei

客户管理模块儿

parent 3dd318fa
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
<el-table-column prop="level" 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="productName" label="产品名称" :formatter="productNameFormat"></el-table-column>
<el-table-column prop="userStatus" label="状态" :formatter="userStatusFormat"></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"> <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> <el-button type="primary" size="small" v-if="$permissionUtils.rolePermission('customBoss') && scope.row.userStatus == 'REAL_NAME' " @click="cancellation(scope.row)">注销</el-button>
</template> </template>
</el-table-column> </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>
......
...@@ -289,6 +289,17 @@ ...@@ -289,6 +289,17 @@
<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="memo" label="备注"></el-table-column> <el-table-column prop="memo" label="备注"></el-table-column>
</el-table> </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-item>
</el-collapse> </el-collapse>
...@@ -430,6 +441,11 @@ ...@@ -430,6 +441,11 @@
size: 10, size: 10,
total: 0 total: 0
}, },
pages: {
current: 1,
size: 10,
total: 0
},
loanBackedList: [], loanBackedList: [],
customerFeedList: [], customerFeedList: [],
collectFeedList: [{ collectFeedList: [{
...@@ -702,18 +718,8 @@ ...@@ -702,18 +718,8 @@
} }
}); });
// 请求当前日志 //操作信息
this.$$post('/detail/getDaily', this.buildParam(clientNo)).then(res => { this.clientDailyInfo(clientNo);
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 || '系统异常');
});
// 请求当前的反馈问题/customer/getQuestionList/ // 请求当前的反馈问题/customer/getQuestionList/
this.$$post('/feed/feedList/',{clientNo:clientNo, feedSource:'CUSTOMER',feedProduct:clientProductName}).then(res => { this.$$post('/feed/feedList/',{clientNo:clientNo, feedSource:'CUSTOMER',feedProduct:clientProductName}).then(res => {
...@@ -763,6 +769,23 @@ ...@@ -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){ addLoanDetail(record){
var loanNo = record; var loanNo = record;
...@@ -890,14 +913,12 @@ ...@@ -890,14 +913,12 @@
//参数 //参数
buildParam(clientNo) { buildParam(clientNo) {
var return_hash = { var return_hash = {
size: this.page.size, size: this.pages.size,
current: this.page.current, current: this.pages.current,
}; };
if (clientNo != '') { if (clientNo != '') {
return_hash['clientNo'] = clientNo return_hash['clientNo'] = clientNo
} }
return return_hash; return return_hash;
}, },
// 合并日期 // 合并日期
...@@ -1018,6 +1039,17 @@ ...@@ -1018,6 +1039,17 @@
this.loanBackedData(this.loanNos); 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) { resultFormat: function (row, column) {
var result = row['result']; var result = row['result'];
......
This diff is collapsed.
...@@ -12,21 +12,6 @@ const menu = [ ...@@ -12,21 +12,6 @@ const menu = [
title: '客户管理', title: '客户管理',
icon: 'weibiaoti25', icon: 'weibiaoti25',
list: [ 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', index: '1-1',
route: {name: 'ByhService'}, route: {name: 'ByhService'},
...@@ -41,6 +26,11 @@ const menu = [ ...@@ -41,6 +26,11 @@ const menu = [
index: '1-3', index: '1-3',
route: {name: 'ByhMarket'}, route: {name: 'ByhMarket'},
title: '销售批次管理' title: '销售批次管理'
},
{
index: '1-4',
route: {name: 'ClientManagerment'},
title: '用户管理'
} }
] ]
}, },
......
...@@ -40,7 +40,8 @@ import { ...@@ -40,7 +40,8 @@ import {
ByhLoanSnapList, ByhLoanSnapList,
GxdloanList, GxdloanList,
CardBankList, CardBankList,
ServiceProblem ServiceProblem,
ClientManagerment
} from './routes' } from './routes'
Vue.use(Router) Vue.use(Router)
...@@ -317,7 +318,15 @@ export default new Router({ ...@@ -317,7 +318,15 @@ export default new Router({
filter: true filter: true
} }
}, },
{
path: '/byh/ClientManagerment',
name: 'ClientManagerment',
component: ClientManagerment,
meta: {
title: '客户管理',
filter: true
}
},
] ]
} }
] ]
......
...@@ -19,6 +19,7 @@ export const ByhService = resolve => require(['../components/byh/ByhService.vue' ...@@ -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 ServiceProblem = resolve => require(['../components/byh/ServiceProblem.vue'], resolve)
export const ByhServiceDetail = resolve => require(['../components/byh/ByhServiceDetail.vue'], resolve) export const ByhServiceDetail = resolve => require(['../components/byh/ByhServiceDetail.vue'], resolve)
export const ByhApplyMoney = resolve => require(['../components/byh/ByhApplyMoney.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 DownloadExecl = resolve => require(['../components/system/DownloadExecl.vue'], resolve)
export const LendBankCardList = resolve => require(['../components/system/LendBankCardList.vue'], resolve) export const LendBankCardList = resolve => require(['../components/system/LendBankCardList.vue'], resolve)
...@@ -124,5 +125,7 @@ export default { ...@@ -124,5 +125,7 @@ export default {
// 临时放款 // 临时放款
ByhLoanSnapList, ByhLoanSnapList,
GxdloanList, GxdloanList,
CardBankList CardBankList,
//客户管理
ClientManagerment
} }
...@@ -303,6 +303,7 @@ const enumUtils = { ...@@ -303,6 +303,7 @@ const enumUtils = {
{code: 'FO_GJJ', message: '51公积金'}, {code: 'FO_GJJ', message: '51公积金'},
{code: 'RS_DAI', message: '榕树贷'}, {code: 'RS_DAI', message: '榕树贷'},
{code: 'ZGH', message: '尊贵花'}, {code: 'ZGH', message: '尊贵花'},
{code: 'YSD', message: '衣食贷'},
] ]
}; };
...@@ -391,6 +392,37 @@ const enumUtils = { ...@@ -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) { for (var enumOptNum in enumOpts) {
if (enumOpts[enumOptNum].enumName == enumName) { if (enumOpts[enumOptNum].enumName == enumName) {
for (var msgNum in enumOpts[enumOptNum].values) { for (var msgNum in enumOpts[enumOptNum].values) {
...@@ -604,10 +636,11 @@ const enumUtils = { ...@@ -604,10 +636,11 @@ const enumUtils = {
{value: 'FO_GJJ', label: '51公积金'}, {value: 'FO_GJJ', label: '51公积金'},
{value: 'RS_DAI', label: '榕树贷'}, {value: 'RS_DAI', label: '榕树贷'},
{value: 'ZGH', label: '尊贵花'}, {value: 'ZGH', label: '尊贵花'},
{value: 'YSD', label: '衣食贷'},
] ]
}; };
// 产品名称 // 反馈来源
enumOpts[19] = { enumOpts[19] = {
enumName: 'FeedSourceType', values: [ enumName: 'FeedSourceType', values: [
{value: 'CUSTOMER', label: '客服人员'}, {value: 'CUSTOMER', label: '客服人员'},
...@@ -616,6 +649,14 @@ const enumUtils = { ...@@ -616,6 +649,14 @@ const enumUtils = {
] ]
}; };
// 产品名称
enumOpts[20] = {
enumName: 'AppNameType', values: [
{value: 'YYYQ', label: '盈盈有钱'},
{value: 'YYYQ_QUICK', label: '盈盈有钱福利版'},
]
};
for (var enumOptNum in enumOpts) { for (var enumOptNum in enumOpts) {
if (enumOpts[enumOptNum].enumName == enumName) { if (enumOpts[enumOptNum].enumName == enumName) {
return enumOpts[enumOptNum].values; return enumOpts[enumOptNum].values;
......
{ {
"name": "versiony", "name": "versiony",
"version": "5.8.4" "version": "5.9.1"
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment