Newer
Older
KaiFengPC / src / api / spongePerformance / financialperformance.js
@zhangdeliang zhangdeliang on 20 May 991 bytes 项目初始化
import request from '@/utils/request';
// 获取列表
export function publicSatisList(query) {
  return request({
    url: `/sponge/publicSatisfaction/list`,
    method: 'get',
    params: query,
  });
}

//新增
export function publicSatisAdd(data) {
  return request({
    url: `/sponge/publicSatisfaction/add`,
    method: 'post',
    data: data,
  });
}

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

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

//
export function publicSatispaging(query) {
  return request({
    url: `/sponge/publicSatisfaction/page`,
    method: 'get',
    params: query,
  });
}
//查询考核年份
export function performanceYear(query) {
  return request({
    url: `/sponge/performanceEvaluate/list_year`,
    method: 'get',
    params: query,
  });
}