This commit is contained in:
quantulr
2024-05-30 17:28:27 +08:00
parent c5d6f52d88
commit ffed04a7ed
52 changed files with 3734 additions and 3720 deletions

View File

@ -2,26 +2,26 @@ import request from "@/utils/request";
// 获取成果审核列表
export const expertAchievementList = (params) =>
request({
url: "/business/dataReview/expertAchievementList",
method: "get",
params,
});
request({
url: "/business/dataReview/expertAchievementList",
method: "get",
params,
});
// 获取成果详情
export const expertAchievementInfo = (params) =>
request({
url: "/business/dataReview/expertAchievementInfo",
method: "get",
params,
});
request({
url: "/business/dataReview/expertAchievementInfo",
method: "get",
params,
});
// 修改成果
export const updateExpertAchievement = (data) =>
request({
url: "/business/dataReview/updateExpertAchievement",
method: "put",
data,
});
request({
url: "/business/dataReview/updateExpertAchievement",
method: "put",
data,
});
/**
* 批量审核成果
@ -30,20 +30,20 @@ export const updateExpertAchievement = (data) =>
* @returns {*}
*/
export const batchAchievement = (ids, status) =>
request({
url: `/business/dataReview/batchAchievement/${status}`,
method: "put",
data: {
ids,
},
});
request({
url: `/business/dataReview/batchAchievement/${status}`,
method: "put",
data: {
ids,
},
});
// 批量删除成果
export const deleteAchievementByIds = (ids) =>
request({
url: `/business/dataReview/deleteAchievementByIds`,
method: "DELETE",
data: {
ids,
},
});
request({
url: `/business/dataReview/deleteAchievementByIds`,
method: "DELETE",
data: {
ids,
},
});

View File

@ -2,35 +2,35 @@ import request from "@/utils/request";
// 获取企业产品审核列表
export const enterpriseProductApprovalList = (params) =>
request({
url: "/business/dataReview/enterpriseProductList",
method: "get",
params,
});
request({
url: "/business/dataReview/enterpriseProductList",
method: "get",
params,
});
// 获取企业产品审核详情
export const getProductApprovalInfo = (id) =>
request({
url: `/business/dataReview/getProductInfo/${id}`,
method: "get",
});
request({
url: `/business/dataReview/getProductInfo/${id}`,
method: "get",
});
// 修改企业产品审核状态
export const updateEnterpriseApprovalProduct = (data) =>
request({
url: `/business/dataReview/updateEnterpriseProduct`,
method: "post",
data,
});
request({
url: `/business/dataReview/updateEnterpriseProduct`,
method: "post",
data,
});
// 批量审核企业产品
export const batchEnterpriseProduct = (ids, status) =>
request({
url: `/business/dataReview/batchEnterpriseProduct/${ids}/${status}`,
method: "PUT",
});
request({
url: `/business/dataReview/batchEnterpriseProduct/${ids}/${status}`,
method: "PUT",
});
// 批量删除企业产品
export const deleteEnterpriseProduct = (ids) =>
request({
url: `/business/dataReview/deleteEnterpriseProduct/${ids}`,
method: "DELETE",
});
request({
url: `/business/dataReview/deleteEnterpriseProduct/${ids}`,
method: "DELETE",
});

View File

@ -30,7 +30,7 @@ export const deleteCasDemand = (ids) =>
});
// 批量审核企业服务需求
export const batchCasDemand = (ids,status) =>
export const batchCasDemand = (ids, status) =>
request({
url: `/business/dataReview/batchCasDemand/${ids}/${status}`,
method: "PUT",

View File

@ -2,25 +2,25 @@ import request from "@/utils/request";
// 修改企业技术需求审核
export const updateTechnologyDemand = (data) =>
request({
url: "/business/dataReview/updateTechnologyDemand",
method: "POST",
data,
});
request({
url: "/business/dataReview/updateTechnologyDemand",
method: "POST",
data,
});
// 批量审核企业技术需求
export const batchTechnologyDemand = (ids, status) =>
request({
url: `/business/dataReview/batchTechnologyDemand/${ids}/${status}`,
method: "PUT",
});
request({
url: `/business/dataReview/batchTechnologyDemand/${ids}/${status}`,
method: "PUT",
});
// 批量删除企业技术需求
export const deleteTechnologyDemand = (ids) =>
request({
url: `/business/dataReview/deleteTechnologyDemand/${ids}`,
method: "DELETE",
});
request({
url: `/business/dataReview/deleteTechnologyDemand/${ids}`,
method: "DELETE",
});
/**
* 企业技术需求指派经纪人
@ -30,11 +30,11 @@ export const deleteTechnologyDemand = (ids) =>
* @return {*}
*/
export const dataReviewAppointBroker = (
demandId, // 企业技术需求id
brokerId, // 经纪人id
brokerName // 经纪人姓名 // 获取企业技术需求详情
demandId, // 企业技术需求id
brokerId, // 经纪人id
brokerName // 经纪人姓名 // 获取企业技术需求详情
) =>
request({
url: `/business/dataReview/appointBroker/${demandId}/${brokerId}/${brokerName}`,
method: "POST",
});
request({
url: `/business/dataReview/appointBroker/${demandId}/${brokerId}/${brokerName}`,
method: "POST",
});