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
| /*
| * @Author: lixiong
| * @Date: 2019-08-21 14:35:07
| * @Last Modified by: lixiong
| * @Last Modified time: 2020-01-09 17:10:08
| */
|
| /**
| * 提前结清预约申请信息详情
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| export default options => {
| // 接口地址,required
| const api = 'server/queryPaymentRegistrationApplyInfo'
| return new ApiModel({
| api,
| request(params) {
| return this.post(params)
| },
| computedResponse: item => {
| // 对返回的数组数据转换成字符串展示
| let {
| finishTypeArrayDesc,
| reductionTypeArrayDesc,
| sourcesTypeArrayDesc
| } = item
| item.finishTypeArray = finishTypeArrayDesc.join()
| item.reductionTypeArray = reductionTypeArrayDesc.join()
| item.sourcesTypeArray = sourcesTypeArrayDesc.join()
| return { ...item }
| }
| })
| }
|
|