/** * 批量名单导入列表 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [ { type: 'input', label: '贷款申请编号', value: '', name: 'applyserialno', }, { type: 'input', label: '批次备注', value: '', name: 'remark', }, { type: 'select', label: '批次状态', value: '', name: 'status', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'], }, ]; // 表格信息 const tableList = [ { label: '批次号', prop: 'batchno', attrs: { width: '300' }, }, { label: '备注', prop: 'remark', }, { label: '申请人', prop: 'adduserName', }, { label: '申请人所在机构', prop: 'addorgName', attrs: { width: '250' }, }, { label: '申请时间', prop: 'adddate', }, { label: '笔数', prop: 'total', }, { label: '状态', prop: 'statusDesc', }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right', }, type: 'buttons', } ]; export default options => { // 接口地址,required const api = 'acctrecombine/qryAcctRecombineImportList'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); }, }); };