1
YM
2024-07-17 d5f572496c5fb12fec2fe346b847bf58331299c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
import req from "@/utils/request/req1.js";
import qs from "querystring";
import req1, { baseUrl } from "@/utils/request/req1";
// 注册登录
export const getaddLogin = (Obj) => {
  return req1({
    url: "/account/register",
    method: "post",
    data: Obj
  });
};
 
// 验证码   /account/verifyCode
export const getverifyCode = (req) => {
  return req1({
    url: "/account/verifyCode",
    method: "post",
    data: req,
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
 
// login 登录
export const getLogin = (req) => {
  return req1({
    url: "/account/verification",
    method: "post",
    data: req
  });
};
// 获取用户信息
export const getUserInfo = () => {
  return req1({
    url: "/account/getUserInfo",
    method: "post"
  });
};
 
// 重置密码
export const getRestPassword = (Obj) => {
  return req1({
    url: "/account/resetPassword",
    method: "post",
    data: Obj
  });
};
 
// 退出登录
export const getlogout = () => {
  return req1({
    url: "/account/logout",
    method: "post"
  });
};
 
// 修改密码
export const getchangePassword = (obj) => {
  return req1({
    url: "/account/changePassword",
    method: "post",
    data: obj
  });
};
 
//
// 人物相关接口的数据输出
export const getdataOutput = () => {
  return req1({
    url: "/person/dataOutput",
    method: "post"
  });
};
 
// 人物相关的 热门搜索
export const getHotSearch = () => {
  return req1({
    url: "/person/hotSearch",
    method: "post"
  });
};
// 人物相关的 来源
export const getSource = (data) => {
  return req1({
    url: "/person/source",
    method: "post",
    params: data
  });
};
// 人物相关的 个人时空地图
export const getSpaceTime = (data) => {
  return req1({
    url: "/person/spaceTime",
    method: "post",
    params: data
  });
};
 
// 医学人物知识库的相关图表
export const getPersonImages = (data) => {
  return req1({
    url: "/person/images",
    method: "post",
    params: data
  });
};
// 医学人物知识库 个人事迹
export const getPersonBiog = (data) => {
  return req1({
    url: "/person/biog",
    method: "post",
    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
  });
};
 
// 医学人物知识库 著述
export const getPersonWritings = (data) => {
  return req1({
    url: "/person/writings",
    method: "post",
    params: data
  });
};
// 医学人物知识库 人物详情
export const getPersonInfo = (Obj) => {
  return req1({
    url: "/person/getPersonInfo",
    method: "post",
    params: Obj
  });
};
export const getWebBasic = (Obj) => {
  return req1({
    url: "/person/webBasic",
    method: "post",
    params: Obj
  });
};
 
// 医学人物知识库 基础检索
export const getFuzzySearch = (requestData) => {
  return req1({
    url: "/person/fuzzySearch",
    method: "post",
    params: {
      keyword: requestData?.keyword,
      personId: requestData?.personId,
    }
  });
};
 
// 医学人物知识库 高级检索
export const getAdvanceSearch = (Obj) => {
  return req1({
    url: "/person/advanceSearch",
    method: "post",
    data: Obj
  });
};
 
// 中国地域地谱检索人物
export const getRetrieval = (requestData) => {
  return req1({
    url:
      "/person/retrieval?page=" +
      requestData?.page +
      "&pageSize=" +
      requestData?.pageSize +
      "&keyword=" +
      requestData?.keyword +
      "&dynasty=" +
      requestData?.dynasty,
    method: "post"
  });
};
// 中国地域地谱检索人物
export const getPreCount = (requestData) => {
  return req1({
    url:
      "/person/retrieval/preCount?keyword="  +
      requestData?.keyword +
      "&dynasty=" +
      requestData?.dynasty,
    method: "post"
  });
};
// 医学人物知识库
 
// 世医传承
export const inheritMedicalList = (requestData) => {
  return req1({
    url: "/inheritMedical/list",
    method: "post",
    data: requestData
  });
};
export const inheritMedicalSataStatistics = (requestData) => {
  return req1({
    url: "/inheritMedical/dataStatistics",
    method: "post",
    data: requestData
  });
};
export const inheritMedicalCultureList = (requestData) => {
  return req1({
    url: "/inheritMedical/cultureList",
    method: "post",
    data: requestData
  });
};
export const inheritMedicalRelationList = (requestData) => {
  return req1({
    url: "/inheritMedical/relationList",
    method: "post",
    data: requestData
  });
};
 
// 检索页
// 基础、高级检索 ------------------------------
export const getPersonList = (data) => {
  return req1({
    url: "/person/list",
    method: "post",
    data: data
  });
};
// 检索数据到出
export const getPDownload = () => {
  return req1({
    url: "/person/download",
    method: "post"
  });
};
// -------------------------P
 
// 时期
export const getDynastyAll = () => {
  return req1({
    url: "/dynasty/list",
    method: "post"
  });
};
 
export const getDynasty = () => {
  return req1({
    url: "/dynasty/listAll",
    method: "post"
  });
};
export const getDynastyData = () => {
  return req1({
    url: "/person/retrieval/dynasty",
    method: "post"
  });
};
 
// 学术流派
export const getDynastyStatistics = () => {
  return req1({
    url: "/school/dynasty/statistics",
    method: "get"
  });
};
 
export const getIntroduction = (id) => {
  return req1({
    url: "/school/introduction?id=" + id,
    method: "post"
  });
};
 
export const schoolAtlas = (id) => {
  return req1({
    url: "/person/schoolAtlas?schoolId=" + id,
    method: "post"
  });
};
 
 
 
export const searchSchoolPerson = (data) => {
  return req1({
    url: "/person/searchSchoolPerson",
    method: "post",
    params: data
  });
};
 
// 医事制度
// 数据统计
export const getDataStatistics = () => {
  return req1({
    url: "/medical/dataStatistics",
    method: "post"
  });
};
// 查询
export const getMedicalList = (data) => {
  return req1({
    url: "/medical/list",
    method: "post",
    data: data
  });
};
// 详情
export const getMedicalDetails = (data) => {
  return req1({
    url: "/medical/details",
    method: "post",
    data: data
  });
};
// 取值:RDF、NT、XML、JSON
export const getMedicalDataOutput = (Obj) => {
  return req1({
    url: "/medical/dataOutput",
    method: "post",
    data: Obj
  });
};
 
export const getPersonDataOutput = (Obj) => {
  return req1({
    url: "/person/dataOutput",
    method: "post",
    params: Obj
  });
};
 
// -----------
 
// 中国历代医学人物知识库
// 数据统计
export const getPDataStatistics = () => {
  return req1({
    url: "/person/dataStatistics",
    method: "post"
  });
};
// ----------------
 
export const getImg = (path) => {
  return baseUrl + "/picture/getImageByFilePath?filePath=" + path;
};
 
export const getRelationTypeTreeList = () => {
  return req1({
    url: "/personRelationType/getRelationTypeTreeList",
    method: "post"
  });
};
 
export const getInstitutionList = () => {
  return req1({
    url: "/medical/institutionList",
    method: "post"
  });
};