- import request from "@/utils/request";
-
- // 获取表格列表
- export function getProjectBuildTargetConfigPage(params) {
- return request({
- url: "/sponge/projectBuildTargetConfig/page",
- method: "get",
- params
- });
- }
-
- // 获取项目选择列表
- export function getProjectInfoList(params) {
- return request({
- url: "/business/projectInfoNew/list",
- method: "get",
- params
- });
- }
-
- // 新增项目工程目标
- 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"
- });
- }
-