/* * @Author: Pengjiantian * @Date: 2020-02-28 09:41:25 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-02-28 09:56:35 */ /** * 管控额度审核列表 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'input', label: '额度对象编号', value: '', name: 'quotaObjectName' }, { type: 'input', label: '额度对象名称', value: '', name: 'quotaProjectName' }, { type: 'select', label: '修改审核状态', value: '01', // 默认值设置 name: 'approveStatus', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '额度对象类型', value: '', name: 'quotaObjectType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '额度类型', value: '', name: 'quotaControlType', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '产品', value: '', name: 'productIdArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '城市', value: '', name: 'cityArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'input', label: '子公司', value: '', name: 'subCompany' } ] // 表格信息 const tableList = [ { prop: 'controlSerialNo', label: '额度流水号' }, { label: '额度对象类型', prop: 'quotaObjectTypeDesc' }, { label: '额度对象编号', prop: 'quotaObjectName' }, { label: '额度对象名称', prop: 'quotaProjectName' }, { label: '额度类型', prop: 'quotaControlTypeDesc' }, { label: '产品', prop: 'productName' }, { label: '城市', prop: 'cityDesc' }, { label: '子公司', prop: 'subCompany' }, { label: '修改审核状态', prop: 'approveStatusDesc' }, { label: '修改前额度状态', prop: 'beforeStatusDesc' }, { label: '修改后额度状态', prop: 'updateStatusDesc' }, { label: '修改前授信额度', prop: 'beforeModifAmt', isMoney: true }, { label: '修改后授信额度', prop: 'updateModifAmt', isMoney: true }, { label: '修改前基础额度杠杆倍数', prop: 'beforeLeverMultiple' }, { label: '修改后基础额度杠杆倍数', prop: 'updateLeverMultiple' }, { label: '修改原因', prop: 'modifReasom' }, { label: '申请人', prop: 'inputUserName' }, { label: '申请人直属机构', prop: 'inputOrgName' }, { label: '申请时间', prop: 'inputDate' }, { label: '当前处理人', prop: 'taskUserName' }, { label: '当前处理人直属机构', prop: 'taskOrgName' }, { label: '任务接收时间', prop: 'taskStartDate' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/quotaControlApproveList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }