Newer
Older
KaiFengPC / src / api / spongePerformance / ManagingPerformance.js
@zhangdeliang zhangdeliang on 23 May 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,
  });
}