/* * @Author: Pengjiantian * @Date: 2020-06-10 16:49:52 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-06-10 16:54:11 */ /** * 流程模型节点查询(公用方法)--- 流程阶段 */ import ApiModel from '@/utils/core/apiModel' export default options => { // 接口地址: required const api = 'server/queryModelNodeList' return new ApiModel({ api, request(body) { return this.post(body) }, computedItem(item) { const { phaseNo, phaseName } = item return { label: phaseName, value: phaseNo } } }) }