/* * @Author: zheng * @Date: 2021-04-12 14:32:30 * @Last Modified by: zheng * @Last Modified time: 2021-04-22 18:35:13 */ /** * 提前结清特殊配置分页查询 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [ { type: 'input', label: '客户名称', value: '', name: 'customername', }, { type: 'input', label: '申请编号', value: '', name: 'contractserialno' }, ]; // 表格信息 const tableList = [ { label: '客户名称', prop: 'customername', attrs: { width: 'auto', } }, { label: '申请编号', prop: 'contractserialno', attrs: { width: 'auto', } }, { label: '借据号', prop: 'acctloanserialno', attrs: { width: 'auto', } }, { label: '提前结清期次', prop: 'prepaytermmonth', attrs: { width: 'auto', } }, { label: '本金减免金额', prop: 'discountamt', attrs: { width: 'auto', } }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ]; export default options => { // 接口地址,required const api = 'acctPrepaySpecial/qryPrepaySpecialList'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); } }); };