Newer
Older
Nanping_sponge_JXKH / src / api / ManagingPerformance.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 海绵绩效考个
import request from '@/utils/request';
// 获取列表
export function performanceUserId(data) {
  return request({
    url: `/sponge/performanceExamineInfo/list`,
    method: 'post',
    data: data,
  });
}
//新增
export function performanceAdd(data) {
  return request({
    url: `/sponge/performanceExamineInfo/add`,
    method: 'post',
    data: data,
  });
}

//删除
export function performanceDelete(ids) {
  return request({
    url: `/sponge/performanceExamineInfo/${ids}`,
    method: 'delete',
  });
}

// 详情
export const performancedetails = id => {
  return request({
    url: `/sponge/performanceExamineInfo/${id}`,
    method: 'get',
  });
};

//修改
export const performanceEdit = data => {
  return request({
    url: `/sponge/performanceExamineInfo/edit`,
    method: 'put',
    data,
  });
};

//
export function performancepaging(query) {
  return request({
    url: `/sponge/performanceExamineInfo/page`,
    method: 'get',
    params: query,
  });
}

//获取文件列表
export function FileSystemList(query) {
  return request({
    url: '/system/list',
    method: 'get',
    params: query,
  });
}