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
| import request from '@/utils/axios'
| import { confingInfoStore } from '@/stores/StoresConfing'
|
| export function sendValidateCode(params: string) {
| return request({
| url: `${confingInfoStore().confingInfo.base_api}/user/info/sendValidateCode`,
| method: 'post',
| headers: {
| 'Content-Type': 'application/x-www-form-urlencoded'
| },
| data: params,
| })
| }
| export function getPatientInfo2(params: Object) {
| return request({
| url: `${confingInfoStore().confingInfo.base_api}/topic/getPatientInfo2`,
| method: 'post',
| data: params,
| })
| }
| export function updatePatient(params: Object) {
| return request({
| url: `${confingInfoStore().confingInfo.base_api}/topic/updatePatient`,
| method: 'post',
| data: params,
| })
| }
| export function listWeightHistory(params: Object) {
| return request({
| url: `${confingInfoStore().confingInfo.base_api}/patient/hemo/med/body/state/pre/listWeightHistory`,
| method: 'post',
| data: params,
| })
| }
| export function listBPHistory(params: Object) {
| return request({
| url: `${confingInfoStore().confingInfo.base_api}/patient/hemo/med/body/state/pre/listBPHistory`,
| method: 'post',
| data: params,
| })
| }
| export function checkUploadFile(params: Object) {
| return request({
| url: `${confingInfoStore().confingInfo.faceApi}/test/identifyFace`,
| method: 'post',
| data: params,
| })
| }
| export function test() {
| return request({
| url: `http://127.0.0.1:5000/test`,
| method: 'post',
| })
| }
|
|