formatted
This commit is contained in:
@ -32,7 +32,7 @@ export const getTechnologyDemandUpdateStatus = (params) =>
|
||||
});
|
||||
|
||||
export const updateDemandProcess = (
|
||||
data // 修改企业技术需求
|
||||
data, // 修改企业技术需求
|
||||
) =>
|
||||
request({
|
||||
url: "/app/broker/enterprise/updateDemandProcess",
|
||||
|
||||
@ -2,60 +2,60 @@ 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 activityInfo = (id) => {
|
||||
return request({
|
||||
url: "/app/expert/getActivityInfo",
|
||||
method: "GET",
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
return request({
|
||||
url: "/app/expert/getActivityInfo",
|
||||
method: "GET",
|
||||
params: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
// 专家论文列表
|
||||
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",
|
||||
});
|
||||
};
|
||||
|
||||
@ -2,28 +2,28 @@ import request from "@/utils/request";
|
||||
|
||||
// 科研机构专家列表
|
||||
export const expertList = (params) => {
|
||||
return request({
|
||||
url: `/app/research/expertList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/expertList`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 科研机构取消专家绑定
|
||||
export const deleteBindExpert = (expertId) => {
|
||||
return request({
|
||||
url: `/app/research/deleteBindExpert/${expertId}`,
|
||||
method: "PUT",
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/deleteBindExpert/${expertId}`,
|
||||
method: "PUT",
|
||||
});
|
||||
};
|
||||
|
||||
// 科研机构新增专利
|
||||
export const insertLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
@ -32,32 +32,31 @@ export const insertLabPatent = (data) => {
|
||||
* @return {*}
|
||||
*/
|
||||
export const updateLabPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/patent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const deleteLabPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/research/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/deletePatents/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室未绑定专家列表
|
||||
* @param params
|
||||
* @return {*}
|
||||
*/
|
||||
export const selectNotBindResearch = (params) => {
|
||||
return request({
|
||||
url: `/app/research/selectNotBindResearch`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/selectNotBindResearch`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
@ -66,24 +65,23 @@ export const selectNotBindResearch = (params) => {
|
||||
* @return {*}
|
||||
*/
|
||||
export const bindExpert = (expertId) => {
|
||||
return request({
|
||||
url: `/app/research/bindExpert/${expertId}`,
|
||||
method: "GET",
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/bindExpert/${expertId}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 实验室未绑定专家列表
|
||||
* @param params
|
||||
* @return {*}
|
||||
*/
|
||||
export const selectLabNotBindResearch = (params) => {
|
||||
return request({
|
||||
url: `/app/research/selectLabNotBindResearch`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: `/app/research/selectLabNotBindResearch`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
@ -92,8 +90,8 @@ export const selectLabNotBindResearch = (params) => {
|
||||
* @return {*}
|
||||
*/
|
||||
export const bindLaboratory = (laboratoryId) => {
|
||||
return request({
|
||||
url: `/app/research/bindLaboratory/${laboratoryId}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
return request({
|
||||
url: `/app/research/bindLaboratory/${laboratoryId}`,
|
||||
method: "GET",
|
||||
});
|
||||
};
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export const listNews = (params) => request({
|
||||
export const listNews = (params) =>
|
||||
request({
|
||||
url: "/app/news/list",
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
params,
|
||||
});
|
||||
|
||||
export const getNewsInfo = (id) => request({
|
||||
export const getNewsInfo = (id) =>
|
||||
request({
|
||||
url: `/app/news/${id}`,
|
||||
method: "GET",
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user