/* * @Author: lixiong * @Date: 2019-08-21 14:35:07 * @Last Modified by: lixiong * @Last Modified time: 2019-10-29 17:26:48 */ /** * 扣款管理列表 */ import ApiModel from '@/utils/core/apiModel' // 表单信息 const formList = [ { type: 'input', label: '贷款申请编号', value: '', name: 'applySerialno' }, { type: 'input', label: '借据编号', value: '', name: 'loanSerialno' }, { type: 'input', label: '客户名称', value: '', name: 'customerName' }, // { // type: 'input', // label: '客户手机号', // value: '', // name: 'phone', // rules: [ // { // maxLength: 11 // } // ] // }, { type: 'select', label: '扣款挂起状态', value: '', name: 'loanUpStatusArray', options: [], }, { type: 'dateRange', label: '挂起结束日期', value: [], name: 'LoanUpOverDate', names: ['beginLoanUpOverDate', 'endLoanUpOverDate'] }, // { // type: 'select', // label: '当前流程阶段', // value: [], // name: 'flowPhaseArray', // options: [], // attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] // }, { type: 'select', label: '产品名称', value: [], name: 'productIdArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'dateRange', label: '贷款发放日期', value: [], name: 'putoutDate', names: ['beginPutoutDate', 'endPutoutDate'] } ] // 表格信息 const tableList = [ { "label": "贷款申请编号", "prop": "applySerialno" }, { "label": "借据编号", "prop": "loanSerialno" }, { "label": "客户名称", "prop": "customerName" }, { "label": "客户手机号", "prop": "phone" }, { "label": "扣款挂起状态", "prop": "loanUpStatusDesc" }, { "label": "挂起结束日期", "prop": "loanUpEndDate" }, { "label": "挂起原因", "prop": "loanUpRemark" }, { "label": "产品名称", "prop": "productName" }, { "label": "产品维度名称", "prop": "dimensionsName" }, { "label": "贷款发放日期", "prop": "putoutDate" }, { "label": "本金余额", "prop": "principalBalance", "isMoney": true }, { "label": "利息余额", "prop": "interestBalance", "isMoney": true }, { "label": "费用余额", "prop": "feeBalance", "isMoney": true }, { "label": "罚息余额", "prop": "palpenaltyBalance", "isMoney": true }, { "label": "剩余应还总金额", "prop": "balance", "isMoney": true }, { "label": "逾期天数", "prop": "overdueDays" }, { "label": "挂起申请日期", "prop": "loanUpInputDate" }, { "label": "挂起申请时间", "prop": "loanUpInputTime" }, { "label": "挂起申请人", "prop": "loanUpUserId" }, { "label": "挂起申请人直属机构", "prop": "loanUpOrgId" }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/queryWithholdManageList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }