Newer
Older
Nanping_sponge_JXKH / src / api / management / targetManage.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 海绵绩效考个
import request from "@/utils/request";

// 获取表格列表
export function getProjectBuildTargetConfigPage(params) {
  return request({
    url: "/sponge/projectBuildTargetConfig/page",
    method: "get",
    params
  });
}

// 获取项目选择列表
export function getProjectInfoList(data) {
  return request({
    url: "/business/projectInfo/list",
    method: "post",
    data
  });
}

// 新增项目工程目标
export function projectBuildTargetConfigAdd(data) {
  return request({
    url: "/sponge/projectBuildTargetConfig/add",
    method: "post",
    data
  });
}

// 修改项目工程目标
export function projectBuildTargetConfigEdit(data) {
  return request({
    url: "/sponge/projectBuildTargetConfig/edit",
    method: "put",
    data
  });
}

// 获取详情信息
export function getProjectBuildTargetConfigInfo(id) {
  return request({
    url: `/sponge/projectBuildTargetConfig/${id}`,
    method: "get"
  });
}

// 删除项目工程目标
export function projectBuildTargetConfigInfoDel(ids) {
  return request({
    url: `/sponge/projectBuildTargetConfig/${ids}`,
    method: "delete"
  });
}