YM
2024-05-20 6269e2718144c9ff760a00385d3552cebdd0ffe3
src/api/index.js
@@ -87,7 +87,7 @@
  return req1({
    url: "/person/source",
    method: "post",
    data: data
    params: data
  });
};
// 人物相关的 个人时空地图
@@ -95,7 +95,7 @@
  return req1({
    url: "/person/spaceTime",
    method: "post",
    data: data
    params: data
  });
};
@@ -104,7 +104,7 @@
  return req1({
    url: "/person/images",
    method: "post",
    data: data
    params: data
  });
};
// 医学人物知识库 个人事迹
@@ -112,13 +112,21 @@
  return req1({
    url: "/person/biog",
    method: "post",
    data: data
    params: data
  });
};
// 医学人物知识库 人物关系
export const getPersonRelationAtSchool = (data) => {
  return req1({
    url: "/person/personRelationAtSchool",
    method: "post",
    params: data
  });
};
// 医学人物知识库 人物关系
export const getNodeCount = (data) => {
  return req1({
    url: "/inheritMedical/nodeCount",
    method: "post",
    data: data
  });
@@ -129,7 +137,7 @@
  return req1({
    url: "/person/writings",
    method: "post",
    data: data
    params: data
  });
};
// 医学人物知识库 人物详情
@@ -137,14 +145,25 @@
  return req1({
    url: "/person/getPersonInfo",
    method: "post",
    data: Obj
    params: Obj
  });
};
export const getWebBasic = (Obj) => {
  return req1({
    url: "/person/webBasic",
    method: "post",
    params: Obj
  });
};
// 医学人物知识库 基础检索
export const getFuzzySearch = (requestData) => {
  return req1({
    url: "/person/fuzzySearch?keyword=" + requestData?.keyword,
    method: "post"
    url: "/person/fuzzySearch",
    method: "post",
    params: {
      keyword: requestData?.keyword
    }
  });
};
@@ -160,12 +179,8 @@
// 中国地域地谱检索人物
export const getRetrieval = (requestData) => {
  return req1({
    url: "/person/retrieval",
    url: "/person/retrieval?keyword=" + requestData?.keyword  + "&dynasty=" + requestData?.dynasty,
    method: "post",
    data: {
      keyword: requestData?.keyword || "",
      dynasty: requestData?.dynasty || ""
    }
  });
};
// 医学人物知识库
@@ -248,6 +263,14 @@
  });
};
export const searchSchoolPerson = (data) => {
  return req1({
    url: "/person/searchSchoolPerson",
    method: "post",
    params: data
  });
};
// 医事制度
// 数据统计
export const getDataStatistics = () => {
@@ -281,6 +304,14 @@
  });
};
export const getPersonDataOutput = (Obj) => {
  return req1({
    url: "/person/dataOutput",
    method: "post",
    params: Obj
  });
};
// -----------
// 中国医学人物知识库