|
|
@@ -180,33 +180,20 @@ import {
|
|
|
useHistoricalData
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/emr-function/useEmrFunction";
|
|
|
import PatientInfoView from "@/components/zhu-yuan-yi-sheng/public/PatientInfoView.vue";
|
|
|
+import EmrWebSocket from '@/components/zhu-yuan-yi-sheng/emr/web-socket/EmrWebSocket.vue';
|
|
|
+import EmrFirstPageOfMedicalRecord from '@/components/zhu-yuan-yi-sheng/emr/EmrFirstPageOfMedicalRecord.vue';
|
|
|
+import EmrStyleBar from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrStyleBar.vue';
|
|
|
+import EmrAuditV2 from './components/emr-audit/index.vue';
|
|
|
+import EmrFunctionList from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/emr-function/EmrFunctionList.vue';
|
|
|
+import EmrSaveRules from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSaveRules.vue';
|
|
|
+import ReportOfInfectiousDiseases from '@/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/report-of-infectious-diseases/ReportOfInfectiousDiseases.vue';
|
|
|
+import ChooseToFillInData from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/ChooseToFillInData.vue';
|
|
|
+import EmrPopup from '@/components/zhu-yuan-yi-sheng/emr/EmrPopup.vue';
|
|
|
+import EmrAuxiliaryTools from '@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrAuxiliaryTools.vue';
|
|
|
+import EmrRightComp from './components/emr-right/EmrRightComp.vue';
|
|
|
+import EmrSidebar from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSidebar.tsx';
|
|
|
+import EmrRefreshDialog from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrRefreshDialog.vue';
|
|
|
|
|
|
-const EmrWebSocket = defineAsyncComponent(() =>
|
|
|
- import("@/components/zhu-yuan-yi-sheng/emr/web-socket/EmrWebSocket.vue"))
|
|
|
-const EmrFirstPageOfMedicalRecord = defineAsyncComponent(() =>
|
|
|
- import("@/components/zhu-yuan-yi-sheng/emr/EmrFirstPageOfMedicalRecord.vue"))
|
|
|
-const EmrStyleBar = defineAsyncComponent(() =>
|
|
|
- import("@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrStyleBar.vue"))
|
|
|
-const EmrAuditV2 = defineAsyncComponent(() =>
|
|
|
- import("./components/emr-audit/index.vue"))
|
|
|
-const EmrFunctionList = defineAsyncComponent(() =>
|
|
|
- import("@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/emr-function/EmrFunctionList.vue"))
|
|
|
-const EmrSaveRules = defineAsyncComponent(() =>
|
|
|
- import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSaveRules.vue'));
|
|
|
-const ReportOfInfectiousDiseases = defineAsyncComponent(() =>
|
|
|
- import('@/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/report-of-infectious-diseases/ReportOfInfectiousDiseases.vue'));
|
|
|
-const ChooseToFillInData = defineAsyncComponent(() =>
|
|
|
- import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/ChooseToFillInData.vue'));
|
|
|
-const EmrPopup = defineAsyncComponent(() =>
|
|
|
- import('@/components/zhu-yuan-yi-sheng/emr/EmrPopup.vue'));
|
|
|
-const EmrAuxiliaryTools = defineAsyncComponent(() =>
|
|
|
- import('@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrAuxiliaryTools.vue'));
|
|
|
-const EmrRightComp = defineAsyncComponent(() =>
|
|
|
- import('./components/emr-right/EmrRightComp.vue'));
|
|
|
-const EmrSidebar = defineAsyncComponent(() =>
|
|
|
- import("@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrSidebar.tsx"));
|
|
|
-const EmrRefreshDialog = defineAsyncComponent(() =>
|
|
|
- import("@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrRefreshDialog.vue"));
|
|
|
|
|
|
const userInfo = useUserStore().userInfo
|
|
|
const editRef = ref(null)
|
|
|
@@ -574,7 +561,7 @@ const clickSaveData = async () => {
|
|
|
if (documentSocket === null) {
|
|
|
await CyMessageBox.alert({
|
|
|
message: '未连接上服务器,无法保存,请刷新页面,或重新打开病历。',
|
|
|
- title: '如法保存',
|
|
|
+ title: '无法保存',
|
|
|
type: 'warning'
|
|
|
}).catch(() => {
|
|
|
|