/* * @Author: Pengjiantian * @Date: 2020-06-15 16:21:57 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-06-15 16:21:57 */ 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/loanOrgApplyPutoutBankList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }