/* * @Author: Pengjiantian * @Date: 2020-06-15 16:56:56 * @Last Modified by: zheng * @Last Modified time: 2021-06-15 15:20:29 */ import ApiModel from '@/utils/core/apiModel' // 贷款机构-还款约束-还款分账清单 const formList = [ { type: 'input', label: '支付分账序号', value: '', name: 'sn', rules: [{ required: true }] }, { type: 'input', label: '支付机构', value: '', name: 'institutionId', rules: [{ required: true }] }, // { // type: 'input', // label: '分账类型', // value: '0', // name: 'ledgerType', // attrs: ['readonly'], // }, { type: 'input', label: '支付商户号', value: '', name: 'merchantId', rules: [{ required: true }] }, { type: 'input', label: '分账账户', value: '', name: 'ledgerMerchantId', rules: [{ required: true }] }, ] const tableList = [ { label: '支付分账序号 ', prop: 'sn', attrs: { width: 'auto' } }, { label: '支付机构', prop: 'institutionId', attrs: { width: 'auto' } }, // { // label: '分账类型', // prop: 'ledgerType', // attrs: { width: 'auto' } // }, { label: '支付商户号', prop: 'merchantId', attrs: { width: 'auto' } }, { label: '分账账户', prop: 'ledgerMerchantId', attrs: { width: 'auto' } }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址: required const api = 'server/queryLoanOrgRepaymentLedgerList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }