bugfixed
This commit is contained in:
10
src/api/admin/enterprise/account.js
Normal file
10
src/api/admin/enterprise/account.js
Normal file
@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 企业信息修改
|
||||
export const updateEnterprise = (data) => {
|
||||
return request({
|
||||
url: "/app/updateEnterprise",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
@ -79,3 +79,4 @@ export const deleteTechnologyDemand = (ids) => {
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -8,3 +8,12 @@ export const updateExpert = (data) => {
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: "/app/expert/info",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
@ -49,4 +49,35 @@ export const insertDemand = (data) => {
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
};
|
||||
// 专家已合作企业列表
|
||||
export const getExpertCooperateEnterpriseList = (params) => {
|
||||
return request({
|
||||
url: `/app/expert/getExpertCooperateEnterpriseList`,
|
||||
method: "GET",
|
||||
params
|
||||
});
|
||||
};
|
||||
// 专家新增已合作企业
|
||||
export const insertExpertCooperateEnterprise = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/insertExpertCooperateEnterprise`,
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
};
|
||||
// 专家修改已合作企业
|
||||
export const updateExpertCooperateEnterprise = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/updateExpertCooperateEnterprise`,
|
||||
method: "PUT",
|
||||
data
|
||||
});
|
||||
};
|
||||
// 删除已合作
|
||||
export const deleteExpertCooperateEnterpriseByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/deleteExpertCooperateEnterpriseByIds/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
37
src/api/admin/expert/patent.js
Normal file
37
src/api/admin/expert/patent.js
Normal file
@ -0,0 +1,37 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 专家专利列表
|
||||
export const expertPatentList = (id, 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
|
||||
}
|
||||
});
|
||||
};
|
||||
// 专家修改专利
|
||||
export const updateCasPatent = (data) => {
|
||||
return request({
|
||||
url: `/app/expert/updateCasPatent`,
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除专利
|
||||
export const deleteCasPatentByIds = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/deleteCasPatentByIds/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
51
src/api/admin/expert/technology.js
Normal file
51
src/api/admin/expert/technology.js
Normal file
@ -0,0 +1,51 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 专家论文列表
|
||||
export const paperList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getPaperList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家新增论文
|
||||
export const insertCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/insertCasPaper",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
// 专家修改论文
|
||||
export const updateCasPaper = (data) => {
|
||||
return request({
|
||||
url: "/app/expert/updateCasPaper",
|
||||
method: "PUT",
|
||||
data,
|
||||
});
|
||||
};
|
||||
// 专家删除论文
|
||||
export const deleteCasPaper = (ids) => {
|
||||
return request({
|
||||
url: `/app/expert/paper/${ids}`,
|
||||
method: "DELETE",
|
||||
});
|
||||
};
|
||||
|
||||
// 专家未认领专利列表
|
||||
export const getNoBindPatentList = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/getNoBindPatentList",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
// 专家认领专利
|
||||
export const bindPatent = (params) => {
|
||||
return request({
|
||||
url: "/app/expert/bindPatent",
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user