/** * 额度信息表单 */ import ApiModel from "@/utils/core/apiModel"; // 表格信息 const formList = [ { type: "input", attrs: ["readonly"], label: "额度流水号", name: "serialNo" }, { type: "input", attrs: ["readonly"], label: "额度对象类型", names: "quotaObjectType", name: "quotaObjectTypeDesc" }, { type: "input", attrs: ["readonly"], label: "额度对象编号", name: "quotaObjectName" }, { type: "input", attrs: ["readonly"], label: "额度对象名称", name: "quotaProjectName" }, { type: "input", attrs: ["readonly"], label: "额度类型", names: "quotaControlType", name: "quotaControlTypeDesc" }, { type: "input", attrs: ["readonly"], label: "产品", names:"productId", name: "productName" }, { type: "input", attrs: ["readonly"], label: "城市", names: "city", name: "cityDesc", }, { type: "input", attrs: ["readonly"], label: "子公司", name: "subCompany" }, { 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: "residueTerm" // }, { type: "input", attrs: ["readonly"], label: "额度生效日", name: "effectiveDate" }, { type: "input", attrs: ["readonly"], label: "额度失效日", name: "disEffectiveDate" } ]; export default options => { // 接口地址,required const api = "server/quotaControlInfo"; return new ApiModel({ api, formList, request(params) { return this.post(params); } }); };