/* * @Author: Pengjiantian * @Date: 2020-06-10 15:33:22 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-07-09 15:09:53 */ /** * 贷款机构管理列表查询 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'input', label: '贷款机构名称', value: '', name: 'orgName' }, { type: 'select', label: '贷款机构类型', value: '', name: 'orgType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '资方优先级类型', value: '', name: 'priorityType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] } ] // 表格信息 const tableList = [ { label: '贷款机构名称', prop: 'orgName' }, { label: '贷款机构类型', prop: 'orgTypeDesc' }, { label: '剩余日限额/日限额', prop: 'limitAmtDay' }, { label: '剩余月限额/月限额', prop: 'limitAmtMonth' }, { label: '剩余总额度/总额度', prop: 'limitAmtTotal' }, { label: '资方优先级类型', prop: 'priorityTypeDesc' }, { label: '资方优先级', prop: 'priorityValue' }, { label: '最近修改时间', prop: 'updateDate' }, { label: '最近修改用户', prop: 'updateUserName' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/fundRouter/qryFundRouteManageList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }