/* * @Author: lixiong * @Date: 2019-08-21 14:35:07 * @Last Modified by: lixiong * @Last Modified time: 2019-11-13 18:03:20 */ /** * 贷款撤销回款认领提交 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const formList = [ { "type": "select", "label": "审批结果", value: "", "name": "approveCode", options: [], rules:[{required:true}] }, { type: 'textarea', "label": "审批意见", "name": "approveOpinion", style: { height: '360px' }, rules: [{required: true}, {maxLength: 3000}] }, { type: 'input', "label": "审批人", "name": "approveUserName", attrs: ['readonly'] }, { type: 'input', "label": "审批机构", "name": "approveOrgName", attrs: ['readonly'] }, { type: 'input', "label": "审批时间", "name": "approveTime", attrs: ['readonly'] } ] export default options => { // 接口地址,required const api = 'server/loanCancelClaimSubmit' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }