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
| /*
| * @Author: lixiong
| * @Date: 2019-08-21 14:35:07
| * @Last Modified by: lixiong
| * @Last Modified time: 2019-11-21 10:34:05
| */
|
| /**
| * 转人工退款确认
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| // 表单信息
| const formList = [
| {
| type: 'input',
| label: '退款方式',
| value: '',
| name: 'refundTypeDesc',
| attrs: ['readonly']
| },
| {
| type: 'select',
| label: '线下退款账户类型',
| value: '',
| name: 'accountType',
| rules: ['required']
| },
| {
| type: 'input',
| label: '线下退款账户号码',
| value: '',
| name: 'accountNo',
| attrs: ['readonly']
| },
| {
| type: 'input',
| label: '线下退款账户名称',
| value: '',
| name: 'name',
| attrs: ['readonly']
| }
| ]
|
| export default options => {
| // 接口地址: required
| const api = 'server/editRefundType'
|
| return new ApiModel({
| api,
| formList,
| request(body) {
| return this.post(body)
| }
| })
| }
|
|