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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
| /*
| * @Author: Pengjiantian
| * @Date: 2020-06-10 15:33:22
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-07-09 15:09:53
| */
| /**
| * 产品映射配置列表列表查询
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| const formList = [
| {
| type: 'select',
| label: '项目名称',
| value: [],
| name: 'projectCodeArray',
| options: [],
| attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags']
| },
| {
| type: 'select',
| label: '资金方',
| value: '',
| name: 'orgIdArray',
| options: [],
| attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags']
| },
| {
| type: 'select',
| label: '状态',
| value: '',
| name: 'status',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags']
| }
| ]
|
| // 表格信息
| const tableList = [
| {
| label: '项目名称',
| prop: 'projectName'
| },
| {
| label: '产品',
| prop: 'productName'
| },
| {
| label: '维度名称',
| prop: 'productDimensionName'
| },
| {
| label: '资金方',
| prop: 'orgName'
| },
| {
| label: '还款方式编码',
| prop: 'paymentMethodCode'
| },
| {
| label: '还款方式名称',
| prop: 'paymentMethodName'
| },
| {
| label: '资方产品编码',
| prop: 'orgProductCode'
| },
| {
| label: '资方产品名称',
| prop: 'orgProductName'
| },
| {
| label: '期数',
| prop: 'period'
| },
|
| {
| label: '是否清分',
| prop: 'useClearingDesc'
| },
|
| {
| label: '融担清分费用类型',
| prop: 'guaranteeFeeClearingTypeDesc'
| },
| {
| label: '状态',
| prop: 'statusDesc'
| },
| {
| label: '备注',
| prop: 'remark',
| attrs: {
| width: 160,
| },
| },
| {
| prop: 'action',
| label: '操作管理',
| attrs: {
| fixed: 'right'
| },
| type: 'buttons'
| }
| ]
|
| export default options => {
| // 接口地址,required
| const api = 'server/selectLoanOrgProductList'
| return new ApiModel({
| api,
| formList,
| tableList,
| request(params) {
| return this.post(params)
| }
| })
| }
|
|