@lm_fe/service 0.1.201 → 0.2.2

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.
Files changed (36) hide show
  1. package/README.md +0 -0
  2. package/dist/index.d.ts +0 -1
  3. package/dist/index.js +1981 -2235
  4. package/dist/local/Calculator/index.d.ts +0 -1
  5. package/dist/local/Dictionary/index.d.ts +4 -5
  6. package/dist/local/History/index.d.ts +1 -0
  7. package/dist/local/SystemConfig/index.d.ts +2 -2
  8. package/dist/mchc/service/Address/index.d.ts +2 -1
  9. package/dist/mchc/service/Admission/Document/IMchc_Admission_Document.d.ts +25 -1
  10. package/dist/mchc/service/Admission/Document/IMchc_Admission_LabourDocument.d.ts +2 -0
  11. package/dist/mchc/service/Admission/Document/IMchc_Admission_NeonateDocument.d.ts +1 -0
  12. package/dist/mchc/service/Common.d.ts +224 -35
  13. package/dist/mchc/service/Dictionaries/index.d.ts +4 -4
  14. package/dist/mchc/service/Doctor/index.d.ts +10 -4
  15. package/dist/mchc/service/Doctor/types/IMchc_Doctor_BuildExamTimeAxis.d.ts +6 -0
  16. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitInfoOfOutpatient.d.ts +2 -16
  17. package/dist/mchc/service/Doctor/types/IMchc_Doctor_FirstVisitPresentmhOutpatient.d.ts +31 -0
  18. package/dist/mchc/service/Doctor/types/IMchc_Doctor_RvisitAfterDeliveryInfoOfOutpatient.d.ts +14 -0
  19. package/dist/mchc/service/Doctor/types/IOutpatientHeaderInfo.d.ts +24 -23
  20. package/dist/mchc/service/Doctor/types/IRvisitInfoOfOutpatient.d.ts +1 -0
  21. package/dist/mchc/service/Doctor/types/index.d.ts +2 -0
  22. package/dist/mchc/service/Doctor/utils.d.ts +3 -0
  23. package/dist/mchc/service/FormDescriptions/index.d.ts +1 -1
  24. package/dist/mchc/service/FormDescriptions/types/InputType.d.ts +1 -1
  25. package/dist/mchc/service/FormDescriptions/types/index.d.ts +2 -186
  26. package/dist/mchc/service/FormDescriptions/utils.d.ts +1 -1
  27. package/dist/mchc/service/Nurse/utils.d.ts +5 -0
  28. package/dist/mchc/service/Questionnaire/index.d.ts +10 -4
  29. package/dist/mchc/service/TableConfig/index.d.ts +44 -110
  30. package/dist/mchc/service/TableConfig/utils.d.ts +7 -2
  31. package/dist/mchc/service/User.d.ts +8 -1
  32. package/dist/mchc/service/types/utils.d.ts +1 -25
  33. package/package.json +10 -5
  34. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/index.d.ts +0 -1
  35. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/Doctor/index.d.ts +0 -6
  36. package/dist//350/266/212/347/247/200/345/246/207/345/271/274/service/index.d.ts +0 -1
@@ -6,7 +6,7 @@ interface IRemoteFilter {
6
6
  filter: string[];
7
7
  }
8
8
  export declare const SMchc_FormDescriptions: {
9
- extract_form_config(config: IMchc_FormDescriptions_MIX): Promise<IMchc_FormDescriptions_Field_Nullable_Arr<false>>;
9
+ extract_form_config(config: IMchc_FormDescriptions_MIX): Promise<IMchc_FormDescriptions_Field_Nullable_Arr>;
10
10
  filter_form_config(config: IMchc_FormDescriptions_MIX): Promise<IMchc_FormDescriptions_Field_Nullable<false>[]>;
11
11
  __filter_form_config(config: IMchc_FormDescriptions_Field_Nullable_Arr): Promise<IMchc_FormDescriptions_Field_Nullable<false>[]>;
12
12
  get_form_item_title_or_Name(fd: IMchc_FormDescriptions_Field_Nullable): string;
@@ -1 +1 @@
1
- export type IMchc_FormDescriptions_InputType = "single_date_picker" | 'PatientAutoComplete' | 'rangeDate' | "MyButton" | "MyEditTable" | "MyRangeDate" | "MyRangeDateTime" | "MyInput" | "IdNOButton" | "Input" | "MySelect" | "MS" | "MyCheckbox" | "ArrayInput" | "search_select" | "TemplateTextarea" | "MyTemplateTextarea" | "MC" | "component" | "node" | "ArrayPanel" | "MyFormList_必须搭配Form使用" | "checkbox_group" | "MyPressure" | "title" | "normal_select" | "normal_checkbox_with_input" | "input" | "id" | "multiple_input_with_label" | "fetus_appendages" | "input_with_label" | "apgar_score_input" | "select_with_input" | "input_number" | "InputNumber" | "address" | "MyAddress" | "radio" | "month_picker" | "single_time_picker" | "select_with_options" | "pregnant_radio" | "noenate_record" | "date" | "array-custom" | "table" | "checkbox" | "country_select" | "checkbox_with_input" | "text_area" | "MyMonaco" | "radio_group" | "checkbox_with_single_input" | "select_with_option" | "dictionary_select" | "id_number_input" | "input_with_range" | "pure_checkbox" | "checkbox_group_object" | "pregnancy_history_v2" | "has_pregnancy" | "fetal_count" | "custom" | "select" | "addressCascader" | "button" | "text-input" | "picker" | "date-picker" | "DatePicker" | "MyDatePicker" | "address-item" | "stepper-item" | "radio-item" | "checkbox-item" | "multiple-picker" | "group-picker" | "fetus" | "bloodPressureInput" | "MyAutoComplete" | "MA" | "MArr" | "textareaWithTemplate" | "blank" | "highrisk_sign" | "age_select" | "edit_in_table" | "diagnosis" | "template_textarea" | "input_with_range_tip" | "blood_pressure" | "blood_and_thalassemia" | "middle_ultsounds_single" | "select_with_options_or_input" | "fetal_nt_check" | "middle_ultsounds" | "procedure_records" | "surgical_before_operator_select" | "surgical_before_nurse_select" | "procedure_intrauterine_records" | "procedure_cystocentesis_records" | "pressure" | "select_tag_with_options" | "tree_select_v2" | "normalButton" | "textarea-input" | "referral_register" | "ToggleForm" | "referral_organization_select" | "record_state" | "patient_auto_complete" | "image_editor" | "post_partumFetal" | "calculate-score-table" | "inspection_report" | "nursing_fetus" | "HourMinuteInput" | "checkbox_with_inputv2" | "appgar" | "nurse_children" | "radio_input" | "pressure-v2" | "fetal_ultrasound" | "inspection_result_textarea" | "ultrosound_result_textarea" | "diagnosis_list" | "labor_process" | "label" | "textareaWithBtn" | "pregnancyHistoryTable" | "bregma_group" | "multiple_input_group" | "multi_selector" | "result_textarea" | "single_selector" | "check_invert_button" | "async_autoComplete" | "checkbox-with-extra" | "oxytocin_table" | "range_date_picker" | "caesarean_children" | "retained_fetus" | "template_textareav2" | "auto_complete_with_red" | "diagnosis_list_v2" | "normal_nursing_table" | "blood_sugar_nursing_Table" | "past_delivery_nursing_table" | "special_nursing_table" | "oxytocin_nursing_table" | "lmp-info" | "induced_fetus" | "temperature_nursing_Table" | "blank_part" | "vagina_struments_record_form" | "divider" | "template_textareav3";
1
+ export type IMchc_FormDescriptions_InputType = "single_date_picker" | 'PatientAutoComplete' | 'rangeDate' | "MyButton" | "MyEditTable" | "MyRangeDate" | "MyRangeDateTime" | "MyInput" | "IdNOButton" | "Input" | "MySelect" | "MS" | "MyCheckbox" | "ArrayInput" | "search_select" | "TemplateTextarea" | "MyTemplateTextarea" | "MC" | "component" | "node" | "ArrayPanel" | "MyFormList_必须搭配Form使用" | "checkbox_group" | "MyPressure" | "title" | "normal_select" | "normal_checkbox_with_input" | "input" | "id" | "multiple_input_with_label" | "fetus_appendages" | "input_with_label" | "apgar_score_input" | "select_with_input" | "input_number" | "InputNumber" | "address" | "MyAddress" | "MyColor" | "MySwitch" | "radio" | "month_picker" | "single_time_picker" | "select_with_options" | "pregnant_radio" | "noenate_record" | "date" | "array-custom" | "table" | "checkbox" | "country_select" | "checkbox_with_input" | "text_area" | "MyMonaco" | "radio_group" | "checkbox_with_single_input" | "select_with_option" | "dictionary_select" | "id_number_input" | "input_with_range" | "pure_checkbox" | "checkbox_group_object" | "pregnancy_history_v2" | "has_pregnancy" | "fetal_count" | "custom" | "select" | "addressCascader" | "button" | "text-input" | "picker" | "date-picker" | "DatePicker" | "MyDatePicker" | "address-item" | "stepper-item" | "radio-item" | "checkbox-item" | "multiple-picker" | "group-picker" | "fetus" | "bloodPressureInput" | "MyAutoComplete" | "MA" | "MArr" | "textareaWithTemplate" | "blank" | "highrisk_sign" | "age_select" | "edit_in_table" | "diagnosis" | "template_textarea" | "input_with_range_tip" | "blood_pressure" | "blood_and_thalassemia" | "middle_ultsounds_single" | "select_with_options_or_input" | "fetal_nt_check" | "middle_ultsounds" | "procedure_records" | "surgical_before_operator_select" | "surgical_before_nurse_select" | "procedure_intrauterine_records" | "procedure_cystocentesis_records" | "pressure" | "select_tag_with_options" | "tree_select_v2" | "normalButton" | "textarea-input" | "referral_register" | "ToggleForm" | "referral_organization_select" | "record_state" | "patient_auto_complete" | "image_editor" | "post_partumFetal" | "calculate-score-table" | "inspection_report" | "nursing_fetus" | "HourMinuteInput" | "checkbox_with_inputv2" | "appgar" | "nurse_children" | "radio_input" | "pressure-v2" | "fetal_ultrasound" | "inspection_result_textarea" | "ultrosound_result_textarea" | "diagnosis_list" | "labor_process" | "label" | "textareaWithBtn" | "pregnancyHistoryTable" | "bregma_group" | "multiple_input_group" | "multi_selector" | "result_textarea" | "single_selector" | "check_invert_button" | "async_autoComplete" | "checkbox-with-extra" | "oxytocin_table" | "range_date_picker" | "caesarean_children" | "retained_fetus" | "template_textareav2" | "auto_complete_with_red" | "diagnosis_list_v2" | "normal_nursing_table" | "blood_sugar_nursing_Table" | "past_delivery_nursing_table" | "special_nursing_table" | "oxytocin_nursing_table" | "lmp-info" | "induced_fetus" | "temperature_nursing_Table" | "blank_part" | "vagina_struments_record_form" | "divider" | "template_textareav3";
@@ -1,192 +1,8 @@
1
- import { AnyObject } from "@lm_fe/utils";
2
- import { IMchc_FormDescriptions_FormItemLayout } from "./FormItemLayout";
3
- import { IMchc_FormDescriptions_InputType } from "./InputType";
4
- import { IMchc_FormDescriptions_Rules } from "./Rules";
5
- import { IMchc_FormDescriptions_SpecialConfig } from "./SpecialConfig";
6
- import { IMchc_FormDescriptions_TranferRules } from "./TranferRules";
7
- import { ICommonOption, ITemplateConfig, pre_option_map, T_FETCH_OPTIONS } from "@lm_fe/env";
8
- import { ButtonProps, FormInstance } from "antd";
9
- import React, { CSSProperties } from "react";
10
- import { SizeType } from "antd/lib/config-provider/SizeContext";
11
- import { IMchc_Pregnancy } from "../../Pregnancy";
12
- export interface IMchc_FormDescriptions_InputProps {
13
- language?: 'json' | 'javascript' | 'rust' | 'java';
14
- showTime?: boolean;
15
- showEdit?: boolean;
16
- height?: any;
17
- dependency?: {
18
- show?: {
19
- key: string;
20
- value: any[];
21
- };
22
- disabled?: {
23
- key: string;
24
- value: any[];
25
- };
26
- required?: {
27
- key: string;
28
- value: any[];
29
- };
30
- };
31
- allowClear?: boolean;
32
- genRowData?: (oldlist?: any[]) => any;
33
- type?: 'multiple' | 'single' | 'tags' | 'number';
34
- unit?: string;
35
- tip?: string;
36
- span?: number;
37
- labelCol?: number;
38
- wrapperCol?: number;
39
- rows?: number;
40
- DisplayFC_render?: (value?: any) => any;
41
- targetLabelCol?: number;
42
- options?: string | ICommonOption[] | string[];
43
- fetch_options?: T_FETCH_OPTIONS;
44
- optionKey?: keyof typeof pre_option_map;
45
- uniqueKey?: string;
46
- separator?: string;
47
- sp?: ICommonOption[];
48
- format?: 'YYYY-MM-DD' | 'YYYY-MM-DD HH:mm:ss' | 'YYYY-MM-DD HH:mm' | 'HH:mm:ss' | 'HH:mm';
49
- time_only?: boolean;
50
- placeholder?: string;
51
- disabled?: boolean;
52
- unknown?: boolean;
53
- pressure_key1?: string;
54
- pressure_key2?: string;
55
- style?: CSSProperties;
56
- marshal?: number;
57
- TemplateTextarea_type?: ITemplateConfig[];
58
- defaultData?: AnyObject;
59
- btnText?: string;
60
- standalone?: boolean;
61
- node?: React.ReactNode;
62
- component?: React.FC<{
63
- value?: any;
64
- onChange?(v: any): void;
65
- form?: FormInstance;
66
- }>;
67
- width?: number;
68
- startIndex?: number;
69
- inputWidth?: number;
70
- size?: SizeType;
71
- memorable?: boolean;
72
- memorieskey?: string;
73
- memoriesname?: string;
74
- formDescriptions?: IMchc_FormDescriptions_Field_Nullable[];
75
- PatientAutoComplete_url?: string;
76
- PatientAutoComplete_filterKey?: string;
77
- PatientAutoComplete_displayKey?: [string, string, string];
78
- addressBtns?: {
79
- name: string;
80
- label: string;
81
- props?: ButtonProps;
82
- }[];
83
- check_invert_values?: {
84
- [x: string]: [any, any];
85
- };
86
- onPatientAutoComplete?(v: IMchc_Pregnancy, form?: FormInstance): void;
87
- }
88
- type IMchc_FormDescriptions_FilterTypeRaw = 'in' | 'equals' | 'contains' | 'greaterOrEqualThan' | 'lessOrEqualThan';
89
- export type IMchc_FormDescriptions_FilterType = IMchc_FormDescriptions_FilterTypeRaw | `${IMchc_FormDescriptions_FilterTypeRaw},${IMchc_FormDescriptions_FilterTypeRaw}`;
90
- export type IMchc_FormDescriptions_Field<RAW = false> = {
91
- usr1?: any;
92
- usr2?: any;
93
- remote_filter_key?: string;
94
- history_conf?: {
95
- "columnCode": "nt";
96
- "columnValue": null;
97
- "isNormal": null;
98
- "isOut": null;
99
- "reportId": null;
100
- "history": null;
101
- "report": null;
102
- };
103
- siblings?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
104
- parent?: IMchc_FormDescriptions_Field_Nullable<RAW>;
105
- __format?: boolean;
106
- createdTime?: string;
107
- deletedTime?: string;
108
- id?: number;
109
- inputType?: IMchc_FormDescriptions_InputType;
110
- isActive?: number | boolean;
111
- isNewRow?: number | boolean;
112
- key?: string;
113
- dataIndex?: string | string[];
114
- label?: string;
115
- title?: string;
116
- width?: number;
117
- offset?: number;
118
- push?: number;
119
- pull?: number;
120
- sort?: number;
121
- align?: 'center';
122
- fixed?: 'left' | 'right';
123
- required?: boolean | (() => boolean);
124
- ellipsis?: {
125
- showTitle?: boolean;
126
- } | boolean;
127
- updatedTime?: string;
128
- span?: number;
129
- containerType?: 'section(default)' | 'tabs' | 'plain';
130
- collapsed?: boolean;
131
- styles?: RAW extends false ? AnyObject : string;
132
- props?: RAW extends false ? IMchc_FormDescriptions_InputProps : string;
133
- inputProps?: RAW extends false ? IMchc_FormDescriptions_InputProps : string;
134
- inputPropsFn?(): IMchc_FormDescriptions_InputProps;
135
- formItemLayout?: RAW extends false ? IMchc_FormDescriptions_FormItemLayout : string;
136
- rules?: RAW extends false ? IMchc_FormDescriptions_Rules : string;
137
- specialConfig?: RAW extends false ? IMchc_FormDescriptions_SpecialConfig : string;
138
- tranferRules?: RAW extends false ? IMchc_FormDescriptions_TranferRules : string;
139
- render?(value: any, rowData: any, index: number): React.ReactNode;
140
- disabled_check?: boolean;
141
- name?: RAW extends false ? string : never;
142
- hidden?: RAW extends false ? boolean : never;
143
- form_hidden?: RAW extends false ? boolean : never;
144
- input_type?: RAW extends false ? any : never;
145
- special_config?: RAW extends false ? any : never;
146
- tranfer_rules?: RAW extends false ? any : never;
147
- input_props?: RAW extends false ? any : never;
148
- form_item_layout?: RAW extends false ? any : never;
149
- labelCol?: RAW extends false ? any : never;
150
- wrapperCol?: RAW extends false ? any : never;
151
- layout?: RAW extends false ? string : never;
152
- fields?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
153
- children?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
154
- filterType?: IMchc_FormDescriptions_FilterType;
155
- showDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
156
- requiredDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
157
- disabledDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
158
- processRemote?(v: any, form?: FormInstance): any;
159
- processLocal?(v: any, form?: FormInstance): any;
160
- checkWarn?(v: any, form?: FormInstance): boolean;
161
- };
162
- export type IMchc_FormDescriptions_Field_Nullable<RAW = false> = IMchc_FormDescriptions_Field<RAW> | null;
163
- export type IMchc_FormDescriptions_Field_Nullable_Arr<RAW = false> = IMchc_FormDescriptions_Field_Nullable<RAW>[];
164
- type IMchc_FormDescriptions_Field_Lazy = {
165
- __lazy_config: IMchc_FormDescriptions_Field_Nullable_Arr;
166
- };
167
- type Mtype = IMchc_FormDescriptions_Field_Nullable_Arr | IMchc_FormDescriptions_Field_Lazy | {
168
- default: IMchc_FormDescriptions_Field_Lazy | (() => IMchc_FormDescriptions_Field_Lazy);
169
- };
170
- export type T_FormConfig_Loader = () => Promise<(() => (Mtype | Promise<Mtype>)) | Mtype>;
171
- export type IMchc_FormDescriptions_MIX = T_FormConfig_Loader | Mtype | {
172
- [x: string]: IMchc_FormDescriptions_Field_Nullable;
173
- } | undefined;
174
- export interface IMchc_FormDescriptions<RAW = false> {
175
- createdTime?: string;
176
- deletedTime?: string;
177
- fields?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
178
- children?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
179
- flag?: string;
180
- id?: number;
181
- moduleName?: string;
182
- name: string;
183
- sort?: number;
184
- updatedTime?: string;
185
- }
1
+ import { IMchc_FormDescriptions } from "@noah-libjs/components";
2
+ export { IMchc_FormDescriptions, IMchc_FormDescriptions_Field, IMchc_FormDescriptions_Field_Nullable, IMchc_FormDescriptions_Field_Nullable_Arr, IMchc_FormDescriptions_FilterType, IMchc_FormDescriptions_InputProps, IMchc_FormDescriptions_MIX, T_FormConfig_Loader } from '@noah-libjs/components';
186
3
  export declare const SMchc_FormDescriptions: {
187
4
  getModule(moduleName: string): Promise<IMchc_FormDescriptions<true>[]>;
188
5
  getModuleCache(moduleName: string): Promise<IMchc_FormDescriptions<true>[]>;
189
6
  getModuleParse(moduleName: string): Promise<IMchc_FormDescriptions<true>[]>;
190
7
  getModuleParseCache(moduleName: string): Promise<IMchc_FormDescriptions<true>[]>;
191
8
  };
192
- export {};
@@ -1,6 +1,6 @@
1
1
  import { Common_Form_Config_Names } from "@lm_fe/env";
2
2
  import { FormInstance } from "antd";
3
- import { IMchc_FormDescriptions, IMchc_FormDescriptions_Field, IMchc_FormDescriptions_Field_Nullable_Arr, IMchc_FormDescriptions_MIX } from "./types";
3
+ import { IMchc_FormDescriptions, IMchc_FormDescriptions_Field, IMchc_FormDescriptions_Field_Nullable_Arr, IMchc_FormDescriptions_MIX } from "@noah-libjs/components";
4
4
  export declare function parseFormDescriptions(list: IMchc_FormDescriptions<true>[]): IMchc_FormDescriptions<false>[];
5
5
  export declare function getCache(name: string): IMchc_FormDescriptions<true>[] | undefined;
6
6
  export declare function setCache(name: string, data: IMchc_FormDescriptions<true>[]): void;
@@ -1,4 +1,9 @@
1
1
  import { IMchc_Nurse_OutpatientDocument, IMchc_Nurse_OutpatientDocument_physicalExam } from "./types";
2
+ export declare function process_conceiveMode_remote(conceiveMode?: number, conceiveModeNote?: string): {
3
+ value: number | undefined;
4
+ label: string;
5
+ text: string | undefined;
6
+ }[];
2
7
  export declare function process_OutpatientDocument_remote(data: IMchc_Nurse_OutpatientDocument): IMchc_Nurse_OutpatientDocument;
3
8
  export declare function process_OutpatientDocument_physicalExam_local(physicalExam?: IMchc_Nurse_OutpatientDocument_physicalExam): IMchc_Nurse_OutpatientDocument_physicalExam;
4
9
  export declare function process_OutpatientDocument_physicalExam_remote(physicalExam?: IMchc_Nurse_OutpatientDocument_physicalExam): IMchc_Nurse_OutpatientDocument_physicalExam;
@@ -1,6 +1,6 @@
1
1
  export * from './types';
2
+ import { Dayjs } from 'dayjs';
2
3
  import { IMchc_Questionnaire, IMchc_QuestionWrite, IMchc_WriteRecord } from './types';
3
- import { IMchc_Pregnancy } from '../Pregnancy';
4
4
  import { ICommonOption } from '@lm_fe/env';
5
5
  interface IFuck_Option {
6
6
  questionId: number;
@@ -27,13 +27,19 @@ export declare const SMchc_Questionnaire: {
27
27
  questionnaireId: number;
28
28
  }>, "questionnaire">): Promise<any>;
29
29
  fk_getResult(reqData: Omit<Partial<IFuck_ParamVO>, "beginFillDate" | "endFillDate"> & {
30
- fillDate: Moment[];
30
+ fillDate: Dayjs[];
31
31
  }, page?: number, size?: number): Promise<IMchc_QuestionWrite[]>;
32
32
  fk_downloadResult(reqData: Omit<Partial<IFuck_ParamVO>, "beginFillDate" | "endFillDate"> & {
33
- fillDate: Moment[];
33
+ fillDate: Dayjs[];
34
34
  }, page?: number, size?: number): Promise<Blob>;
35
35
  fk_getResultById(id: number): Promise<IMchc_QuestionWrite>;
36
- fk_getWriterRecords(preg?: Partial<IMchc_Pregnancy>): Promise<IMchc_WriteRecord[]>;
36
+ fk_getWriterRecords(preg?: Partial<{
37
+ outpatientNO: string;
38
+ id: any;
39
+ idNO: string;
40
+ telephone: string;
41
+ inpatientNO: string;
42
+ }>): Promise<IMchc_WriteRecord[]>;
37
43
  ignore_usr?: boolean;
38
44
  ignore_env?: boolean;
39
45
  eventTypeStore: any;
@@ -1,150 +1,84 @@
1
1
  import { ModelService } from "../../../ModelService";
2
- import { IMchc_FormDescriptions_Field_Nullable_Arr } from "../FormDescriptions";
2
+ import { IMchc_FormDescriptions_Field_Nullable, IMchc_FormDescriptions_Field_Nullable_Arr } from "../FormDescriptions";
3
+ import { stringify_bf_obj } from "./utils";
4
+ export { IMchc_FormDescriptions_Field_Nullable_Arr, stringify_bf_obj };
3
5
  export interface IMchc_TableConfig {
4
- "id": 16;
6
+ "id": any;
5
7
  "initialSearchValue": any;
8
+ "initialValues": any;
6
9
  searchParams: any;
7
10
  tableColumns: any;
8
11
  searchConfig: any;
9
12
  watchScript: any;
10
- "name": string;
11
- "dept": string;
12
- "apiPrefix": string;
13
- "title": string;
14
- "rowKey": string;
13
+ "name": any;
14
+ "dept": any;
15
+ "apiPrefix": any;
16
+ "title": any;
17
+ "rowKey": any;
15
18
  handleBeforePopup: any;
16
19
  genColumns: any;
17
20
  beforeSubmit: any;
18
- "showAction": number;
19
- "category": null;
20
- "needSync": number;
21
- "needPrint": null;
22
- "showAdd": number;
23
- "showExport": number;
21
+ "showAction": any;
22
+ "category": any;
23
+ "needSync": any;
24
+ "needPrint": any;
25
+ "showAdd": any;
26
+ "showExport": any;
24
27
  "deleteFlag": false;
25
28
  "renderExtraBtns": any;
26
29
  }
27
30
  declare class Mchc_TableConfig_Service extends ModelService<IMchc_TableConfig> {
28
31
  process_remote(config: IMchc_TableConfig, props?: any): {
29
- id: 16;
32
+ id: any;
30
33
  initialSearchValue: any;
34
+ initialValues: any;
31
35
  searchParams: any;
32
36
  tableColumns: any;
33
37
  searchConfig: any;
34
38
  watchScript: any;
35
- name: string;
36
- dept: string;
37
- apiPrefix: string;
38
- title: string;
39
- rowKey: string;
39
+ name: any;
40
+ dept: any;
41
+ apiPrefix: any;
42
+ title: any;
43
+ rowKey: any;
40
44
  handleBeforePopup: any;
41
45
  genColumns: any;
42
46
  beforeSubmit: any;
43
- showAction: number;
44
- category: null;
45
- needSync: number;
46
- needPrint: null;
47
- showAdd: number;
48
- showExport: number;
47
+ showAction: any;
48
+ category: any;
49
+ needSync: any;
50
+ needPrint: any;
51
+ showAdd: any;
52
+ showExport: any;
49
53
  deleteFlag: false;
50
54
  renderExtraBtns: any;
51
55
  };
56
+ clippy_local(value: any, example?: boolean): Promise<string>;
52
57
  process_local(config: Partial<IMchc_TableConfig>, props?: any): Promise<{
53
- id?: 16 | undefined;
58
+ id?: any;
54
59
  initialSearchValue?: any;
60
+ initialValues?: any;
55
61
  searchParams?: any;
56
62
  tableColumns?: any;
57
63
  searchConfig?: any;
58
64
  watchScript?: any;
59
- name?: string | undefined;
60
- dept?: string | undefined;
61
- apiPrefix?: string | undefined;
62
- title?: string | undefined;
63
- rowKey?: string | undefined;
65
+ name?: any;
66
+ dept?: any;
67
+ apiPrefix?: any;
68
+ title?: any;
69
+ rowKey?: any;
64
70
  handleBeforePopup?: any;
65
71
  genColumns?: any;
66
72
  beforeSubmit?: any;
67
- showAction?: number | undefined;
68
- category?: null | undefined;
69
- needSync?: number | undefined;
70
- needPrint?: null | undefined;
71
- showAdd?: number | undefined;
72
- showExport?: number | undefined;
73
+ showAction?: any;
74
+ category?: any;
75
+ needSync?: any;
76
+ needPrint?: any;
77
+ showAdd?: any;
78
+ showExport?: any;
73
79
  deleteFlag?: false | undefined;
74
80
  renderExtraBtns?: any;
75
81
  }>;
76
- transfer_fn_to_string(fd: IMchc_FormDescriptions_Field_Nullable_Arr): {
77
- usr1?: any;
78
- usr2?: any;
79
- remote_filter_key?: string;
80
- history_conf?: {
81
- "columnCode": "nt";
82
- "columnValue": null;
83
- "isNormal": null;
84
- "isOut": null;
85
- "reportId": null;
86
- "history": null;
87
- "report": null;
88
- };
89
- siblings?: import("../FormDescriptions").IMchc_FormDescriptions_Field_Nullable<false>[] | undefined;
90
- parent?: import("../FormDescriptions").IMchc_FormDescriptions_Field_Nullable<false> | undefined;
91
- __format?: boolean;
92
- createdTime?: string;
93
- deletedTime?: string;
94
- id?: number;
95
- inputType?: import("../FormDescriptions/types/InputType").IMchc_FormDescriptions_InputType;
96
- isActive?: number | boolean;
97
- isNewRow?: number | boolean;
98
- key?: string;
99
- dataIndex?: string | string[];
100
- label?: string;
101
- title?: string;
102
- width?: number;
103
- offset?: number;
104
- push?: number;
105
- pull?: number;
106
- sort?: number;
107
- align?: "center";
108
- fixed?: "left" | "right";
109
- required?: boolean | (() => boolean);
110
- ellipsis?: {
111
- showTitle?: boolean;
112
- } | boolean;
113
- updatedTime?: string;
114
- span?: number;
115
- containerType?: "section(default)" | "tabs" | "plain";
116
- collapsed?: boolean;
117
- styles?: import("@lm_fe/utils").AnyObject | undefined;
118
- props?: import("../FormDescriptions").IMchc_FormDescriptions_InputProps | undefined;
119
- inputProps?: import("../FormDescriptions").IMchc_FormDescriptions_InputProps | undefined;
120
- inputPropsFn?: (() => import("../FormDescriptions").IMchc_FormDescriptions_InputProps) | undefined;
121
- formItemLayout?: import("../FormDescriptions/types/FormItemLayout").IMchc_FormDescriptions_FormItemLayout | undefined;
122
- rules?: import("../FormDescriptions/types/Rules").IMchc_FormDescriptions_Rules | undefined;
123
- specialConfig?: import("../FormDescriptions/types/SpecialConfig").IMchc_FormDescriptions_SpecialConfig | undefined;
124
- tranferRules?: import("../FormDescriptions/types/TranferRules").IMchc_FormDescriptions_TranferRules | undefined;
125
- render?: ((value: any, rowData: any, index: number) => React.ReactNode) | undefined;
126
- disabled_check?: boolean;
127
- name?: string | undefined;
128
- hidden?: boolean | undefined;
129
- form_hidden?: boolean | undefined;
130
- input_type?: any;
131
- special_config?: any;
132
- tranfer_rules?: any;
133
- input_props?: any;
134
- form_item_layout?: any;
135
- labelCol?: any;
136
- wrapperCol?: any;
137
- layout?: string | undefined;
138
- fields?: import("../FormDescriptions").IMchc_FormDescriptions_Field_Nullable<false>[] | undefined;
139
- children?: import("../FormDescriptions").IMchc_FormDescriptions_Field_Nullable<false>[] | undefined;
140
- filterType?: import("../FormDescriptions").IMchc_FormDescriptions_FilterType;
141
- showDeps?: import("@lm_fe/utils").AnyObject<any[] | ((v: any) => boolean)> | ((f: import("antd").FormInstance) => boolean);
142
- requiredDeps?: import("@lm_fe/utils").AnyObject<any[] | ((v: any) => boolean)> | ((f: import("antd").FormInstance) => boolean);
143
- disabledDeps?: import("@lm_fe/utils").AnyObject<any[] | ((v: any) => boolean)> | ((f: import("antd").FormInstance) => boolean);
144
- processRemote?: ((v: any, form?: import("antd").FormInstance) => any) | undefined;
145
- processLocal?: ((v: any, form?: import("antd").FormInstance) => any) | undefined;
146
- checkWarn?: ((v: any, form?: import("antd").FormInstance) => boolean) | undefined;
147
- }[];
82
+ format_fd_arr(fd: IMchc_FormDescriptions_Field_Nullable_Arr): IMchc_FormDescriptions_Field_Nullable[];
148
83
  }
149
84
  export declare const SMchc_TableConfig: Mchc_TableConfig_Service;
150
- export {};
@@ -1,3 +1,4 @@
1
+ import { AnyObject } from "@lm_fe/utils";
1
2
  export interface IMchc_TableConfig {
2
3
  "id": 16;
3
4
  "initialSearchValue": any;
@@ -21,5 +22,9 @@ export interface IMchc_TableConfig {
21
22
  "showExport": number;
22
23
  "deleteFlag": false;
23
24
  }
24
- export declare function format_fn_string(config: any, name: string): void;
25
- export declare function make_bf_script_field(fd?: any, example?: boolean): string;
25
+ export declare function set_deps_string(config: AnyObject): void;
26
+ export declare function set_fn_string(config: AnyObject, name: string): void;
27
+ export declare function stringify_bf(fn_or_obj?: Function): string;
28
+ export declare function stringify_bf_fn(fn?: Function): string;
29
+ export declare function stringify_bf_obj(fd?: AnyObject | string, example?: boolean): string;
30
+ export declare function make_bf_string(str?: string, example?: boolean, is_fn?: boolean): string;
@@ -7,7 +7,7 @@ export interface IMchc_Permission {
7
7
  name: string;
8
8
  parentid: number;
9
9
  sort: number;
10
- type: "menu" | "route";
10
+ type: "menu" | "route" | "function";
11
11
  }
12
12
  export interface IMchc_Group {
13
13
  authorities: {
@@ -35,6 +35,13 @@ export interface IMchc_User {
35
35
  email: string;
36
36
  firstName: string;
37
37
  groups: IMchc_Group[];
38
+ groupRanks: {
39
+ "id": 3;
40
+ "name": "护士长";
41
+ "administrator": 1;
42
+ "rankSort": 0;
43
+ "groupId": 3;
44
+ }[];
38
45
  id: number;
39
46
  imageUrl: null;
40
47
  langKey: string;
@@ -1,27 +1,3 @@
1
1
  import { IMchc_HusbandBaseInfoOfOutpatient } from "../types";
2
2
  export declare function process_husbandBaseInfo_remote(data: IMchc_HusbandBaseInfoOfOutpatient): IMchc_HusbandBaseInfoOfOutpatient;
3
- export declare function process_husbandBaseInfo_local(_data: IMchc_HusbandBaseInfoOfOutpatient): {
4
- partnerName: null;
5
- partnerTelephone: "13567545645";
6
- partnerPatientNO: null;
7
- partnerIdType: null;
8
- partnerIdNO: null;
9
- partnerDob: null;
10
- partnerAge: null;
11
- partnerNationality: null;
12
- partnerNativeplace: null;
13
- partnerEthnic: null;
14
- partnerOccupation: null;
15
- smoke__: import("@lm_fe/env").ICommonOption[];
16
- smoke: number;
17
- smokeNote: string;
18
- alcohol__: import("@lm_fe/env").ICommonOption[];
19
- alcohol: number;
20
- alcoholNote: string;
21
- disease__: import("@lm_fe/env").ICommonOption[];
22
- disease: number;
23
- diseaseNote: string;
24
- partnerResidenceAddress: null;
25
- partnerPermanentResidenceAddress: null;
26
- id: number;
27
- };
3
+ export declare function process_husbandBaseInfo_local(_data: IMchc_HusbandBaseInfoOfOutpatient): IMchc_HusbandBaseInfoOfOutpatient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lm_fe/service",
3
- "version": "0.1.201",
3
+ "version": "0.2.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -23,12 +23,17 @@
23
23
  "author": "",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@lm_fe/env": "^0.1.201",
27
- "@lm_fe/static": "*",
28
- "@lm_fe/utils": "^0.1.201"
26
+ "@lm_fe/env": "0.2.2",
27
+ "@lm_fe/utils": "0.2.2",
28
+ "@noah-libjs/components": "*",
29
+ "dayjs": "^1.11.13",
30
+ "lodash": "*"
29
31
  },
30
32
  "devDependencies": {
31
33
  "rollup": "^2.70.2"
32
34
  },
33
- "gitHead": "ec1dcf6e3b2d06782779a21f536300bb2536ea6b"
35
+ "peerDependencies": {
36
+ "axios": "0.x"
37
+ },
38
+ "gitHead": "1ff13bdf8a20c78515bef188000c3855aa4663a5"
34
39
  }
@@ -1 +0,0 @@
1
- export * from './service';
@@ -1,6 +0,0 @@
1
- import { Mchc_Doctor_Service } from "../../../mchc";
2
- declare class Yxfy_Doctor_Service extends Mchc_Doctor_Service {
3
- getVisitEmrEditable(visitId: number): Promise<boolean>;
4
- }
5
- export declare const SYxfy_Doctor: Yxfy_Doctor_Service;
6
- export {};
@@ -1 +0,0 @@
1
- export * from './Doctor';