web-core-tcm 0.0.67 → 0.0.72
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 +6 -10
- package/dist/src/api/algorithm/pulsationsAlgorithm.js +1 -1
- package/dist/src/api/authorization/alova/index.d.ts +3 -2
- package/dist/src/api/authorization/alova/index.js +16 -13
- package/dist/src/api/authorization/authorization.d.ts +1 -1
- package/dist/src/api/authorization/index.js +9 -6
- package/dist/src/api/check/alova/implement/check.d.ts +1 -1
- package/dist/src/api/check/alova/implement/check.js +18 -19
- package/dist/src/api/check/alova/index.d.ts +1 -2
- package/dist/src/api/check/alova/index.js +10 -11
- package/dist/src/api/check/check.d.ts +2 -2
- package/dist/src/api/check/check.js +8 -19
- package/dist/src/api/check/index.js +9 -10
- package/dist/src/api/config/alova/index.js +10 -10
- package/dist/src/api/config/index.d.ts +0 -1
- package/dist/src/api/config/index.js +9 -15
- package/dist/src/api/core/core.d.ts +1 -1
- package/dist/src/api/doctor/alova/index.d.ts +1 -2
- package/dist/src/api/doctor/alova/index.js +7 -8
- package/dist/src/api/doctor/doctor.d.ts +1 -1
- package/dist/src/api/doctor/index.js +6 -7
- package/dist/src/api/index.d.ts +0 -1
- package/dist/src/api/index.js +0 -2
- 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 +1 -2
- package/dist/src/api/oauth/alova/index.js +11 -12
- package/dist/src/api/oauth/index.js +5 -6
- package/dist/src/api/outpatient/alova/index.d.ts +1 -2
- package/dist/src/api/outpatient/alova/index.js +10 -11
- package/dist/src/api/outpatient/index.js +9 -10
- 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 +1 -2
- package/dist/src/api/patient/alova/index.js +10 -11
- package/dist/src/api/patient/index.js +26 -27
- 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 +1 -0
- package/dist/src/api/prescription/alova/implement/prescription.js +17 -9
- package/dist/src/api/prescription/alova/index.d.ts +1 -2
- package/dist/src/api/prescription/alova/index.js +1 -2
- package/dist/src/api/prescription/herbal.d.ts +1 -1
- package/dist/src/api/prescription/index.js +11 -12
- package/dist/src/api/prescription/prescription.d.ts +2 -1
- package/dist/src/api/prescription/prescription.js +12 -9
- package/dist/src/api/scientist/alova/index.d.ts +1 -2
- package/dist/src/api/scientist/alova/index.js +5 -6
- package/dist/src/api/scientist/index.js +7 -8
- package/dist/src/api/scientist/scientist.d.ts +1 -1
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +3 -14
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +2 -2
- package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +129 -117
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +3 -14
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +2 -2
- package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +139 -123
- 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 +54 -51
- package/dist/src/index.js +40 -42
- package/dist/web-core-tcm.css +1 -1
- package/package.json +1 -6
- package/dist/src/api/manager/alova/apiDefinitions.d.ts +0 -62
- package/dist/src/api/manager/alova/apiDefinitions.js +0 -50
- package/dist/src/api/manager/alova/createApis.d.ts +0 -10
- package/dist/src/api/manager/alova/createApis.js +0 -49
- package/dist/src/api/manager/alova/globals.d.ts +0 -4890
- package/dist/src/api/manager/alova/implement/department.d.ts +0 -15
- package/dist/src/api/manager/alova/implement/department.js +0 -71
- package/dist/src/api/manager/alova/implement/division.d.ts +0 -15
- package/dist/src/api/manager/alova/implement/division.js +0 -71
- package/dist/src/api/manager/alova/implement/hospital.d.ts +0 -15
- package/dist/src/api/manager/alova/implement/hospital.js +0 -72
- package/dist/src/api/manager/alova/implement/index.d.ts +0 -3
- package/dist/src/api/manager/alova/implement/index.js +0 -8
- package/dist/src/api/manager/alova/index.d.ts +0 -7
- package/dist/src/api/manager/alova/index.js +0 -20
- package/dist/src/api/manager/department.d.ts +0 -23
- package/dist/src/api/manager/department.js +0 -49
- package/dist/src/api/manager/division.d.ts +0 -23
- package/dist/src/api/manager/division.js +0 -44
- package/dist/src/api/manager/hospital.d.ts +0 -24
- package/dist/src/api/manager/hospital.js +0 -51
- package/dist/src/api/manager/index.d.ts +0 -4
- package/dist/src/api/manager/index.js +0 -18
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Department } from '../../department';
|
|
2
|
-
export declare class AlovaDepartment extends Department {
|
|
3
|
-
get(): Promise<this>;
|
|
4
|
-
put(): Promise<this>;
|
|
5
|
-
post(): Promise<this>;
|
|
6
|
-
delete(): Promise<this>;
|
|
7
|
-
static query(page: number, pageSize: number, sort: string, departmentStateId?: string, hospitalStateId?: string, departmentStateName?: string, departmentStateNote?: string, startTime?: string, endTime?: string): Promise<{
|
|
8
|
-
data: AlovaDepartment[];
|
|
9
|
-
total: number;
|
|
10
|
-
page: number;
|
|
11
|
-
pageSize: number;
|
|
12
|
-
pageCount: number;
|
|
13
|
-
isLastPage: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Department as f } from "../../department.js";
|
|
2
|
-
class e extends f {
|
|
3
|
-
async get() {
|
|
4
|
-
return this.of(
|
|
5
|
-
await managerApi.departmentStateRestful.getDepartmentState({
|
|
6
|
-
pathParams: {
|
|
7
|
-
id: this.id
|
|
8
|
-
},
|
|
9
|
-
async transform(a) {
|
|
10
|
-
return new e().of(a);
|
|
11
|
-
}
|
|
12
|
-
}).send()
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async put() {
|
|
16
|
-
return this.of(
|
|
17
|
-
await managerApi.departmentStateRestful.putDepartmentState({
|
|
18
|
-
pathParams: {
|
|
19
|
-
id: this.id
|
|
20
|
-
},
|
|
21
|
-
data: this.state()
|
|
22
|
-
}).send(!0)
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
async post() {
|
|
26
|
-
return this.of(
|
|
27
|
-
await managerApi.departmentStateRestful.postDepartmentState({
|
|
28
|
-
data: this.state()
|
|
29
|
-
}).send(!0)
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async delete() {
|
|
33
|
-
return this.of(
|
|
34
|
-
await managerApi.departmentStateRestful.deleteDepartmentState({
|
|
35
|
-
pathParams: {
|
|
36
|
-
id: this.id
|
|
37
|
-
}
|
|
38
|
-
}).send(!0)
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
static query(a, n, s, r, i, p, m, d, u) {
|
|
42
|
-
return managerApi.departmentStateRestful.getDepartmentStates({
|
|
43
|
-
params: {
|
|
44
|
-
page: a,
|
|
45
|
-
pageSize: n,
|
|
46
|
-
sort: s,
|
|
47
|
-
departmentStateId: r,
|
|
48
|
-
hospitalStateId: i,
|
|
49
|
-
departmentStateName: p,
|
|
50
|
-
departmentStateNote: m,
|
|
51
|
-
startTime: d,
|
|
52
|
-
endTime: u
|
|
53
|
-
},
|
|
54
|
-
async transform(t) {
|
|
55
|
-
return {
|
|
56
|
-
data: await Promise.all(
|
|
57
|
-
t.content.map((o) => new e().of(o))
|
|
58
|
-
),
|
|
59
|
-
total: t.totalElements,
|
|
60
|
-
page: t.number,
|
|
61
|
-
pageSize: t.size,
|
|
62
|
-
pageCount: t.totalPages,
|
|
63
|
-
isLastPage: t.last
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
}).send();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export {
|
|
70
|
-
e as AlovaDepartment
|
|
71
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Division } from '../../division';
|
|
2
|
-
export declare class AlovaDivision extends Division {
|
|
3
|
-
get(): Promise<this>;
|
|
4
|
-
put(): Promise<this>;
|
|
5
|
-
post(): Promise<this>;
|
|
6
|
-
delete(): Promise<this>;
|
|
7
|
-
static query(page: number, pageSize: number, sort: string, divisionStateId?: string, departmentStateId?: string, divisionStateName?: string, divisionStateNote?: string, startTime?: string, endTime?: string): Promise<{
|
|
8
|
-
data: AlovaDivision[];
|
|
9
|
-
total: number;
|
|
10
|
-
page: number;
|
|
11
|
-
pageSize: number;
|
|
12
|
-
pageCount: number;
|
|
13
|
-
isLastPage: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Division as f } from "../../division.js";
|
|
2
|
-
class i extends f {
|
|
3
|
-
async get() {
|
|
4
|
-
return this.of(
|
|
5
|
-
await managerApi.divisionStateRestful.getDivisionState({
|
|
6
|
-
pathParams: {
|
|
7
|
-
id: this.id
|
|
8
|
-
},
|
|
9
|
-
async transform(a) {
|
|
10
|
-
return new i().of(a);
|
|
11
|
-
}
|
|
12
|
-
}).send()
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async put() {
|
|
16
|
-
return this.of(
|
|
17
|
-
await managerApi.divisionStateRestful.putDivisionState({
|
|
18
|
-
pathParams: {
|
|
19
|
-
id: this.id
|
|
20
|
-
},
|
|
21
|
-
data: this.state()
|
|
22
|
-
}).send(!0)
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
async post() {
|
|
26
|
-
return this.of(
|
|
27
|
-
await managerApi.divisionStateRestful.postDivisionState({
|
|
28
|
-
data: this.state()
|
|
29
|
-
}).send(!0)
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async delete() {
|
|
33
|
-
return this.of(
|
|
34
|
-
await managerApi.divisionStateRestful.deleteDivisionState({
|
|
35
|
-
pathParams: {
|
|
36
|
-
id: this.id
|
|
37
|
-
}
|
|
38
|
-
}).send(!0)
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
static query(a, e, s, n, r, o, d, u, p) {
|
|
42
|
-
return managerApi.divisionStateRestful.getDivisionStates({
|
|
43
|
-
params: {
|
|
44
|
-
page: a,
|
|
45
|
-
pageSize: e,
|
|
46
|
-
sort: s,
|
|
47
|
-
divisionStateId: n,
|
|
48
|
-
departmentStateId: r,
|
|
49
|
-
divisionStateName: o,
|
|
50
|
-
divisionStateNote: d,
|
|
51
|
-
startTime: u,
|
|
52
|
-
endTime: p
|
|
53
|
-
},
|
|
54
|
-
async transform(t) {
|
|
55
|
-
return {
|
|
56
|
-
data: await Promise.all(
|
|
57
|
-
t.content.map((m) => new i().of(m))
|
|
58
|
-
),
|
|
59
|
-
total: t.totalElements,
|
|
60
|
-
page: t.number,
|
|
61
|
-
pageSize: t.size,
|
|
62
|
-
pageCount: t.totalPages,
|
|
63
|
-
isLastPage: t.last
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
}).send();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export {
|
|
70
|
-
i as AlovaDivision
|
|
71
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Hospital } from '../../hospital';
|
|
2
|
-
export declare class AlovaHospital extends Hospital {
|
|
3
|
-
get(): Promise<this>;
|
|
4
|
-
put(): Promise<this>;
|
|
5
|
-
post(): Promise<this>;
|
|
6
|
-
delete(): Promise<this>;
|
|
7
|
-
static query(page: number, pageSize: number, sort: string, hospitalStateId?: string, hospitalStateName?: string, hospitalStateLevel?: string, hospitalStateAddress?: string, hospitalStateNote?: string, startTime?: string, endTime?: string): Promise<{
|
|
8
|
-
data: AlovaHospital[];
|
|
9
|
-
total: number;
|
|
10
|
-
page: number;
|
|
11
|
-
pageSize: number;
|
|
12
|
-
pageCount: number;
|
|
13
|
-
isLastPage: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Hospital as m } from "../../hospital.js";
|
|
2
|
-
class e extends m {
|
|
3
|
-
async get() {
|
|
4
|
-
return this.of(
|
|
5
|
-
await managerApi.hospitalStateRestful.getHospitalState({
|
|
6
|
-
pathParams: {
|
|
7
|
-
id: this.id
|
|
8
|
-
},
|
|
9
|
-
async transform(a) {
|
|
10
|
-
return new e().of(a);
|
|
11
|
-
}
|
|
12
|
-
}).send()
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
async put() {
|
|
16
|
-
return this.of(
|
|
17
|
-
await managerApi.hospitalStateRestful.putHospitalState({
|
|
18
|
-
pathParams: {
|
|
19
|
-
id: this.id
|
|
20
|
-
},
|
|
21
|
-
data: this.state()
|
|
22
|
-
}).send(!0)
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
async post() {
|
|
26
|
-
return this.of(
|
|
27
|
-
await managerApi.hospitalStateRestful.postHospitalState({
|
|
28
|
-
data: this.state()
|
|
29
|
-
}).send(!0)
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async delete() {
|
|
33
|
-
return this.of(
|
|
34
|
-
await managerApi.hospitalStateRestful.deleteHospitalState({
|
|
35
|
-
pathParams: {
|
|
36
|
-
id: this.id
|
|
37
|
-
}
|
|
38
|
-
}).send(!0)
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
static query(a, s, i, n, r, o, p, l, u, d) {
|
|
42
|
-
return managerApi.hospitalStateRestful.getHospitalStates({
|
|
43
|
-
params: {
|
|
44
|
-
page: a,
|
|
45
|
-
pageSize: s,
|
|
46
|
-
sort: i,
|
|
47
|
-
hospitalStateId: n,
|
|
48
|
-
hospitalStateName: r,
|
|
49
|
-
hospitalStateLevel: o,
|
|
50
|
-
hospitalStateAddress: p,
|
|
51
|
-
hospitalStateNote: l,
|
|
52
|
-
startTime: u,
|
|
53
|
-
endTime: d
|
|
54
|
-
},
|
|
55
|
-
async transform(t) {
|
|
56
|
-
return {
|
|
57
|
-
data: await Promise.all(
|
|
58
|
-
t.content.map((h) => new e().of(h))
|
|
59
|
-
),
|
|
60
|
-
total: t.totalElements,
|
|
61
|
-
page: t.number,
|
|
62
|
-
pageSize: t.size,
|
|
63
|
-
pageCount: t.totalPages,
|
|
64
|
-
isLastPage: t.last
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}).send();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export {
|
|
71
|
-
e as AlovaHospital
|
|
72
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const alovaInstance: import('alova').Alova<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, any, any, any>>;
|
|
2
|
-
export { alovaInstance as managerAlovaInstance };
|
|
3
|
-
export declare const $$userConfigMap: {};
|
|
4
|
-
declare const Apis: managerApi;
|
|
5
|
-
export default Apis;
|
|
6
|
-
export * from './implement';
|
|
7
|
-
export type * from './globals';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createAlova as r } from "../../../../node_modules/alova/dist/alova.esm.js";
|
|
2
|
-
import o from "../../../../node_modules/alova/dist/adapter/fetch.esm.js";
|
|
3
|
-
import { withConfigType as t, createApis as a, mountApis as n } from "./createApis.js";
|
|
4
|
-
import { getServiceEndpoint as p, ServiceType as i } from "../../config/index.js";
|
|
5
|
-
import "./implement/index.js";
|
|
6
|
-
import { onAuthRequired as s } from "../../config/alova/index.js";
|
|
7
|
-
const m = r({
|
|
8
|
-
baseURL: p(i.Manager),
|
|
9
|
-
requestAdapter: o(),
|
|
10
|
-
beforeRequest: s(() => {
|
|
11
|
-
}),
|
|
12
|
-
responded: (e) => e.json()
|
|
13
|
-
}), c = t({}), f = a(m, c);
|
|
14
|
-
n(f);
|
|
15
|
-
export {
|
|
16
|
-
c as $$userConfigMap,
|
|
17
|
-
m as alovaInstance,
|
|
18
|
-
f as default,
|
|
19
|
-
m as managerAlovaInstance
|
|
20
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Page, NetworkObject } from '../core';
|
|
2
|
-
import { IBuilder } from 'builder-pattern';
|
|
3
|
-
import { DoctorState } from '../doctor';
|
|
4
|
-
import { DepartmentState, DivisionState } from './alova/globals';
|
|
5
|
-
export declare abstract class Department extends NetworkObject {
|
|
6
|
-
static builder(): IBuilder<Department>;
|
|
7
|
-
static default(): typeof Department;
|
|
8
|
-
id: string;
|
|
9
|
-
hospitalStateId: string;
|
|
10
|
-
name: string;
|
|
11
|
-
note: string;
|
|
12
|
-
admins: DoctorState[];
|
|
13
|
-
members: DivisionState[];
|
|
14
|
-
createdTimestamp: string;
|
|
15
|
-
updatedTimestamp: string;
|
|
16
|
-
of(json: DepartmentState): Promise<this>;
|
|
17
|
-
state(): DepartmentState;
|
|
18
|
-
abstract get(): Promise<this>;
|
|
19
|
-
abstract post(): Promise<this>;
|
|
20
|
-
abstract put(): Promise<this>;
|
|
21
|
-
abstract delete(): Promise<this>;
|
|
22
|
-
static query(page: number, pageSize: number, sort: string, departmentStateId?: string, hospitalStateId?: string, departmentStateName?: string, departmentStateNote?: string, startTime?: string, endTime?: string): Promise<Page<Department>>;
|
|
23
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import "../core/index.js";
|
|
2
|
-
import { Builder as h } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
|
-
import "../doctor/index.js";
|
|
4
|
-
import { Division as o } from "./division.js";
|
|
5
|
-
import { NetworkObject as f } from "../core/core.js";
|
|
6
|
-
import { Doctor as l } from "../doctor/doctor.js";
|
|
7
|
-
class S extends f {
|
|
8
|
-
static builder() {
|
|
9
|
-
return h(this._default);
|
|
10
|
-
}
|
|
11
|
-
static default() {
|
|
12
|
-
return this._default;
|
|
13
|
-
}
|
|
14
|
-
id = "";
|
|
15
|
-
hospitalStateId = "";
|
|
16
|
-
name = "";
|
|
17
|
-
note = "";
|
|
18
|
-
admins = [];
|
|
19
|
-
members = [];
|
|
20
|
-
createdTimestamp = "";
|
|
21
|
-
updatedTimestamp = "";
|
|
22
|
-
async of(t) {
|
|
23
|
-
return t.id != null && (this.id = t.id), t.hospitalStateId != null && (this.hospitalStateId = t.hospitalStateId), t.name != null && (this.name = t.name), t.note != null && (this.note = t.note), t.admins != null && (this.admins = await Promise.all(
|
|
24
|
-
t.admins.map((i) => l.builder().build().of(i))
|
|
25
|
-
)), t.members != null && (this.members = await Promise.all(
|
|
26
|
-
t.members.map((i) => o.builder().build().of(i))
|
|
27
|
-
)), t.createdTimestamp != null && (this.createdTimestamp = t.createdTimestamp), t.updatedTimestamp != null && (this.updatedTimestamp = t.updatedTimestamp), this;
|
|
28
|
-
}
|
|
29
|
-
state() {
|
|
30
|
-
const t = {};
|
|
31
|
-
return this.id && (t.id = this.id), this.hospitalStateId && (t.hospitalStateId = this.hospitalStateId), this.name && (t.name = this.name), this.note && (t.note = this.note), this.admins.length > 0 && (t.admins = this.admins), this.members.length > 0 && (t.members = this.members), this.createdTimestamp && (t.createdTimestamp = this.createdTimestamp), this.updatedTimestamp && (t.updatedTimestamp = this.updatedTimestamp), t;
|
|
32
|
-
}
|
|
33
|
-
static query(t, i, e, a, m, d, s, r, p) {
|
|
34
|
-
return this.default().query(
|
|
35
|
-
t,
|
|
36
|
-
i,
|
|
37
|
-
e,
|
|
38
|
-
a,
|
|
39
|
-
m,
|
|
40
|
-
d,
|
|
41
|
-
s,
|
|
42
|
-
r,
|
|
43
|
-
p
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
S as Department
|
|
49
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Page, NetworkObject } from '../core';
|
|
2
|
-
import { IBuilder } from 'builder-pattern';
|
|
3
|
-
import { DoctorState } from '../doctor';
|
|
4
|
-
import { DivisionState } from './alova/globals';
|
|
5
|
-
export declare abstract class Division extends NetworkObject {
|
|
6
|
-
static builder(): IBuilder<Division>;
|
|
7
|
-
static default(): typeof Division;
|
|
8
|
-
id: string;
|
|
9
|
-
departmentStateId: string;
|
|
10
|
-
name: string;
|
|
11
|
-
note: string;
|
|
12
|
-
admins: DoctorState[];
|
|
13
|
-
members: DoctorState[];
|
|
14
|
-
createdTimestamp: string;
|
|
15
|
-
updatedTimestamp: string;
|
|
16
|
-
of(json: DivisionState): Promise<this>;
|
|
17
|
-
state(): DivisionState;
|
|
18
|
-
abstract get(): Promise<this>;
|
|
19
|
-
abstract post(): Promise<this>;
|
|
20
|
-
abstract put(): Promise<this>;
|
|
21
|
-
abstract delete(): Promise<this>;
|
|
22
|
-
static query(page: number, pageSize: number, sort: string, divisionStateId?: string, departmentStateId?: string, divisionStateName?: string, divisionStateNote?: string, startTime?: string, endTime?: string): Promise<Page<Division>>;
|
|
23
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import "../core/index.js";
|
|
2
|
-
import { Builder as f } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
|
-
import "../doctor/index.js";
|
|
4
|
-
import { NetworkObject as n } from "../core/core.js";
|
|
5
|
-
import { Doctor as i } from "../doctor/doctor.js";
|
|
6
|
-
class v extends n {
|
|
7
|
-
static builder() {
|
|
8
|
-
return f(this._default);
|
|
9
|
-
}
|
|
10
|
-
static default() {
|
|
11
|
-
return this._default;
|
|
12
|
-
}
|
|
13
|
-
id = "";
|
|
14
|
-
departmentStateId = "";
|
|
15
|
-
name = "";
|
|
16
|
-
note = "";
|
|
17
|
-
admins = [];
|
|
18
|
-
members = [];
|
|
19
|
-
createdTimestamp = "";
|
|
20
|
-
updatedTimestamp = "";
|
|
21
|
-
async of(t) {
|
|
22
|
-
return t.id != null && (this.id = t.id), t.departmentStateId != null && (this.departmentStateId = t.departmentStateId), t.name != null && (this.name = t.name), t.note != null && (this.note = t.note), t.admins != null && (this.admins = await Promise.all(t.admins.map((e) => i.builder().build().of(e)))), t.members != null && (this.members = await Promise.all(t.members.map((e) => i.builder().build().of(e)))), t.createdTimestamp != null && (this.createdTimestamp = t.createdTimestamp), t.updatedTimestamp != null && (this.updatedTimestamp = t.updatedTimestamp), this;
|
|
23
|
-
}
|
|
24
|
-
state() {
|
|
25
|
-
const t = {};
|
|
26
|
-
return this.id && (t.id = this.id), this.departmentStateId && (t.departmentStateId = this.departmentStateId), this.name && (t.name = this.name), this.note && (t.note = this.note), this.admins.length > 0 && (t.admins = this.admins), this.members.length > 0 && (t.members = this.members), this.createdTimestamp && (t.createdTimestamp = this.createdTimestamp), this.updatedTimestamp && (t.updatedTimestamp = this.updatedTimestamp), t;
|
|
27
|
-
}
|
|
28
|
-
static query(t, e, a, m, d, s, r, p, h) {
|
|
29
|
-
return this.default().query(
|
|
30
|
-
t,
|
|
31
|
-
e,
|
|
32
|
-
a,
|
|
33
|
-
m,
|
|
34
|
-
d,
|
|
35
|
-
s,
|
|
36
|
-
r,
|
|
37
|
-
p,
|
|
38
|
-
h
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export {
|
|
43
|
-
v as Division
|
|
44
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Page, NetworkObject } from '../core';
|
|
2
|
-
import { IBuilder } from 'builder-pattern';
|
|
3
|
-
import { DoctorState } from '../doctor';
|
|
4
|
-
import { DepartmentState, HospitalState } from './alova/globals';
|
|
5
|
-
export declare abstract class Hospital extends NetworkObject {
|
|
6
|
-
static builder(): IBuilder<Hospital>;
|
|
7
|
-
static default(): typeof Hospital;
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
level: string;
|
|
11
|
-
address: string;
|
|
12
|
-
note: string;
|
|
13
|
-
admins: DoctorState[];
|
|
14
|
-
members: DepartmentState[];
|
|
15
|
-
createdTimestamp: string;
|
|
16
|
-
updatedTimestamp: string;
|
|
17
|
-
of(json: HospitalState): Promise<this>;
|
|
18
|
-
state(): HospitalState;
|
|
19
|
-
abstract get(): Promise<this>;
|
|
20
|
-
abstract post(): Promise<this>;
|
|
21
|
-
abstract put(): Promise<this>;
|
|
22
|
-
abstract delete(): Promise<this>;
|
|
23
|
-
static query(page: number, pageSize: number, sort: string, hospitalStateId?: string, hospitalStateName?: string, hospitalStateLevel?: string, hospitalStateAddress?: string, hospitalStateNote?: string, startTime?: string, endTime?: string): Promise<Page<Hospital>>;
|
|
24
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import "../core/index.js";
|
|
2
|
-
import { Builder as p } from "../../../node_modules/builder-pattern/dist/index.js";
|
|
3
|
-
import "../doctor/index.js";
|
|
4
|
-
import { Department as f } from "./department.js";
|
|
5
|
-
import { NetworkObject as u } from "../core/core.js";
|
|
6
|
-
import { Doctor as o } from "../doctor/doctor.js";
|
|
7
|
-
class g extends u {
|
|
8
|
-
static builder() {
|
|
9
|
-
return p(this._default);
|
|
10
|
-
}
|
|
11
|
-
static default() {
|
|
12
|
-
return this._default;
|
|
13
|
-
}
|
|
14
|
-
id = "";
|
|
15
|
-
name = "";
|
|
16
|
-
level = "";
|
|
17
|
-
address = "";
|
|
18
|
-
note = "";
|
|
19
|
-
admins = [];
|
|
20
|
-
members = [];
|
|
21
|
-
createdTimestamp = "";
|
|
22
|
-
updatedTimestamp = "";
|
|
23
|
-
async of(e) {
|
|
24
|
-
return e.id != null && (this.id = e.id), e.name != null && (this.name = e.name), e.level != null && (this.level = e.level), e.address != null && (this.address = e.address), e.note != null && (this.note = e.note), e.admins != null && (this.admins = await Promise.all(
|
|
25
|
-
e.admins.map((i) => o.builder().build().of(i))
|
|
26
|
-
)), e.members != null && (this.members = await Promise.all(
|
|
27
|
-
e.members.map((i) => f.builder().build().of(i))
|
|
28
|
-
)), e.createdTimestamp != null && (this.createdTimestamp = e.createdTimestamp), e.updatedTimestamp != null && (this.updatedTimestamp = e.updatedTimestamp), this;
|
|
29
|
-
}
|
|
30
|
-
state() {
|
|
31
|
-
const e = {};
|
|
32
|
-
return this.id && (e.id = this.id), this.name && (e.name = this.name), this.level && (e.level = this.level), this.address && (e.address = this.address), this.note && (e.note = this.note), this.admins.length > 0 && (e.admins = this.admins), this.members.length > 0 && (e.members = this.members), this.createdTimestamp && (e.createdTimestamp = this.createdTimestamp), this.updatedTimestamp && (e.updatedTimestamp = this.updatedTimestamp), e;
|
|
33
|
-
}
|
|
34
|
-
static query(e, i, t, m, a, d, s, r, h, l) {
|
|
35
|
-
return this.default().query(
|
|
36
|
-
e,
|
|
37
|
-
i,
|
|
38
|
-
t,
|
|
39
|
-
m,
|
|
40
|
-
a,
|
|
41
|
-
d,
|
|
42
|
-
s,
|
|
43
|
-
r,
|
|
44
|
-
h,
|
|
45
|
-
l
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
g as Hospital
|
|
51
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { $$userConfigMap as r, alovaInstance as e, alovaInstance as t } from "./alova/index.js";
|
|
2
|
-
import { Division as p } from "./division.js";
|
|
3
|
-
import { Department as i } from "./department.js";
|
|
4
|
-
import { Hospital as f } from "./hospital.js";
|
|
5
|
-
import { AlovaDivision as v } from "./alova/implement/division.js";
|
|
6
|
-
import { AlovaDepartment as A } from "./alova/implement/department.js";
|
|
7
|
-
import { AlovaHospital as c } from "./alova/implement/hospital.js";
|
|
8
|
-
export {
|
|
9
|
-
r as $$userConfigMap,
|
|
10
|
-
A as AlovaDepartment,
|
|
11
|
-
v as AlovaDivision,
|
|
12
|
-
c as AlovaHospital,
|
|
13
|
-
i as Department,
|
|
14
|
-
p as Division,
|
|
15
|
-
f as Hospital,
|
|
16
|
-
e as alovaInstance,
|
|
17
|
-
t as managerAlovaInstance
|
|
18
|
-
};
|