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
| /*
| * @Author: Pengjiantian
| * @Date: 2020-07-01 09:50:06
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-07-03 10:56:00
| */
|
| import ApiModel from '@/utils/core/apiModel'
| // 资金单元-贷款机构清单
| const formList = [
| {
| type: 'select',
| label: '账户类型',
| value: '',
| name: 'accountTypeDesc',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags'],
| rules: [{ required: true }]
| },
| {
| type: 'input',
| label: '账户名称',
| value: '',
| name: 'accountName',
| rules: [{ required: true }]
| },
| {
| type: 'input',
| label: '账户号码',
| value: '',
| name: 'accountNo',
| rules: [{ required: true }]
| }
| ]
|
| const tableList = [
| {
| label: '账户类型',
| prop: 'accountTypeDesc',
| attrs: { width: 'auto' }
| },
| {
| label: '账户名称',
| prop: 'accountName',
| attrs: { width: 'auto' }
| },
| {
| label: '账户号码',
| prop: 'accountNo',
| attrs: { width: 'auto' }
| },
| {
| prop: 'action',
| label: '操作管理',
| attrs: {
| // width: '260px',
| fixed: 'right'
| },
| type: 'buttons'
| }
| ]
| export default options => {
| // 接口地址: required
| const api = 'server/queryLoanrepaymentsAccountList'
| return new ApiModel({
| api,
| formList,
| tableList,
| request(body) {
| return this.post(body)
| }
| })
| }
|
|