/* * @Author: Pengjiantian * @Date: 2020-06-15 15:32:19 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-07-13 16:17:38 */ import ApiModel from '@/utils/core/apiModel' // 贷款机构授信约束-身份验证收费标准列表查询 const formList = [ { type: 'input', label: '档次笔数下限(不包含)', value: '', name: 'lowLimit', isNumber: true, rules: [{ required: true }] }, { type: 'input', label: '档次笔数上限(包含)', value: '', name: 'upLimit', isNumber: true, rules: [{ required: true }] }, { type: 'input', label: '单笔收费金额(元)', value: '', name: 'singleSum', isMoney: true, rules: [{ required: true }] } ] const tableList = [ { label: '档次笔数下限(不包含)', prop: 'lowLimit', attrs: { width: 'auto' } }, { label: '档次笔数上限(包含)', prop: 'upLimit', attrs: { width: 'auto' } }, { label: '单笔收费金额(元)', prop: 'singleSum', attrs: { width: 'auto' }, isMoney: true }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址: required const api = 'server/loanOrgApplyChargeList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }