Newer
Older
KaiFengPC / src / api / project / imgwh.js
@zhangdeliang zhangdeliang on 12 Jun 952 bytes update
import request from '@/utils/request';
// 获取项目列列表
export function getInfo(params) {
  return request({
    url: `/business/projectInfoNew/selectProjectImageList`,
    method: 'get',
    params,
  });
}
export const projectInfoAdd = data => {
  return request({
    url: `/business/projectProbablyBudget/add`,
    method: 'post',
    data,
  });
};
export const projectInfoEdit = data => {
  return request({
    url: `/business/projectProbablyBudget/edit`,
    method: 'put',
    data,
  });
};
export const projectInfoDelete = ids => {
  return request({
    url: `/business/projectProbablyBudget/${ids}`,
    method: 'delete',
  });
};
export const projectInfoGet = ids => {
  return request({
    url: `/business/projectProbablyBudget/${ids}`,
    method: 'get',
  });
};

export const saveProjectImageInfo = data => {
  return request({
    url: `/business/projectInfoNew/saveProjectImageInfo`,
    method: 'post',
    data,
  });
};