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
| /*
| * @Author: Pengjiantian
| * @Date: 2020-06-29 16:30:12
| * @Last Modified by: Pengjiantian
| * @Last Modified time: 2020-06-29 16:30:12
| */
|
| import ApiModel from '@/utils/core/apiModel'
| // 贷款机构-审批提交
| const formList = [
| {
| type: 'select',
| label: '审批结果',
| name: 'approveCode',
| value: '',
| options: [],
| attrs: ['filterable', 'clearable', 'collapse-tags'],
| rules: [{ required: true }]
| },
| {
| type: 'textarea',
| label: '审批意见',
| name: 'approveOpinion',
| style: {
| height: '360px'
| },
| rules: [{ required: true }, { maxLength: 3000 }]
| }
| ]
|
| export default options => {
| // 接口地址: required
| const api = 'server/loanChannelApproveCommit'
|
| return new ApiModel({
| api,
| formList,
| request(body) {
| return this.post(body)
| }
| })
| }
|
|