zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
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
/*
 * @Author: Pengjiantian
 * @Date: 2020-07-06 14:27:03
 * @Last Modified by: Pengjiantian
 * @Last Modified time: 2020-07-06 14:34:35
 */
 
/**
 * 业务通道编码
 */
 
import ApiModel from '@/utils/core/apiModel'
 
export default options => {
  // 接口地址: required
  const api = 'server/queryLoanChannelList'
 
  return new ApiModel({
    api,
    request(body) {
      return this.post(body)
    },
    computedItem(item) {
      const { channelName, channelCode, channelType } = item
      return {
        label: channelCode,
        value: channelCode,
        channelName,
        channelType
      }
    }
  })
}