/* * @Author: Pengjiantian * @Date: 2020-07-14 17:26:45 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-07-14 17:31:58 */ /** * 获取子流程列表 */ import ApiModel from '@/utils/core/apiModel' export default options => { // 接口地址: required const api = 'server/selectSubFlow' return new ApiModel({ api, request(body) { return this.post(body) }, computedItem(item) { const { itemname, itemno } = item return { label: itemname, value: itemno } } }) }