/* * @Author: Pengjiantian * @Date: 2020-06-28 14:20:39 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-07-09 15:06:32 */ import ApiModel from '@/utils/core/apiModel' // 贷款机构-功能约束子流程定义-列表查询 const formList = [ { type: 'input', label: '执行顺序', value: '', name: 'sequence', attrs: ['readonly'] }, { type: 'select', label: '子流程名称', value: '', name: 'subFlowNameDesc', // descName: 'subFlowNameDesc', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'], rules: [{ required: true }] }, { type: 'input', label: '服务编码', value: '', name: 'serviceCode' // rules: [{ required: true }] } ] const tableList = [ { label: '执行顺序', prop: 'sequence', attrs: { width: 'auto' } }, { label: '子流程名称', prop: 'subFlowNameDesc' }, { label: '服务编码', prop: 'serviceCode', attrs: { width: 'auto' } }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址: required const api = 'server/fallBackOrgSubFlowList' return new ApiModel({ api, formList, tableList, request(body) { return this.post(body) } }) }