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
| /*
| * @Author: Pengjiantian
| * @Date: 2020-06-15 16:56:56
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-07-13 18:03:35
| */
|
| import ApiModel from '@/utils/core/apiModel'
| // 贷款机构-还款支持-银行列表查询
| const formList = [
| {
| type: 'select',
| label: '银行编号',
| value: '',
| name: 'bankNo',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags'],
| rules: [{ required: true }]
| },
| {
| type: 'input',
| label: '银行名称',
| value: '',
| name: 'bankName',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '单笔限额',
| value: '',
| name: 'singleLimit',
| isMoney: true,
| rules: [{ required: true }]
| }
| ]
|
| const tableList = [
| {
| label: '银行编号',
| prop: 'bankNo',
| attrs: { width: 'auto' }
| },
| {
| label: '银行名称',
| prop: 'bankName',
| attrs: { width: 'auto' }
| },
| {
| label: '单笔限额',
| prop: 'singleLimit',
| attrs: { width: 'auto' },
| isMoney: true
| },
| {
| prop: 'action',
| label: '操作管理',
| attrs: {
| // width: '260px',
| fixed: 'right'
| },
| type: 'buttons'
| }
| ]
| export default options => {
| // 接口地址: required
| const api = 'server/loanOrgApplyRepaymentBankList'
| return new ApiModel({
| api,
| formList,
| tableList,
| request(body) {
| return this.post(body)
| }
| })
| }
|
|