|
@@ -10,6 +10,7 @@ import {
|
|
|
} from "@/api/mz-emr/mz-emr";
|
|
|
import { EditType, Runtime } from "@/utils/emr/edit";
|
|
|
import {
|
|
|
+ getBusiness,
|
|
|
getCurrentPersonnelInformation,
|
|
|
UseEmrInitReturn,
|
|
|
} from "@/utils/emr/emr-init-v2";
|
|
@@ -410,9 +411,7 @@ export const useMzEmrStore = () => {
|
|
|
type: "success",
|
|
|
});
|
|
|
const tmpSaveParams = {
|
|
|
- emrDataElement: JSON.stringify(
|
|
|
- editor.getDataElements("business", false, true)
|
|
|
- ),
|
|
|
+ emrDataElement: JSON.stringify(getBusiness(editor)),
|
|
|
emrDocumentId: id,
|
|
|
document: { document: editor!.getDocument() },
|
|
|
};
|