| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import request from '@/utils/request'
- //查询员工异动列表
- export function staffChangeList(query) {
- return request({
- url: '/system/OwnStaffChange/staffChange',
- method: 'get',
- params: query
- })
- }
- //新增人事异动列表
- export function addStaffChange(data) {
- return request({
- url: '/system/OwnStaffChange',
- method: 'post',
- data: data
- })
- }
- //查询人员异动详情
- export function getStaffChangeDetail(spcId) {
- return request({
- url: '/system/OwnStaffChange/' + spcId,
- method: 'get'
- })
- }
- // 修改人员异动
- export function updateStaffChange(data) {
- return request({
- url: '/system/OwnStaffChange',
- method: 'put',
- data: data
- })
- }
- // 删除人员异动
- export function delStaffChange(spcId) {
- const data = {
- spcId
- }
- return request({
- url: '/system/OwnStaffChange/changeStaffState',
- method: 'put',
- data: data
- })
- }
- //提交审批
- export function approvalStaffChange(data) {
- return request({
- url: '/system/OwnStaffChange/submitApproval',
- method: 'put',
- data: data
- })
- }
|