/* * @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 } } }) }