This commit is contained in:
“zhuoda
2020-01-13 12:23:07 +08:00
parent ee6bd6782f
commit c9ef7d3b41
614 changed files with 266 additions and 372 deletions

View File

@@ -0,0 +1,19 @@
import { postAxios, getAxios } from '@/lib/http';
export const positionApi = {
// 分页查询所有岗位
getPositionListPage: data => {
return postAxios('/position/getListPage', data);
},
// 更新岗位
updatePosition: data => {
return postAxios('/position/update', data);
},
// 添加岗位
addPosition: data => {
return postAxios('/position/add', data);
},
// 根据ID删除岗位
deletePosition: id => {
return getAxios('/position/remove/' + id);
}
};