/** * 额度信息表单 */ import ApiModel from "@/utils/core/apiModel"; // 表格信息 const formList = [ { type: "input", attrs: ["readonly"], label: "现金授信额度", name: "cashCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "现金剩余额度", name: "cashRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "消费授信额度", name: "consumeCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "消费剩余额度", name: "consumRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "专项授信额度", name: "specialCreditAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "专项剩余额度", name: "specialRemainAmt", isMoney: true }, { type: "input", attrs: ["readonly"], label: "额度状态", names: "quotaStatus", name: "quotaStatusDesc", }, { type: "input", attrs: ["readonly"], label: "调整审核状态", names: "approveStatus", name: "cyclicalDesc" // name: "approveStatusDesc" }, { type: "input", attrs: ["readonly"], label: "额度生效日", name: "effectiveDate" }, { type: "input", attrs: ["readonly"], label: "额度失效日", name: "disEffectiveDate" } ]; export default options => { // 接口地址,required const api = "server/qryCustBaseQuotaInfo"; return new ApiModel({ api, formList, request(params) { return this.post(params); } }); };