bugfix and performance improves

This commit is contained in:
quantulr
2023-08-11 17:29:21 +08:00
parent 2177189c34
commit 198b363997
23 changed files with 1383 additions and 1117 deletions

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