1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
| /**
| * 额度信息表单
| */
|
| 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);
| }
| });
| };
|
|