/** * 认领贴息 */ import ApiModel from '@/utils/core/apiModel' // 表单信息 const formList = [ { type: 'input', label: '贴息金额', value: '', name: 'interestTotalSubSidy', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '贴手续金额', value: '', name: 'poundagesubsidy', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '贴平台服务费金额', value: '', name: 'platFormsubsidy', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '贴担保费金额', value: '', name: 'guarantySubsidy', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '贴提前还款额外贴息金额', value: '', name: 'prepaySubsidy', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '贴息费总额', value: '', name: 'totalInterestRate', attrs: ['readonly'] } ] export default options => { // 接口地址,required const api = 'server/queryClaimDiscountInfo' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }