Newer
Older
Nanping_sponge_JXKH / src / api / imgwh.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 海绵绩效考个

import request from '@/utils/request'
// 获取项目列列表
export function getInfo(params) {
    return request({
        url: `/business/projectInfo/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 systemUpload = data => {
    return request({
        url: `/system/upload`,
        method: "post",
        data,
        headers: { "Content-Type": "multipart/form-data" }
    });
};

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