/** * 贷后申请资料补传列表查询 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'select', label: '贷后交易名称', value: '', name: 'transCodeArr', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'input', label: '客户名称', value: '', name: 'customerName' }, { type: 'select', label: '当前流程阶段', value: '', name: 'phaseNoArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '产品名称', value: '', name: 'productIdArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'input', label: '贷款申请编号', value: '', name: 'applySerialNo' } ] // 表格信息 const tableList = [ { prop: 'transSerialNo', label: '贷后申请流水号' }, { label: '贷后交易名称', prop: 'transCodeDesc' }, { label: '客户名称', prop: 'customerName' }, { label: '当前流程阶段', prop: 'phaseName' }, { label: '产品名称', prop: 'productName' }, { label: '产品维度名称', prop: 'productDimensionName' }, { label: '贷款申请编号', prop: 'applySerialNo' }, { label: '申请日期', prop: 'applyDate' }, { label: '申请时间', prop: 'applyTime' }, { label: '申请人', prop: 'applyUserName' }, { label: '申请人直属机构', prop: 'applyOrgName' }, { label: '当前处理人', prop: 'operUserName' }, { label: '当前处理人直属机构', prop: 'operOrgName' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/queryTransApplyImgAddList' // let tempList = [...tableList] // if (options === '2001') { // tempList = tempList.filter(({ prop })=> prop !== 'periodNo') // } return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }