bugfix and performance improvements
This commit is contained in:
@ -24,3 +24,30 @@ export const deleteAchievements = (ids) => {
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室成果详情
|
||||
export const achievementInfo = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/achievementInfo`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室成果新增
|
||||
export const insertAchievement = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/insertAchievement`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室成果修改
|
||||
export const updateAchievement = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/updateAchievement`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -7,6 +7,7 @@ export function getAllCount() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布专家信息
|
||||
export function getExpert() {
|
||||
return request({
|
||||
@ -14,6 +15,7 @@ export function getExpert() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布实验室信息
|
||||
export function laboratory() {
|
||||
return request({
|
||||
@ -62,6 +64,7 @@ export function industry() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端搜索
|
||||
export function search(params) {
|
||||
return request({
|
||||
@ -70,6 +73,7 @@ export function search(params) {
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端专利搜索结果详情
|
||||
export function searchPatentDetail(id) {
|
||||
return request({
|
||||
@ -77,6 +81,7 @@ export function searchPatentDetail(id) {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端企业搜索结果详情
|
||||
export function searchEnterpriseDetail(id) {
|
||||
return request({
|
||||
@ -84,6 +89,7 @@ export function searchEnterpriseDetail(id) {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端成果搜索结果详情
|
||||
export function searchAchievementDetail(id) {
|
||||
return request({
|
||||
@ -91,6 +97,14 @@ export function searchAchievementDetail(id) {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
export function searchProductDetail(id) {
|
||||
return request({
|
||||
url: `/search/enterpriseProduct/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端实验室搜索结果详情
|
||||
export function searchLaboratoryDetail(id) {
|
||||
return request({
|
||||
@ -98,6 +112,7 @@ export function searchLaboratoryDetail(id) {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端专家搜索结果详情
|
||||
export function searchExpertDetail(id) {
|
||||
return request({
|
||||
@ -105,6 +120,7 @@ export function searchExpertDetail(id) {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 客户端服务需求搜索结果详情
|
||||
export function searchServiceDemandDetail(id) {
|
||||
return request({
|
||||
@ -128,6 +144,7 @@ export function countExpertByProvince() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[市]专家分布
|
||||
export function countExpertByCity(provinceCode) {
|
||||
return request({
|
||||
@ -138,6 +155,7 @@ export function countExpertByCity(provinceCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[县]专家分布
|
||||
export function countExpertByArea(cityCode) {
|
||||
return request({
|
||||
@ -148,6 +166,7 @@ export function countExpertByArea(cityCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[省]企业分布
|
||||
export function countEnterpriseByProvince() {
|
||||
return request({
|
||||
@ -155,6 +174,7 @@ export function countEnterpriseByProvince() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[市]企业分布
|
||||
export function countEnterpriseByCity(provinceCode) {
|
||||
return request({
|
||||
@ -165,6 +185,7 @@ export function countEnterpriseByCity(provinceCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[县]企业分布
|
||||
export function countEnterpriseByArea(cityCode) {
|
||||
return request({
|
||||
@ -175,6 +196,7 @@ export function countEnterpriseByArea(cityCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[省]需求分布
|
||||
export function countDemandByProvince() {
|
||||
return request({
|
||||
@ -182,6 +204,7 @@ export function countDemandByProvince() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[市]需求分布
|
||||
export function countDemandByCity(provinceCode) {
|
||||
return request({
|
||||
@ -192,6 +215,7 @@ export function countDemandByCity(provinceCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[县]需求分布
|
||||
export function countDemandByArea(cityCode) {
|
||||
return request({
|
||||
@ -202,6 +226,7 @@ export function countDemandByArea(cityCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[省]成果分布
|
||||
export function countAchievementByProvince() {
|
||||
return request({
|
||||
@ -209,6 +234,7 @@ export function countAchievementByProvince() {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[市]成果分布
|
||||
export function countAchievementByCity(provinceCode) {
|
||||
return request({
|
||||
@ -219,6 +245,7 @@ export function countAchievementByCity(provinceCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[县]成果分布
|
||||
export function countAchievementByArea(cityCode) {
|
||||
return request({
|
||||
@ -229,6 +256,7 @@ export function countAchievementByArea(cityCode) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取尾部导航
|
||||
export function getCasNavigation() {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user