|  | @@ -0,0 +1,23 @@
 | 
	
		
			
				|  |  | +import { getAction,deleteAction,putAction,postAction} from '@/api/manage'
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +//查询近两年和未来两年的数据
 | 
	
		
			
				|  |  | +const scheduleGetListByTime = (params)=>getAction("/oa/cdSchedule/getListByTime",params);
 | 
	
		
			
				|  |  | +//根据id查询
 | 
	
		
			
				|  |  | +//params:{id:''}
 | 
	
		
			
				|  |  | +const scheduleQueryById = (params)=>getAction("/oa/cdSchedule/queryById",params);
 | 
	
		
			
				|  |  | +//新增
 | 
	
		
			
				|  |  | +const scheduleAdd= (params)=>postAction("/oa/cdSchedule/add",params);
 | 
	
		
			
				|  |  | +//查询上月我的计划数量 
 | 
	
		
			
				|  |  | +//params:
 | 
	
		
			
				|  |  | +//{
 | 
	
		
			
				|  |  | +//    createBy:'' ,人员账号(不传则查询全部人员)
 | 
	
		
			
				|  |  | +//    whereTimeType:'',时间类型(0无时间筛选1查询上月的)
 | 
	
		
			
				|  |  | +//}
 | 
	
		
			
				|  |  | +const scheduleGetLastMonth = (params)=>getAction("/oa/cdSchedule/getLastMonth",params);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +export {
 | 
	
		
			
				|  |  | +    scheduleGetListByTime,
 | 
	
		
			
				|  |  | +    scheduleQueryById,
 | 
	
		
			
				|  |  | +    scheduleAdd,
 | 
	
		
			
				|  |  | +    scheduleGetLastMonth
 | 
	
		
			
				|  |  | +}
 |