Newer
Older
Nanping_sponge_JXKH / src / api / financialperformance.js
@liyingjing liyingjing on 25 Oct 2023 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,
  });
}