/** * 批量名单导入详情 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [ { type: 'input', label: '贷款申请编号', value: '', name: 'applySerialno', }, { type: 'input', label: '客户名称', value: '', name: 'customerName', }, { type: 'select', label: '验证结果', value: '', name: 'flowPhaseArray', options: [], attrs: ['multiple', 'clearable', 'collapse-tags'], }, ]; // 表格信息 const tableList = [ { label: '名单类型', prop: 'applySerialno', }, { label: '申请编号', prop: 'loanSerialno', }, { label: '客户名称', prop: 'customerName', }, { label: '剩余本金', prop: 'principalBalance', isMoney: true, }, { label: '重组产品名称', prop: 'interestBalance', }, { label: '重组客群', prop: 'feeBalance', }, { label: '还款方式', prop: 'palpenaltyBalance', }, { label: '期限单位', prop: 'balance', }, { label: '期限', prop: 'overdueDays', }, { label: '应收利息减免比例(%)', prop: 'transName', attrs: { width: '160' }, }, { label: '验证结果', prop: 'applyDate', }, { label: '验证描述', prop: 'applyTime', }, ]; export default (options) => { // 接口地址,required const api = 'acctrecombine/qryAcctRecombineImportInfo'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); }, }); };