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
| /**
| * 查询资金单元列表接口
| */
|
| import ApiModel from '@/utils/core/apiModel'
| import { getEnvInfo } from '@/utils/utils'
|
| export default options => {
| // 接口地址: required
| const api = 'server/queryFundunitSimpleList'
| const { fsAdmApiPrefix } = getEnvInfo()
|
| return new ApiModel({
| baseConf: {
| // 调用贷前接口
| apiPrefix: fsAdmApiPrefix
| },
| api,
| request(body) {
| return this.post(body)
| },
| computedItem(item) {
| let { fundUnitNo, fundUnitName } = item
| return { label: fundUnitName, value: fundUnitNo }
| }
| })
| }
|
|
|