import { getAction, postAction, putAction,deleteAction } from '@/api/manage'

/* --------- 项目信息 --------- */
const RECORD = '/record'
//查询项目信息
const selectRecordList = data => postAction(`${RECORD}/selectRecordList`,data)

//查询项目信息分页
const selectRecordListPage =`${RECORD}/selectRecordListPage`

//根据id项目信息删除
const removeRecord =`${RECORD}/removeRecord`

const insertRecord = data => postAction(`${RECORD}/insertRecord`, data);
const updateRecord = data => putAction(`${RECORD}/updateRecord`, data);
export{
    selectRecordList,
    selectRecordListPage,
    removeRecord,
    insertRecord,
    updateRecord
}