/* * @Author: Pengjiantian * @Date: 2020-02-28 11:46:50 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-02-28 14:05:36 */ /** * 客户额度审核列表 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'input', label: '客户名称', value: '', name: 'customerName' }, { type: 'input', label: '证件号码', value: '', name: 'certId' }, { type: 'select', label: '修改审核状态', value: '01', name: 'approveStatus', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'input', label: '客户编号', value: '', name: 'customerId' }, { type: 'select', label: '额度类型', value: '', name: 'quotaType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '产品', value: '', name: 'productArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] } ] // 表格信息 const tableList = [ { label: '客户编号', prop: 'customerId' }, { label: '客户名称', prop: 'customerName' }, { label: '证件类型', prop: 'certTypeDesc' }, { label: '证件号码', prop: 'certId' }, { label: '额度类型', prop: 'quotaTypeDesc' }, { label: '产品', prop: 'productName' }, { label: '周期性', prop: 'cyclicalDesc' }, { label: '修改审核状态', prop: 'approveStatusDesc' }, { label: '修改前额度状态', prop: 'beforeStatusDesc' }, { label: '修改后额度状态', prop: 'updateStatusDesc' }, { label: '修改前现金授信额度', prop: 'beforeCashCreditAmt', isMoney: true }, { label: '修改后现金授信额度', prop: 'updateCashCreditAmt', isMoney: true }, { label: '修改前消费授信额度', prop: 'beforeConsumeCreditAmt', isMoney: true }, { label: '修改后消费授信额度', prop: 'updateConsumeCreditAmt', isMoney: true }, { label: '修改前专项授信额度', prop: 'beforeSpecialCreditAmt', isMoney: true }, { label: '修改后专项授信额度', prop: 'updateSpecialCreditAmt', isMoney: true }, { label: '修改原因', prop: 'applyReason' }, { label: '申请人', prop: 'applyUserName' }, { label: '申请人直属机构', prop: 'applyOrgName' }, { label: '申请时间', prop: 'applyDate' }, { label: '当前处理人', prop: 'endUserName' }, { label: '当前处理人直属机构', prop: 'endOrgName' }, { label: '任务接收时间', prop: 'taskStartDate' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/qryCustQuotaApproveList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }