web-core-tcm 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +10 -6
- package/dist/src/api/algorithm/pulsationsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/index.d.ts +2 -3
- package/dist/src/api/authorization/alova/index.js +13 -16
- package/dist/src/api/authorization/authorization.d.ts +1 -1
- package/dist/src/api/authorization/index.js +6 -9
- package/dist/src/api/check/alova/implement/check.d.ts +1 -1
- package/dist/src/api/check/alova/implement/check.js +19 -18
- package/dist/src/api/check/alova/index.d.ts +2 -1
- package/dist/src/api/check/alova/index.js +11 -10
- package/dist/src/api/check/check.d.ts +2 -2
- package/dist/src/api/check/check.js +19 -8
- package/dist/src/api/check/index.js +10 -9
- package/dist/src/api/config/alova/index.js +10 -10
- package/dist/src/api/config/index.d.ts +3 -1
- package/dist/src/api/config/index.js +21 -9
- package/dist/src/api/core/core.d.ts +1 -1
- package/dist/src/api/doctor/alova/index.d.ts +2 -1
- package/dist/src/api/doctor/alova/index.js +8 -7
- package/dist/src/api/doctor/doctor.d.ts +1 -1
- package/dist/src/api/doctor/index.js +7 -6
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +2 -0
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +77 -0
- package/dist/src/api/manager/alova/apiDefinitions.js +65 -0
- package/dist/src/api/manager/alova/createApis.d.ts +10 -0
- package/dist/src/api/manager/alova/createApis.js +49 -0
- package/dist/src/api/manager/alova/globals.d.ts +5524 -0
- package/dist/src/api/manager/alova/implement/department.d.ts +15 -0
- package/dist/src/api/manager/alova/implement/department.js +71 -0
- package/dist/src/api/manager/alova/implement/division.d.ts +15 -0
- package/dist/src/api/manager/alova/implement/division.js +71 -0
- package/dist/src/api/manager/alova/implement/hospital.d.ts +15 -0
- package/dist/src/api/manager/alova/implement/hospital.js +72 -0
- package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
- package/dist/src/api/manager/alova/implement/index.js +8 -0
- package/dist/src/api/manager/alova/index.d.ts +7 -0
- package/dist/src/api/manager/alova/index.js +21 -0
- package/dist/src/api/manager/department.d.ts +23 -0
- package/dist/src/api/manager/department.js +49 -0
- package/dist/src/api/manager/division.d.ts +23 -0
- package/dist/src/api/manager/division.js +44 -0
- package/dist/src/api/manager/hospital.d.ts +24 -0
- package/dist/src/api/manager/hospital.js +51 -0
- package/dist/src/api/manager/index.d.ts +4 -0
- package/dist/src/api/manager/index.js +18 -0
- package/dist/src/api/metric/alova/implement/metric.d.ts +1 -1
- package/dist/src/api/metric/metric.d.ts +2 -2
- package/dist/src/api/oauth/alova/index.d.ts +2 -1
- package/dist/src/api/oauth/alova/index.js +12 -11
- package/dist/src/api/oauth/index.js +6 -5
- package/dist/src/api/outpatient/alova/index.d.ts +2 -1
- package/dist/src/api/outpatient/alova/index.js +11 -10
- package/dist/src/api/outpatient/index.js +10 -9
- package/dist/src/api/outpatient/outpatient.d.ts +1 -1
- package/dist/src/api/patient/alova/implement/meta.d.ts +1 -1
- package/dist/src/api/patient/alova/index.d.ts +2 -1
- package/dist/src/api/patient/alova/index.js +11 -10
- package/dist/src/api/patient/index.js +27 -26
- package/dist/src/api/patient/meta.d.ts +1 -1
- package/dist/src/api/patient/patient.d.ts +1 -1
- package/dist/src/api/prescription/alova/implement/prescription.d.ts +0 -1
- package/dist/src/api/prescription/alova/implement/prescription.js +9 -17
- package/dist/src/api/prescription/alova/index.d.ts +2 -1
- package/dist/src/api/prescription/alova/index.js +2 -1
- package/dist/src/api/prescription/herbal.d.ts +1 -1
- package/dist/src/api/prescription/index.js +12 -11
- package/dist/src/api/prescription/prescription.d.ts +1 -2
- package/dist/src/api/prescription/prescription.js +9 -12
- package/dist/src/api/scientist/alova/index.d.ts +2 -1
- package/dist/src/api/scientist/alova/index.js +6 -5
- package/dist/src/api/scientist/index.js +8 -7
- package/dist/src/api/scientist/scientist.d.ts +1 -1
- package/dist/src/api/user/alova/apiDefinitions.d.ts +26 -0
- package/dist/src/api/user/alova/apiDefinitions.js +14 -0
- package/dist/src/api/user/alova/createApis.d.ts +10 -0
- package/dist/src/api/user/alova/createApis.js +49 -0
- package/dist/src/api/user/alova/globals.d.ts +529 -0
- package/dist/src/api/user/alova/implement/index.d.ts +1 -0
- package/dist/src/api/user/alova/implement/index.js +1 -0
- package/dist/src/api/user/alova/implement/user.d.ts +10 -0
- package/dist/src/api/user/alova/index.d.ts +7 -0
- package/dist/src/api/user/alova/index.js +21 -0
- package/dist/src/api/user/index.d.ts +2 -0
- package/dist/src/api/user/index.js +8 -0
- package/dist/src/api/user/user.d.ts +23 -0
- package/dist/src/api/user/user.js +52 -0
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +14 -3
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +2 -2
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +117 -129
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +14 -3
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +2 -2
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +123 -139
- package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
- package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
- package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +51 -54
- package/dist/src/index.js +42 -40
- package/dist/web-core-tcm.css +1 -1
- package/package.json +11 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 管理服务 - version v1.0
|
|
3
|
+
*
|
|
4
|
+
* 支持Restful风格的患者服务
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI version: 3.1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This file is auto generated by the alova's vscode plugin.
|
|
10
|
+
*
|
|
11
|
+
* https://alova.js.org/devtools/vscode
|
|
12
|
+
*
|
|
13
|
+
* **Do not edit the file manually.**
|
|
14
|
+
*/
|
|
15
|
+
declare const _default: {
|
|
16
|
+
'departmentStateRestful.getDepartmentState': string[];
|
|
17
|
+
'departmentStateRestful.putDepartmentState': string[];
|
|
18
|
+
'departmentStateRestful.deleteDepartmentState': string[];
|
|
19
|
+
'managerStateRestful.getManagerState': string[];
|
|
20
|
+
'managerStateRestful.putManagerState': string[];
|
|
21
|
+
'managerStateRestful.deleteManagerState': string[];
|
|
22
|
+
'divisionStateRestful.getDivisionState': string[];
|
|
23
|
+
'divisionStateRestful.putDivisionState': string[];
|
|
24
|
+
'divisionStateRestful.deleteDivisionState': string[];
|
|
25
|
+
'hospitalStateRestful.getHospitalState': string[];
|
|
26
|
+
'hospitalStateRestful.putHospitalState': string[];
|
|
27
|
+
'hospitalStateRestful.deleteHospitalState': string[];
|
|
28
|
+
'departmentStateRestful.postDepartmentState': string[];
|
|
29
|
+
'departmentStateRestful.getDepartmentStates': string[];
|
|
30
|
+
'managerStateRestful.postManagerState': string[];
|
|
31
|
+
'managerStateRestful.getManagerState_1': string[];
|
|
32
|
+
'divisionStateRestful.postDivisionState': string[];
|
|
33
|
+
'divisionStateRestful.getDivisionStates': string[];
|
|
34
|
+
'hospitalStateRestful.postHospitalState': string[];
|
|
35
|
+
'hospitalStateRestful.getHospitalStates': string[];
|
|
36
|
+
'general.deleteDepartmentState_POST': string[];
|
|
37
|
+
'general.deleteDepartmentState_GET': string[];
|
|
38
|
+
'general.deleteDivisionState_POST': string[];
|
|
39
|
+
'general.deleteDivisionState_GET': string[];
|
|
40
|
+
'general.deleteHospitalState_POST': string[];
|
|
41
|
+
'general.deleteHospitalState_GET': string[];
|
|
42
|
+
'general.deleteManagerState_POST': string[];
|
|
43
|
+
'general.deleteManagerState_GET': string[];
|
|
44
|
+
'general.getDepartmentState_POST': string[];
|
|
45
|
+
'general.getDepartmentState_GET': string[];
|
|
46
|
+
'general.getDivisionState_POST': string[];
|
|
47
|
+
'general.getDivisionState_GET': string[];
|
|
48
|
+
'general.getHospitalState_POST': string[];
|
|
49
|
+
'general.getHospitalState_GET': string[];
|
|
50
|
+
'general.getManagerState_POST': string[];
|
|
51
|
+
'general.getManagerState_GET': string[];
|
|
52
|
+
'general.postDepartmentState_POST': string[];
|
|
53
|
+
'general.postDepartmentState_GET': string[];
|
|
54
|
+
'general.postDivisionState_POST': string[];
|
|
55
|
+
'general.postDivisionState_GET': string[];
|
|
56
|
+
'general.postHospitalState_POST': string[];
|
|
57
|
+
'general.postHospitalState_GET': string[];
|
|
58
|
+
'general.postManagerState_POST': string[];
|
|
59
|
+
'general.postManagerState_GET': string[];
|
|
60
|
+
'general.putDepartmentState_POST': string[];
|
|
61
|
+
'general.putDepartmentState_GET': string[];
|
|
62
|
+
'general.putDivisionState_POST': string[];
|
|
63
|
+
'general.putDivisionState_GET': string[];
|
|
64
|
+
'general.putHospitalState_POST': string[];
|
|
65
|
+
'general.putHospitalState_GET': string[];
|
|
66
|
+
'general.putManagerState_POST': string[];
|
|
67
|
+
'general.putManagerState_GET': string[];
|
|
68
|
+
'general.queryDepartmentState_POST': string[];
|
|
69
|
+
'general.queryDepartmentState_GET': string[];
|
|
70
|
+
'general.queryDivisionState_POST': string[];
|
|
71
|
+
'general.queryDivisionState_GET': string[];
|
|
72
|
+
'general.queryHospitalState_POST': string[];
|
|
73
|
+
'general.queryHospitalState_GET': string[];
|
|
74
|
+
'general.queryManagerFunction_POST': string[];
|
|
75
|
+
'general.queryManagerFunction_GET': string[];
|
|
76
|
+
};
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
"departmentStateRestful.getDepartmentState": ["GET", "/管理/服务/部门/{id}"],
|
|
3
|
+
"departmentStateRestful.putDepartmentState": ["PUT", "/管理/服务/部门/{id}"],
|
|
4
|
+
"departmentStateRestful.deleteDepartmentState": ["DELETE", "/管理/服务/部门/{id}"],
|
|
5
|
+
"managerStateRestful.getManagerState": ["GET", "/管理/服务/管理/{id}"],
|
|
6
|
+
"managerStateRestful.putManagerState": ["PUT", "/管理/服务/管理/{id}"],
|
|
7
|
+
"managerStateRestful.deleteManagerState": ["DELETE", "/管理/服务/管理/{id}"],
|
|
8
|
+
"divisionStateRestful.getDivisionState": ["GET", "/管理/服务/科室/{id}"],
|
|
9
|
+
"divisionStateRestful.putDivisionState": ["PUT", "/管理/服务/科室/{id}"],
|
|
10
|
+
"divisionStateRestful.deleteDivisionState": ["DELETE", "/管理/服务/科室/{id}"],
|
|
11
|
+
"hospitalStateRestful.getHospitalState": ["GET", "/管理/服务/医院/{id}"],
|
|
12
|
+
"hospitalStateRestful.putHospitalState": ["PUT", "/管理/服务/医院/{id}"],
|
|
13
|
+
"hospitalStateRestful.deleteHospitalState": ["DELETE", "/管理/服务/医院/{id}"],
|
|
14
|
+
"departmentStateRestful.postDepartmentState": ["POST", "/管理/服务/部门"],
|
|
15
|
+
"departmentStateRestful.getDepartmentStates": ["POST", "/管理/服务/部门/查询"],
|
|
16
|
+
"managerStateRestful.postManagerState": ["POST", "/管理/服务/管理"],
|
|
17
|
+
"managerStateRestful.getManagerState_1": ["POST", "/管理/服务/管理/查询"],
|
|
18
|
+
"divisionStateRestful.postDivisionState": ["POST", "/管理/服务/科室"],
|
|
19
|
+
"divisionStateRestful.getDivisionStates": ["POST", "/管理/服务/科室/查询"],
|
|
20
|
+
"hospitalStateRestful.postHospitalState": ["POST", "/管理/服务/医院"],
|
|
21
|
+
"hospitalStateRestful.getHospitalStates": ["POST", "/管理/服务/医院/查询"],
|
|
22
|
+
"general.deleteDepartmentState_POST": ["POST", "/deleteDepartmentState"],
|
|
23
|
+
"general.deleteDepartmentState_GET": ["GET", "/deleteDepartmentState/{deleteDepartmentState}"],
|
|
24
|
+
"general.deleteDivisionState_POST": ["POST", "/deleteDivisionState"],
|
|
25
|
+
"general.deleteDivisionState_GET": ["GET", "/deleteDivisionState/{deleteDivisionState}"],
|
|
26
|
+
"general.deleteHospitalState_POST": ["POST", "/deleteHospitalState"],
|
|
27
|
+
"general.deleteHospitalState_GET": ["GET", "/deleteHospitalState/{deleteHospitalState}"],
|
|
28
|
+
"general.deleteManagerState_POST": ["POST", "/deleteManagerState"],
|
|
29
|
+
"general.deleteManagerState_GET": ["GET", "/deleteManagerState/{deleteManagerState}"],
|
|
30
|
+
"general.getDepartmentState_POST": ["POST", "/getDepartmentState"],
|
|
31
|
+
"general.getDepartmentState_GET": ["GET", "/getDepartmentState/{getDepartmentState}"],
|
|
32
|
+
"general.getDivisionState_POST": ["POST", "/getDivisionState"],
|
|
33
|
+
"general.getDivisionState_GET": ["GET", "/getDivisionState/{getDivisionState}"],
|
|
34
|
+
"general.getHospitalState_POST": ["POST", "/getHospitalState"],
|
|
35
|
+
"general.getHospitalState_GET": ["GET", "/getHospitalState/{getHospitalState}"],
|
|
36
|
+
"general.getManagerState_POST": ["POST", "/getManagerState"],
|
|
37
|
+
"general.getManagerState_GET": ["GET", "/getManagerState/{getManagerState}"],
|
|
38
|
+
"general.postDepartmentState_POST": ["POST", "/postDepartmentState"],
|
|
39
|
+
"general.postDepartmentState_GET": ["GET", "/postDepartmentState/{postDepartmentState}"],
|
|
40
|
+
"general.postDivisionState_POST": ["POST", "/postDivisionState"],
|
|
41
|
+
"general.postDivisionState_GET": ["GET", "/postDivisionState/{postDivisionState}"],
|
|
42
|
+
"general.postHospitalState_POST": ["POST", "/postHospitalState"],
|
|
43
|
+
"general.postHospitalState_GET": ["GET", "/postHospitalState/{postHospitalState}"],
|
|
44
|
+
"general.postManagerState_POST": ["POST", "/postManagerState"],
|
|
45
|
+
"general.postManagerState_GET": ["GET", "/postManagerState/{postManagerState}"],
|
|
46
|
+
"general.putDepartmentState_POST": ["POST", "/putDepartmentState"],
|
|
47
|
+
"general.putDepartmentState_GET": ["GET", "/putDepartmentState/{putDepartmentState}"],
|
|
48
|
+
"general.putDivisionState_POST": ["POST", "/putDivisionState"],
|
|
49
|
+
"general.putDivisionState_GET": ["GET", "/putDivisionState/{putDivisionState}"],
|
|
50
|
+
"general.putHospitalState_POST": ["POST", "/putHospitalState"],
|
|
51
|
+
"general.putHospitalState_GET": ["GET", "/putHospitalState/{putHospitalState}"],
|
|
52
|
+
"general.putManagerState_POST": ["POST", "/putManagerState"],
|
|
53
|
+
"general.putManagerState_GET": ["GET", "/putManagerState/{putManagerState}"],
|
|
54
|
+
"general.queryDepartmentState_POST": ["POST", "/queryDepartmentState"],
|
|
55
|
+
"general.queryDepartmentState_GET": ["GET", "/queryDepartmentState/{queryDepartmentState}"],
|
|
56
|
+
"general.queryDivisionState_POST": ["POST", "/queryDivisionState"],
|
|
57
|
+
"general.queryDivisionState_GET": ["GET", "/queryDivisionState/{queryDivisionState}"],
|
|
58
|
+
"general.queryHospitalState_POST": ["POST", "/queryHospitalState"],
|
|
59
|
+
"general.queryHospitalState_GET": ["GET", "/queryHospitalState/{queryHospitalState}"],
|
|
60
|
+
"general.queryManagerFunction_POST": ["POST", "/queryManagerFunction"],
|
|
61
|
+
"general.queryManagerFunction_GET": ["GET", "/queryManagerFunction/{queryManagerFunction}"]
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
t as default
|
|
65
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Alova, AlovaGenerics, AlovaMethodCreateConfig } from 'alova';
|
|
2
|
+
export declare const createApis: (alovaInstance: Alova<AlovaGenerics>, configMap: any) => managerApi;
|
|
3
|
+
export declare const mountApis: (Apis: managerApi) => void;
|
|
4
|
+
type MethodConfig<T> = AlovaMethodCreateConfig<(typeof import('./index'))['alovaInstance'] extends Alova<infer AG> ? AG : any, any, T>;
|
|
5
|
+
type APISofParameters<Tag extends string, Url extends string> = Tag extends keyof managerApi ? Url extends keyof managerApi[Tag] ? managerApi[Tag][Url] extends (...args: any) => any ? Parameters<managerApi[Tag][Url]> : any : any : any;
|
|
6
|
+
type MethodsConfigMap = {
|
|
7
|
+
[P in keyof typeof import('./apiDefinitions').default]?: MethodConfig<P extends `${infer Tag}.${infer Url}` ? Parameters<NonNullable<APISofParameters<Tag, Url>[0]>['transform']>[0] : any>;
|
|
8
|
+
};
|
|
9
|
+
export declare const withConfigType: <Config extends MethodsConfigMap>(config: Config) => Config;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Method as A } from "../../../../node_modules/alova/dist/alova.esm.js";
|
|
2
|
+
import _ from "./apiDefinitions.js";
|
|
3
|
+
const l = /* @__PURE__ */ Object.create(null), d = (e, a, p) => {
|
|
4
|
+
const o = e.join(".");
|
|
5
|
+
if (l[o])
|
|
6
|
+
return l[o];
|
|
7
|
+
const s = new Proxy(function() {
|
|
8
|
+
}, {
|
|
9
|
+
get(y, m) {
|
|
10
|
+
const f = [...e, m];
|
|
11
|
+
return d(f, a, p);
|
|
12
|
+
},
|
|
13
|
+
apply(y, m, [f]) {
|
|
14
|
+
const u = _[o];
|
|
15
|
+
if (!u)
|
|
16
|
+
throw new Error(`the api path of \`${o}\` is not found`);
|
|
17
|
+
const i = {
|
|
18
|
+
...p[o],
|
|
19
|
+
...f
|
|
20
|
+
}, [P, b] = u, g = i.pathParams, w = b.replace(/\{([^}]+)\}/g, (c, n) => g[n]);
|
|
21
|
+
delete i.pathParams;
|
|
22
|
+
let t = i.data;
|
|
23
|
+
if (Object.prototype.toString.call(t) === "[object Object]" && typeof FormData < "u") {
|
|
24
|
+
let c = !1;
|
|
25
|
+
const n = new FormData();
|
|
26
|
+
for (const r in t)
|
|
27
|
+
if (Array.isArray(t[r]))
|
|
28
|
+
for (const h of t[r])
|
|
29
|
+
n.append(r, h), h instanceof Blob && (c = !0);
|
|
30
|
+
else
|
|
31
|
+
n.append(r, t[r]), t[r] instanceof Blob && (c = !0);
|
|
32
|
+
t = c ? n : t;
|
|
33
|
+
}
|
|
34
|
+
return new A(P.toUpperCase(), a, w, i, t);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return l[o] = s, s;
|
|
38
|
+
}, D = (e, a) => new Proxy({}, {
|
|
39
|
+
get(o, s) {
|
|
40
|
+
return d([s], e, a);
|
|
41
|
+
}
|
|
42
|
+
}), B = (e) => {
|
|
43
|
+
globalThis.managerApi = e;
|
|
44
|
+
}, C = (e) => e;
|
|
45
|
+
export {
|
|
46
|
+
D as createApis,
|
|
47
|
+
B as mountApis,
|
|
48
|
+
C as withConfigType
|
|
49
|
+
};
|