/* * @Author: Pengjiantian * @Date: 2020-06-28 16:54:12 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-07-15 14:31:44 */ /** * 业务通道管理列表查询 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'input', label: '业务通道编码', value: '', name: 'channelCode' }, { type: 'input', label: '业务通道名称', value: '', name: 'channelName' }, { type: 'select', label: '当前阶段', value: [], name: 'phaseNoArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '业务通道类型', value: '', name: 'channelType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '业务通道状态', value: '01', name: 'channelStatus', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] } ] // 表格信息 const tableList = [ { label: '业务通道编码', prop: 'channelCode' }, { label: '业务通道名称', prop: 'channelName' }, { label: '业务通道类型', prop: 'channelTypeDesc' }, { label: '当前阶段', prop: 'phaseName' }, { label: '业务通道状态', prop: 'channelStatusDesc' }, { label: '生效日期', prop: 'effectiveDate' }, { label: '失效日期', prop: 'diseffectiveDate' }, { label: '上次修改时间', prop: 'updateDate' }, { label: '上次修改用户', prop: 'updateUserName' }, { label: '当前申请人', prop: 'applyUserName' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/queryLoanChannelManageList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }