/* * @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: 'select', label: '项目名称', value: [], name: 'projectCodeArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '资金方', value: '', name: 'orgIdArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '状态', value: '', name: 'status', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] } ] // 表格信息 const tableList = [ { label: '项目名称', prop: 'projectName' }, { label: '产品', prop: 'productName' }, { label: '维度名称', prop: 'productDimensionName' }, { label: '资金方', prop: 'orgName' }, { label: '还款方式编码', prop: 'paymentMethodCode' }, { label: '还款方式名称', prop: 'paymentMethodName' }, { label: '资方产品编码', prop: 'orgProductCode' }, { label: '资方产品名称', prop: 'orgProductName' }, { label: '期数', prop: 'period' }, { label: '是否清分', prop: 'useClearingDesc' }, { label: '融担清分费用类型', prop: 'guaranteeFeeClearingTypeDesc' }, { label: '状态', prop: 'statusDesc' }, { label: '备注', prop: 'remark', attrs: { width: 160, }, }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/selectLoanOrgProductList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }