/* * @Author: Pengjiantian * @Date: 2020-06-29 10:04:50 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-06-29 10:05:12 */ import ApiModel from '@/utils/core/apiModel' // 业务约束-放款支持银行清单 const formList = [ { type: 'select', label: '银行编号', value: '', name: 'bankNo', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'], rules: [{ required: true }] }, { type: 'input', label: '银行名称', value: '', name: 'bankName', attrs: ['readonly'] } ] const tableList = [ { label: '银行编号', prop: 'bankNo', attrs: { width: 'auto' } }, { label: '银行名称', prop: 'bankName', attrs: { width: 'auto' } }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址: required const api = 'server/loanChannelPutoutBankList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }