/** * 贴息流水查询项目名称 */ import ApiModel from '@/utils/core/apiModel' export default options => { // 接口地址: required const api = 'server/queryProjectList' return new ApiModel({ api, request(body) { return this.post(body) }, computedItem(item) { let { projectname, projectid } = item return { label: projectname, value: options && item[options] ? item[options] : projectid } } }) }