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
| /*
| * @Author: Pengjiantian
| * @Date: 2020-06-28 17:40:01
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-07-23 15:48:18
| */
|
| /**
| * 业务通道-基础信息
| */
|
| import ApiModel from '@/utils/core/apiModel'
| // 表单信息
| const formList = [
| {
| type: 'input',
| label: '业务通道编码',
| value: '',
| name: 'channelCode',
| rules: [{ required: true }]
| },
| {
| type: 'input',
| label: '业务通道名称',
| value: '',
| name: 'channelName',
| rules: [{ required: true }]
| },
| {
| type: 'select',
| label: '业务通道类型',
| value: '',
| name: 'channelType',
| descName: 'channelTypeDesc',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags'],
| rules: [{ required: true }]
| },
| {
| type: 'select',
| label: '业务通道状态',
| value: '',
| name: 'channelStatus',
| descName: 'channelStatusDesc',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags','disabled'],
| rules: [{ required: true }]
| },
| {
| type: 'date',
| label: '生效日期',
| name: 'effectiveDate',
| rules: [{ required: true }]
| },
| {
| type: 'date',
| label: '失效日期',
| name: 'diseffectiveDate',
| rules: [{ required: true }]
| },
| {
| type: 'input',
| label: '登记人',
| name: 'inputUserName',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '登记机构',
| name: 'inputOrgName',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '登记日期',
| name: 'inputDate',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '更新人',
| name: 'updateUserName',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '更新机构',
| name: 'updateOrgName',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '更新日期',
| name: 'updateDate',
| attrs: ['readonly']
| }
| ]
|
| export default options => {
| // 接口地址: required
| const api = 'server/queryLoanChannelBaseInfo'
| return new ApiModel({
| api,
| formList,
| request(body) {
| return this.post(body)
| }
| })
| }
|
|