/** * 提交创建还款计划延期交易 */ 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/createPaymentScduleExtension' return new ApiModel({ api, formList, request(body) { return this.post(body) } }) }