/** * 额度信息表单 */ import ApiModel from "@/utils/core/apiModel"; // 表格信息 const formList = [ { type: "input", attrs: ["readonly"], label: "授信额度", name: "creditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "剩余额度", name: "surplusAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "基础额度杠杆倍数", name: "leverMultiple" }, { type: "input", attrs: ["readonly"], label: "额度状态", names: "controlStatus", name: "controlStatusDesc", }, { type: "input", attrs: ["readonly"], label: "修改审核状态", names: "approveStatus", name: "approveStatusDesc" }, { type: "input", attrs: ["readonly"], label: "额度生效日", name: "effectiveDate" }, { type: "input", attrs: ["readonly"], label: "额度失效日", name: "disEffectiveDate" } ]; export default options => { // 接口地址,required const api = "server/quotaControlBaseInfo"; return new ApiModel({ api, formList, request(params) { return this.post(params); } }); };