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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
| /**
| * 批量名单导入列表
| */
|
| import ApiModel from '@/utils/core/apiModel';
|
| // 表单信息
| const formList = [
| {
| type: 'input',
| label: '贷款申请编号',
| value: '',
| name: 'invoiceSerialno',
| },
| {
| type: 'select',
| label: '客群',
| value: [],
| name: 'phaseNoArray',
| options: [],
| attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'],
| },
| {
| type: 'select',
| label: '名单类型',
| value: [],
| name: 'phaseNoArray',
| options: [],
| attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'],
| },
| {
| type: 'select',
| label: '报单一级内部机构',
| value: [],
| name: 'phaseNoArray',
| options: [],
| attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'],
| }
| ];
|
| // 表格信息
| const tableList = [
| {
| label: '贷款申请编号',
| prop: 'invoiceSerialno',
| },
| {
| label: '客群',
| prop: 'invoiceTheMes',
| },
| {
| label: '名单类型',
| prop: 'invoiceTypeDesc',
| },
| {
| label: '客户姓名',
| prop: 'invoiceApplyAmount',
| },
| {
| label: '产品名称',
| prop: 'invoiceBuyer',
| },
| {
| label: '产品维护名称',
| prop: 'invoiceSeller',
| },
| {
| label: '放款日期',
| prop: 'invoiceSeller',
| },
| {
| label: '贷款金额',
| prop: 'invoiceSeller',
| },
| {
| label: '还款方式',
| prop: 'invoiceSeller',
| },
| {
| label: '月利率',
| prop: 'invoiceSeller',
| },
| {
| label: '逾期天数',
| prop: 'invoiceSeller',
| }
| ];
|
| export default (options) => {
| // 接口地址,required
| const api = 'server/acceptDiscountInvoiceList';
| return new ApiModel({
| api,
| formList,
| tableList,
| request(params) {
| return this.post(params);
| },
| });
| };
|
|