/* * @Author: Pengjiantian * @Date: 2020-02-28 14:50:28 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-03-03 17:31:17 */ /** * 管控额度修改查询 */ import ApiModel from "@/utils/core/apiModel"; // 表单信息 const formList = [ { type: "input", label: "客户编号", value: "", name: "controlSerialNo", attrs: ["readonly"] }, { type: "input", label: "客户名称", value: "", name: "quotaObjectTypeDesc", attrs: ["readonly"] }, { type: "input", label: "证件类型", value: "", name: "quotaObjectName", attrs: ["readonly"] }, { type: "input", label: "证件号码", value: "", name: "quotaProjectName", attrs: ["readonly"] }, { type: "input", label: "额度类型", value: "", name: "quotaControlTypeDesc", attrs: ["readonly"] }, { type: "input", label: "产品", value: "", name: "productName", attrs: ["readonly"] }, { type: "input", label: "周期性", value: "", name: "city", name: "cityDesc", attrs: ["readonly"] }, { type: "input", label: "修改原因", value: "", name: "modifReasom", }, { type: "input", label: "修改前额度状态", value: "", name: "beforeStatusDesc", attrs: ["readonly"] }, { type: "input", label: "修改后额度状态", value: "", name: "updateStatusDesc", attrs: ["readonly"] }, { type: "input", label: "修改前现金授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "修改后现金授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "修改前消费授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "修改后消费授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "修改前专项授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "修改后专项授信额度", value: "", name: "updateStatusDesc", attrs: ["readonly"], isMoney: true }, { type: "input", label: "审批结果", value: "", name: "updateStatusDesc", rules: [{required: true}] }, { type: "input", label: "审批意见", value: "", name: "updateStatusDesc", // rules: [{required: true}] }, ]; export default options => { // 接口地址,required const api = "server/qryCustProductQuotaInfo"; return new ApiModel({ api, formList, request(params) { return this.post(params); } }); };