/* * @Author: Pengjiantian * @Date: 2020-06-30 15:30:17 * @Last Modified by: Pengjiantian * @Last Modified time: 2020-08-10 17:05:17 */ /** * 资金单元申请列表查询 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'input', label: '资金单元编码', value: '', name: 'fundUnitNo' }, { type: 'input', label: '资金单元名称', value: '', name: 'fundUnitName' }, { type: 'select', label: '当前阶段', value: [], name: 'phaseNoArray', options: [], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '资金单元状态', value: '01', name: 'fundUnitStatus', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] } ] // 表格信息 const tableList = [ { label: '资金单元编码', prop: 'fundUnitNo' }, { label: '资金单元名称', prop: 'fundUnitName' }, { label: '当前阶段', prop: 'phaseName' }, { label: '资金单元状态', prop: 'fundUnitStatusDesc' }, { label: '生效日期', prop: 'validDate' }, { label: '失效日期', prop: 'invalidDate' }, { label: '上次修改时间', prop: 'updateDate' }, { label: '上次修改用户', prop: 'updateUserName' }, { label: '当前申请人', prop: 'applyUserName' }, { prop: 'action', label: '操作管理', attrs: { fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/queryFundUnitManageList' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }