fmt
This commit is contained in:
@ -62,7 +62,6 @@ export const getProductById = (params) => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 活动列表
|
||||
export const activitysList = (params) => {
|
||||
return request({
|
||||
@ -92,40 +91,32 @@ export const insertTechnologyDemand = (data) => {
|
||||
|
||||
// 获取订单列表
|
||||
export const casDealLogList = (params) => {
|
||||
return request(
|
||||
{
|
||||
url: '/business/casDealLog/list',
|
||||
method: 'GET',
|
||||
params
|
||||
}
|
||||
)
|
||||
}
|
||||
return request({
|
||||
url: "/business/casDealLog/list",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 根据id获取订单信息
|
||||
export const casDealLogDetail = (id) => {
|
||||
return request(
|
||||
{
|
||||
url: `/business/casDealLog/${id}`,
|
||||
method: 'GET',
|
||||
}
|
||||
)
|
||||
}
|
||||
return request({
|
||||
url: `/business/casDealLog/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
// 修改订单
|
||||
export const updateCasDealLog = (data) => {
|
||||
return request(
|
||||
{
|
||||
url: `/business/casDealLog`,
|
||||
method: 'PUT',
|
||||
data
|
||||
}
|
||||
)
|
||||
}
|
||||
return request({
|
||||
url: `/business/casDealLog`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 删除订单
|
||||
export const deleteCasDealLog = (ids) => {
|
||||
return request(
|
||||
{
|
||||
url: `/business/casDealLog/${ids}`,
|
||||
method: 'DELETE',
|
||||
}
|
||||
)
|
||||
}
|
||||
return request({
|
||||
url: `/business/casDealLog/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,9 +2,9 @@ import request from "@/utils/request";
|
||||
|
||||
// 企业信息修改
|
||||
export const updateEnterprise = (data) => {
|
||||
return request({
|
||||
url: "/app/updateEnterprise",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: "/app/updateEnterprise",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -79,4 +79,3 @@ export const deleteTechnologyDemand = (ids) => {
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -2,54 +2,50 @@ import request from "@/utils/request";
|
||||
|
||||
// 个人信息录入
|
||||
export const insertClientUser = (data) => {
|
||||
return request({
|
||||
url: "/app/insertClientUser",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/insertClientUser",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 专家活动列表
|
||||
export const activitysList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getActivitys",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/getActivitys",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 专家论文列表
|
||||
export const paperList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getPaperList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/getPaperList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家新增论文
|
||||
export const insertCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/insertCasPaper",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/insertCasPaper",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家修改论文
|
||||
export const updateCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/updateCasPaper",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/updateCasPaper",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除论文
|
||||
export const deleteCasPaper = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/paper/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/paper/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -9,11 +9,18 @@ export const updateExpert = (data) => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: "/app/expert/info",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export const insertClientUser = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/insertClientUser",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,42 +2,42 @@ import request from "@/utils/request";
|
||||
|
||||
// 专家成果列表
|
||||
export const expertAchievementList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/expertAchievementList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/expertAchievementList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 专家新增成果
|
||||
export const insertAchievement = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/insertExpertAchievement",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/insertExpertAchievement",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家成果详情
|
||||
export const expertAchievementInfo = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/expertAchievementInfo",
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/expertAchievementInfo",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家修改成果
|
||||
export const updateExpertAchievement = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/updateExpertAchievement",
|
||||
method: "PUT",
|
||||
data
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/updateExpertAchievement",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除成果
|
||||
export const deleteAchievementByIds = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/deleteAchievementByIds`,
|
||||
method: "DELETE",
|
||||
data
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/expert/deleteAchievementByIds`,
|
||||
method: "DELETE",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,36 +2,36 @@ import request from "@/utils/request";
|
||||
|
||||
// 专家专利列表
|
||||
export const expertPatentList = (id, params) => {
|
||||
return request({
|
||||
url: `/app/expert/patent/${id}`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/patent/${id}`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 专家新增专利
|
||||
export const insertCasPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/insertCasPatent`,
|
||||
method: "POST",
|
||||
data,
|
||||
params: {
|
||||
expertId: data.expertId
|
||||
}
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/insertCasPatent`,
|
||||
method: "POST",
|
||||
data,
|
||||
params: {
|
||||
expertId: data.expertId,
|
||||
},
|
||||
});
|
||||
};
|
||||
// 专家修改专利
|
||||
export const updateCasPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/updateCasPatent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/updateCasPatent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除专利
|
||||
export const deleteCasPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/deleteCasPatentByIds/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/expert/deleteCasPatentByIds/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,33 +2,33 @@ import request from "@/utils/request";
|
||||
|
||||
// 专家科研项目列表
|
||||
export const technologyProjectList = (params) => {
|
||||
return request({
|
||||
url: `/app/expert/technologyProjectList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/technologyProjectList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家新增科研项目
|
||||
export const insertTechnologyProject = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/insertTechnologyProject`,
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/insertTechnologyProject`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除科研项目
|
||||
export const deleteTechnologyProjectByIds = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/deleteTechnologyProjectByIds`,
|
||||
method: "DELETE",
|
||||
data
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/deleteTechnologyProjectByIds`,
|
||||
method: "DELETE",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家修改科研项目
|
||||
export const updateTechnologyProject = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/updateTechnologyProject`,
|
||||
method: "PUT",
|
||||
data
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/expert/updateTechnologyProject`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,50 +2,50 @@ import request from "@/utils/request";
|
||||
|
||||
// 专家论文列表
|
||||
export const paperList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getPaperList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/getPaperList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家新增论文
|
||||
export const insertCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/insertCasPaper",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/insertCasPaper",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
// 专家修改论文
|
||||
export const updateCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/updateCasPaper",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/updateCasPaper",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除论文
|
||||
export const deleteCasPaper = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/paper/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
return request({
|
||||
url: `/app/expert/paper/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
// 专家未认领专利列表
|
||||
export const getNoBindPatentList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getNoBindPatentList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/getNoBindPatentList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家认领专利
|
||||
export const bindPatent = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/bindPatent",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: "/app/expert/bindPatent",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
@ -3,17 +3,25 @@ import request from "@/utils/request";
|
||||
|
||||
/*获取实验室基本信息*/
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: "/app/laboratory/info",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/app/laboratory/info",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 实验室信息修改
|
||||
export const updateLaboratory = (data) => {
|
||||
return request({
|
||||
url: "/app/laboratory/updateLaboratory",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: "/app/laboratory/updateLaboratory",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const insertClientUser = (data) => {
|
||||
return request({
|
||||
url: "/app/laboratory/insertClientUser",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,17 +2,16 @@ import request from "@/utils/request";
|
||||
|
||||
// 实验室专利成果
|
||||
export const achievementList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/achievementList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/achievementList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
export const deleteAchievements = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deleteAchievements/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/laboratory/deleteAchievements/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -1,28 +1,38 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export const equipmentList = (params) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device/list`, method: "GET", params
|
||||
});
|
||||
return request({
|
||||
url: `/app/casLaboratory/device/list`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
export const insertEquipment = (data) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`, method: "POST", data
|
||||
});
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const updateEquipment = (data) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`, method: "PUT", data
|
||||
});
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const deleteEquipment = (ids) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`, method: "DELETE", data: {
|
||||
ids
|
||||
}
|
||||
});
|
||||
};export const getEquipment = (id) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device/info/${id}`, method: "GET",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/casLaboratory/device`,
|
||||
method: "DELETE",
|
||||
data: {
|
||||
ids,
|
||||
},
|
||||
});
|
||||
};
|
||||
export const getEquipment = (id) => {
|
||||
return request({
|
||||
url: `/app/casLaboratory/device/info/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,49 +2,46 @@ import request from "@/utils/request";
|
||||
|
||||
// 实验室专家列表
|
||||
export const expertList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/expertList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/expertList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 实验室取消专家绑定
|
||||
export const deleteBindExpert = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deleteBindExpert/${expertId}`,
|
||||
method: "PUT",
|
||||
params
|
||||
});
|
||||
export const deleteBindExpert = (expertId) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deleteBindExpert/${expertId}`,
|
||||
method: "PUT",
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteLabPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/laboratory/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,40 +2,38 @@ import request from "@/utils/request";
|
||||
|
||||
// 实验室专家列表
|
||||
export const paperList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/paperList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/paperList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 实验室新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deletePaper = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deletePaper/{ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/laboratory/deletePaper/{ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,39 +2,38 @@ import request from "@/utils/request";
|
||||
|
||||
// 实验室专利列表
|
||||
export const labPatentList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patentList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patentList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteLabPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/laboratory/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,39 +2,16 @@ import request from "@/utils/request";
|
||||
|
||||
// 列表
|
||||
export const technologyProjectList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/technologyProjectList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
};
|
||||
|
||||
// 实验室新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/laboratory/technologyProjectList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteTechnologyProject = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deleteTechnologyProject/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/laboratory/deleteTechnologyProject/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
@ -1,40 +1,14 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 实验室专利列表
|
||||
export const labPatentList = (params) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patentList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
};
|
||||
export const serviceDemandList = (params) =>
|
||||
request({
|
||||
url: `/app/laboratory/demandList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
|
||||
// 实验室新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/laboratory/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteLabPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/laboratory/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
export const serviceDemandInfo = (id) =>
|
||||
request({
|
||||
url: `/app/laboratory/demandInfo/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
|
||||
27
src/api/admin/research/account.js
Normal file
27
src/api/admin/research/account.js
Normal file
@ -0,0 +1,27 @@
|
||||
// 获取用户详细信息
|
||||
import request from "@/utils/request";
|
||||
|
||||
/*获取研究机构基本信息*/
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: "/app/research/info",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 研究机构信息修改
|
||||
export const updateResearch = (data) => {
|
||||
return request({
|
||||
url: "/app/research/updateResearch",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const insertClientUser = (data) => {
|
||||
return request({
|
||||
url: "/app/research/insertClientUser",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
17
src/api/admin/research/achievement.js
Normal file
17
src/api/admin/research/achievement.js
Normal file
@ -0,0 +1,17 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 实验室专利成果
|
||||
export const achievementList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/achievementList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteAchievements = (ids) => {
|
||||
return request({
|
||||
url: `/app/research/deleteAchievements/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
47
src/api/admin/research/expert.js
Normal file
47
src/api/admin/research/expert.js
Normal file
@ -0,0 +1,47 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 科研机构专家列表
|
||||
export const expertList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/expertList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 科研机构取消专家绑定
|
||||
export const deleteBindExpert = (expertId) => {
|
||||
return request({
|
||||
url: `/app/research/deleteBindExpert/${expertId}`,
|
||||
method: "PUT",
|
||||
});
|
||||
};
|
||||
|
||||
// 科研机构新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 科研机构修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteLabPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/research/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
33
src/api/admin/research/laboratory.js
Normal file
33
src/api/admin/research/laboratory.js
Normal file
@ -0,0 +1,33 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 科研机构实验室列表
|
||||
export const laboratoryList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/laboratoryList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
export const laboratoryDetail = (id) => {
|
||||
return request({
|
||||
url: `/app/research/laboratoryInfo/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
export const laboratoryEdit = (data) => {
|
||||
return request({
|
||||
url: `/app/research/updateLaboratory`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
// 研究机构解绑实验室
|
||||
export const delBindLaboratory = (id) => {
|
||||
return request({
|
||||
url: `/app/research/delBindLaboratory/${id}`,
|
||||
method: "PUT",
|
||||
});
|
||||
};
|
||||
39
src/api/admin/research/patent.js
Normal file
39
src/api/admin/research/patent.js
Normal file
@ -0,0 +1,39 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 科研机构专利列表
|
||||
export const researchPatentList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/patentList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 科研机构新增专利
|
||||
export const insertResearchPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 科研机构修改专利
|
||||
* @param data
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateResearchPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteResearchPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/research/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
17
src/api/admin/research/research-project.js
Normal file
17
src/api/admin/research/research-project.js
Normal file
@ -0,0 +1,17 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 列表
|
||||
export const technologyProjectList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/technologyProjectList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteTechnologyProject = (ids) => {
|
||||
return request({
|
||||
url: `/app/research/deleteTechnologyProject/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
13
src/api/admin/research/service-demand.js
Normal file
13
src/api/admin/research/service-demand.js
Normal file
@ -0,0 +1,13 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export const serviceDemandList = (params) =>
|
||||
request({
|
||||
url: `/app/research/demandList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
export const serviceDemandInfo = (id) =>
|
||||
request({
|
||||
url: `/app/research/demandInfo/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
Reference in New Issue
Block a user