/* * @Author: Pengjiantian * @Date: 2020-06-29 14:10:00 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-06-29 14:10:29 */ import ApiModel from '@/utils/core/apiModel' // 业务通道-身份验证收费标准 const formList = [ { type: 'input', label: '次笔数下限(不包含)', value: '', name: 'lowLimit', rules: [{ required: true }] }, { type: 'input', label: '档次笔数上限(包含)', value: '', name: 'upLimit', rules: [{ required: true }] }, { type: 'input', label: '单笔收费金额(元)', value: '', name: 'singleSum', 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/loanChannelCertPayChargeList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }