style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -87,9 +87,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { nextTick, ref, onMounted, getCurrentInstance } from 'vue';
|
||||
import { getAdviceBaseInfo, getDeviceList } from './api';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {getCurrentInstance, nextTick, onMounted, ref} from 'vue';
|
||||
import {getAdviceBaseInfo, getDeviceList} from './api';
|
||||
import {throttle} from 'lodash-es';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
// 使用系统统一的数据字典
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 病历相关接口
|
||||
/**
|
||||
* 获取患者列表
|
||||
|
||||
@@ -93,7 +93,6 @@ import {
|
||||
saveTcmDiagnosis,
|
||||
updateTcmDiagnosis,
|
||||
} from '@/views/doctorstation/components/api';
|
||||
import { update } from 'lodash';
|
||||
|
||||
const props = defineProps({
|
||||
openAddDiagnosisDialog: {
|
||||
|
||||
@@ -176,25 +176,24 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import {getCurrentInstance} from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import {
|
||||
getConditionDefinitionInfo,
|
||||
saveDiagnosis,
|
||||
diagnosisInit,
|
||||
deleteDiagnosisBind,
|
||||
getEncounterDiagnosis,
|
||||
getEmrDetail,
|
||||
getChronicDisease,
|
||||
getTcmDiagnosis,
|
||||
delEncounterDiagnosis,
|
||||
deleteDiagnosisBind,
|
||||
deleteTcmDiagnosis,
|
||||
diagnosisInit,
|
||||
getChronicDisease,
|
||||
getConditionDefinitionInfo,
|
||||
getEmrDetail,
|
||||
getEncounterDiagnosis,
|
||||
getTcmDiagnosis,
|
||||
isFoodDiseasesNew,
|
||||
saveDiagnosis,
|
||||
} from '../api';
|
||||
import diagnosisdialog from '../diagnosis/diagnosisdialog.vue';
|
||||
import AddDiagnosisDialog from './addDiagnosisDialog.vue';
|
||||
import diagnosislist from '../diagnosis/diagnosislist.vue';
|
||||
import { onMounted, onBeforeUnmount } from 'vue';
|
||||
// const diagnosisList = ref([]);
|
||||
const allowAdd = ref(false);
|
||||
const tree = ref([]);
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed } from 'vue';
|
||||
import { getDiagnosisDefinitionList, saveDiagnosisBind } from '../api';
|
||||
import {computed} from 'vue';
|
||||
import {getDiagnosisDefinitionList, saveDiagnosisBind} from '../api';
|
||||
|
||||
const radio = ref(1);
|
||||
const props = defineProps({
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getDiagnosisDefinitionList } from '../api';
|
||||
import {getDiagnosisDefinitionList} from '../api';
|
||||
|
||||
const props = defineProps({
|
||||
diagnosisSearchkey: {
|
||||
|
||||
@@ -150,12 +150,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { saveEmr, getEmrDetail, saveEmrTemplate } from '../api';
|
||||
import {getEmrDetail, saveEmr, saveEmrTemplate} from '../api';
|
||||
import emrTemplate from '../emr/emrtemplate.vue';
|
||||
import emrhistory from '../emr/emrhistory.vue';
|
||||
|
||||
import { ref, computed, watch, getCurrentInstance } from 'vue';
|
||||
import { formatDate as formatDateUtil } from '@/utils/index';
|
||||
import {computed, getCurrentInstance, ref, watch} from 'vue';
|
||||
import {formatDate as formatDateUtil} from '@/utils/index';
|
||||
|
||||
// Props
|
||||
const props = defineProps({
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { formatDate, formatDateymd } from '@/utils/index';
|
||||
import { getEmrHistoryList } from '../api';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import {getEmrHistoryList} from '../api';
|
||||
|
||||
const queryParams = ref({
|
||||
pageNum: 1,
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getEmrTemplateList, deleteEmrTemplate } from '../api';
|
||||
import {deleteEmrTemplate, getEmrTemplateList} from '../api';
|
||||
|
||||
const queryParams = ref({
|
||||
pageSize: 10,
|
||||
|
||||
@@ -427,25 +427,22 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
// import { calculateQuantityByDays, formatNumber } from '@/utils/his';
|
||||
import { reactive } from 'vue';
|
||||
import {reactive, ref} from 'vue';
|
||||
// import { useModal, useDict } from '@/hooks';
|
||||
import { parseTime, formatNumber } from '@/utils/his';
|
||||
import { queryYbCatalogue, getDiagnosisListEle } from './api';
|
||||
import { debounce } from 'lodash-es';
|
||||
|
||||
import {formatNumber, parseTime} from '@/utils/his';
|
||||
import {
|
||||
prescriptionNoInit,
|
||||
savePrescriptionInfo,
|
||||
getOrgTree,
|
||||
updatePrescriptionInfo,
|
||||
getEncounterDiagnosis,
|
||||
deletePrescriptionInfo,
|
||||
getMedicationInfo,
|
||||
getChronicDisease,
|
||||
getDiagnosisListEle,
|
||||
getEncounterDiagnosis,
|
||||
getMedicationInfo,
|
||||
prescriptionNoInit,
|
||||
queryYbCatalogue,
|
||||
savePrescriptionInfo
|
||||
} from './api';
|
||||
import prescriptionMedicineList from './prescription/prescriptionMedicineList';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const radio = ref(1);
|
||||
const props = defineProps({
|
||||
|
||||
@@ -136,18 +136,15 @@
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
elepPrescriptionInit,
|
||||
getEncounterDiagnosis,
|
||||
getPrescriptionList,
|
||||
getOrgTree,
|
||||
getPrescriptionInfo,
|
||||
updatePrescriptionInfo,
|
||||
getMedicationInfo,
|
||||
deletePrescriptionInfo,
|
||||
elepPrescriptionInit,
|
||||
getMedicationInfo,
|
||||
getPrescriptionInfo,
|
||||
issuancePrescription,
|
||||
updatePrescriptionInfo,
|
||||
} from './api';
|
||||
import eprescriptiondialog from './eprescriptiondialog.vue';
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import {getCurrentInstance} from 'vue';
|
||||
|
||||
const total = ref(0);
|
||||
const queryParams = ref({
|
||||
|
||||
@@ -184,13 +184,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
getInit,
|
||||
getOrgList,
|
||||
wardList,
|
||||
getDiagnosisDefinitionList,
|
||||
handleHospitalization,
|
||||
} from './api.js';
|
||||
import {getDiagnosisDefinitionList, getInit, getOrgList, handleHospitalization, wardList,} from './api.js';
|
||||
|
||||
const submitForm = reactive({
|
||||
medTypeCode: '21',
|
||||
|
||||
@@ -38,11 +38,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, defineEmits, unref, nextTick } from 'vue';
|
||||
import { getRecordByEncounterIdList, deleteRecord } from '../api';
|
||||
import { ElTree } from 'element-plus';
|
||||
import { ElMessageBox, ElMessage, ElLoading } from 'element-plus';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import {defineEmits, ref, unref} from 'vue';
|
||||
import {deleteRecord, getRecordByEncounterIdList} from '../api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
|
||||
const emits = defineEmits(['historyClick']);
|
||||
const props = defineProps({
|
||||
definitionId: {
|
||||
|
||||
@@ -26,11 +26,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, defineEmits, unref } from 'vue';
|
||||
import { getListByDefinitionId, deleteTemplate } from '../api';
|
||||
import { ElTree } from 'element-plus';
|
||||
import { ElMessageBox, ElMessage, ElLoading } from 'element-plus';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import {defineEmits, ref, unref} from 'vue';
|
||||
import {deleteTemplate, getListByDefinitionId} from '../api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const emits = defineEmits(['templateClick', 'edit']);
|
||||
const props = defineProps({
|
||||
definitionId: {
|
||||
|
||||
@@ -40,11 +40,10 @@
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { addTemplate, updateTemplate } from '../api';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { components } from '@/template';
|
||||
import {onMounted, ref} from 'vue';
|
||||
import {addTemplate, updateTemplate} from '../api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const emits = defineEmits(['submitOk']);
|
||||
const props = defineProps({
|
||||
formData: {
|
||||
|
||||
@@ -94,15 +94,21 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { nextTick, onMounted, ref, watch } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { getTreeList } from '@/views/basicmanage/caseTemplates/api';
|
||||
import { saveOrUpdateRecord, addTemplate, getRecordByEncounterIdList, recordPrint } from './api';
|
||||
import { patientInfo } from '../store/patient.js';
|
||||
import {nextTick, onMounted, ref, watch} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {getTreeList} from '@/views/basicmanage/caseTemplates/api';
|
||||
import {addTemplate, getRecordByEncounterIdList, recordPrint, saveOrUpdateRecord} from './api';
|
||||
import {patientInfo} from '../store/patient.js';
|
||||
import dayjs from 'dayjs';
|
||||
// 打印工具
|
||||
import { simplePrint, PRINT_TEMPLATE } from '@/utils/printUtils.js';
|
||||
import { getEncounterDiagnosis } from '../api';
|
||||
import {PRINT_TEMPLATE, simplePrint} from '@/utils/printUtils.js';
|
||||
import {getEncounterDiagnosis} from '../api';
|
||||
import History from './components/history';
|
||||
import Template from './components/template';
|
||||
import TemplateEdit from './components/templateEdit.vue';
|
||||
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits([]);
|
||||
const props = defineProps({
|
||||
@@ -116,11 +122,6 @@ const props = defineProps({
|
||||
},
|
||||
});
|
||||
const state = reactive({});
|
||||
import History from './components/history';
|
||||
import Template from './components/template';
|
||||
import TemplateEdit from './components/templateEdit.vue';
|
||||
|
||||
import useUserStore from '@/store/modules/user';
|
||||
const userStore = useUserStore();
|
||||
// 定义响应式变量
|
||||
const templateData = ref([]);
|
||||
|
||||
@@ -419,9 +419,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, computed, onMounted, watch } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { getInspectionApplicationList, saveInspectionApplication, deleteInspectionApplication } from '../api'
|
||||
import {onMounted, reactive, ref, watch} from 'vue'
|
||||
import {ElMessage, ElMessageBox} from 'element-plus'
|
||||
import {deleteInspectionApplication, getInspectionApplicationList, saveInspectionApplication} from '../api'
|
||||
|
||||
// Props
|
||||
const props = defineProps({
|
||||
|
||||
@@ -85,8 +85,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getList, receiveEncounter, leaveEncounter, completeEncounter } from './api';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import {completeEncounter, getList, leaveEncounter, receiveEncounter} from './api';
|
||||
import {formatDate, formatDateStr} from '@/utils/index';
|
||||
|
||||
const date = ref(formatDate(new Date()));
|
||||
const queryParams = ref({
|
||||
|
||||
@@ -71,8 +71,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessageBox, ElMessage } from 'element-plus';
|
||||
import { ref, nextTick, onBeforeUnmount } from 'vue';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {nextTick, onBeforeUnmount, ref} from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const dialogVisible = ref(false);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getOrderGroup } from '../api';
|
||||
import {getOrderGroup} from '../api';
|
||||
|
||||
const props = defineProps({
|
||||
diagnosis: {
|
||||
|
||||
@@ -69,8 +69,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getAdviceHistoryInfo } from '../api';
|
||||
import { formatNumber } from '@/utils/his';
|
||||
import {getAdviceHistoryInfo} from '../api';
|
||||
import {formatNumber} from '@/utils/his';
|
||||
|
||||
const props = defineProps({
|
||||
patientInfo: {
|
||||
|
||||
@@ -141,9 +141,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
//高精度库
|
||||
import Decimal from 'decimal.js';
|
||||
|
||||
const props = defineProps({
|
||||
open: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getAllMedicationInfo,getAllMedicationUsualInfo} from '../api';
|
||||
import { watch } from 'vue';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {getAllMedicationInfo, getAllMedicationUsualInfo} from '../api';
|
||||
import {watch} from 'vue';
|
||||
import {throttle} from 'lodash-es';
|
||||
|
||||
const props = defineProps({
|
||||
searchKey: {
|
||||
|
||||
@@ -965,40 +965,34 @@
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
getDiagnosisDefinitionList,
|
||||
savePrescription,
|
||||
getEncounterDiagnosis,
|
||||
getPrescriptionList,
|
||||
getOrgTree,
|
||||
savePrescriptionSign,
|
||||
singOut,
|
||||
saveEmr,
|
||||
getEmrDetail,
|
||||
updateGroupId,
|
||||
getContract,
|
||||
checkServicesHistory,
|
||||
getAdviceBaseInfo,
|
||||
getBindDevice,
|
||||
checkServicesHistory,
|
||||
getContract,
|
||||
getDiagnosisDefinitionList,
|
||||
getEmrDetail,
|
||||
getEncounterDiagnosis,
|
||||
getOrgTree,
|
||||
getPrescriptionList,
|
||||
saveEmr,
|
||||
savePrescription,
|
||||
savePrescriptionSign,
|
||||
singOut,
|
||||
updateGroupId,
|
||||
} from '../api';
|
||||
import { getAdjustPriceSwitchState } from '@/api/public';
|
||||
import {advicePrint, getAdjustPriceSwitchState} from '@/api/public';
|
||||
import adviceBaseList from '../adviceBaseList.vue';
|
||||
import { computed, getCurrentInstance, nextTick, ref, watch } from 'vue';
|
||||
import { calculateQuantityByDays, formatNumber } from '@/utils/his';
|
||||
import {computed, getCurrentInstance, nextTick, ref, watch} from 'vue';
|
||||
import {calculateQuantityByDays} from '@/utils/his';
|
||||
import OrderGroupDrawer from './orderGroupDrawer';
|
||||
import PrescriptionHistory from './prescriptionHistory';
|
||||
import OrderBindInfo from './orderBindInfo';
|
||||
import SkinTestInfo from './skinTestInfo';
|
||||
import Decimal from 'decimal.js';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { ElMessageBox, ElMessage } from 'element-plus';
|
||||
import { ArrowDown } from '@element-plus/icons-vue';
|
||||
import { advicePrint } from '@/api/public';
|
||||
import printUtils, {
|
||||
PRINT_TEMPLATE,
|
||||
getPrinterList,
|
||||
getCachedPrinter,
|
||||
savePrinterToCache,
|
||||
} from '@/utils/printUtils';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {ArrowDown} from '@element-plus/icons-vue';
|
||||
import printUtils, {getPrinterList, PRINT_TEMPLATE, savePrinterToCache,} from '@/utils/printUtils';
|
||||
|
||||
const emit = defineEmits(['selectDiagnosis']);
|
||||
const total = ref(0);
|
||||
|
||||
@@ -93,8 +93,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getEncounterPatientPayment, refundPayment } from '../api';
|
||||
import { handleColor } from '@/utils/his';
|
||||
import {getEncounterPatientPayment, refundPayment} from '../api';
|
||||
import {handleColor} from '@/utils/his';
|
||||
|
||||
const props = defineProps({
|
||||
open: {
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessageBox, ElMessage } from 'element-plus';
|
||||
import { ref, nextTick, onBeforeUnmount } from 'vue';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {nextTick, onBeforeUnmount, ref} from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const dialogVisible = ref(false);
|
||||
|
||||
@@ -84,9 +84,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { getProofResult, getTestResult } from './api';
|
||||
import {getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {getProofResult, getTestResult} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
|
||||
@@ -134,15 +134,15 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, reactive } from 'vue';
|
||||
import {computed, reactive, ref} from 'vue';
|
||||
import {
|
||||
getReservationInfo,
|
||||
addReservationInfo,
|
||||
editReservationInfo,
|
||||
delReservationInfo,
|
||||
editReservationInfo,
|
||||
getReservationInfo,
|
||||
queryParticipantList,
|
||||
} from './api';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const showForm = ref(false);
|
||||
const selectedDate = ref(new Date());
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @Description:
|
||||
*/
|
||||
// import { IInPatient } from '@/model/IInPatient'
|
||||
import { ref } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
|
||||
// 定义护士等级(没接口前mock)
|
||||
export const nursingLevel = ref('0');
|
||||
|
||||
@@ -411,28 +411,26 @@
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
getDiagnosisDefinitionList,
|
||||
getEncounterDiagnosis,
|
||||
saveTcmAdvice,
|
||||
getTcmAdviceList,
|
||||
getOrgTree,
|
||||
signTcmAdvice,
|
||||
getTcmDiagnosis,
|
||||
signOutTcmAdvice,
|
||||
updateGroupId,
|
||||
getContract,
|
||||
getAdviceBaseInfo,
|
||||
getDiagnosisDefinitionList,
|
||||
getOrgTree,
|
||||
getTcmAdviceList,
|
||||
getTcmDiagnosis,
|
||||
savePrescription,
|
||||
saveTcmAdvice,
|
||||
signOutTcmAdvice,
|
||||
signTcmAdvice,
|
||||
} from '@/views/doctorstation/components/api';
|
||||
import tcmMedicineList from './tcmMedicineList';
|
||||
import { computed, getCurrentInstance, nextTick, watch } from 'vue';
|
||||
import { calculateQuantityByDays, formatNumber } from '@/utils/his';
|
||||
import {computed, getCurrentInstance, nextTick} from 'vue';
|
||||
import {formatNumber} from '@/utils/his';
|
||||
import Decimal from 'decimal.js';
|
||||
import tcmdiagnosisDialog from './tcmdiagnosisDialog';
|
||||
import { Delete, Minus } from '@element-plus/icons-vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import printUtils, { PRINT_TEMPLATE } from '@/utils/printUtils';
|
||||
import { advicePrint } from '@/api/public';
|
||||
import {Delete} from '@element-plus/icons-vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import printUtils, {PRINT_TEMPLATE} from '@/utils/printUtils';
|
||||
import {advicePrint} from '@/api/public';
|
||||
|
||||
const emit = defineEmits(['selectDiagnosis']);
|
||||
const total = ref(0);
|
||||
const queryParams = ref({});
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { nextTick } from 'vue';
|
||||
import { getTcmMedicine } from '@/views/doctorstation/components/api';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {nextTick} from 'vue';
|
||||
import {getTcmMedicine} from '@/views/doctorstation/components/api';
|
||||
import {throttle} from 'lodash-es';
|
||||
|
||||
const props = defineProps({
|
||||
adviceQueryParams: {
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { getTcmCondition, getTcmSyndrome, saveTcmDiagnosis } from '@/views/doctorstation/components/api';
|
||||
import {ref} from 'vue';
|
||||
import {getTcmCondition, getTcmSyndrome} from '@/views/doctorstation/components/api';
|
||||
|
||||
const condition = ref('');
|
||||
const syndrome = ref('');
|
||||
|
||||
@@ -202,11 +202,17 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { Search, Plus, Check, Close, Refresh } from '@element-plus/icons-vue'
|
||||
import { getDoctorPhraseList, searchDoctorPhraseList, addDoctorPhrase, deleteDoctorPhrase, updateDoctorPhrase } from './api'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { useDict } from '@/utils/dict'
|
||||
import {onMounted, ref} from 'vue'
|
||||
import {Check, Close, Plus, Refresh, Search} from '@element-plus/icons-vue'
|
||||
import {
|
||||
addDoctorPhrase,
|
||||
deleteDoctorPhrase,
|
||||
getDoctorPhraseList,
|
||||
searchDoctorPhraseList,
|
||||
updateDoctorPhrase
|
||||
} from './api'
|
||||
import {ElMessage, ElMessageBox} from 'element-plus'
|
||||
import {useDict} from '@/utils/dict'
|
||||
|
||||
// 搜索条件
|
||||
const searchScope = ref(null) // null表示未选择,数字类型:1=个人,2=科室,3=全院
|
||||
|
||||
@@ -199,14 +199,13 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import hospitalizationEmr from './components/hospitalizationEmr/index.vue';
|
||||
import Emr from './components/emr/emr.vue';
|
||||
import {
|
||||
getList,
|
||||
leaveEncounter,
|
||||
completeEncounter,
|
||||
getEnPrescriptionInfo,
|
||||
isHospitalization,
|
||||
getEncounterDiagnosis,
|
||||
getEnPrescriptionInfo,
|
||||
getList,
|
||||
isHospitalization,
|
||||
leaveEncounter,
|
||||
} from './components/api.js';
|
||||
import prescriptionlist from './components/prescription/prescriptionlist.vue';
|
||||
import RefundListDialog from './components/prescription/refundListDialog.vue';
|
||||
@@ -218,12 +217,11 @@ import eprescriptionlist from './components/eprescriptionlist.vue';
|
||||
import HospitalizationDialog from './components/hospitalizationDialog.vue';
|
||||
import tcmAdvice from './components/tcm/tcmAdvice.vue';
|
||||
import inspectionApplication from './components/inspection/inspectionApplication.vue';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import {formatDate, formatDateStr} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { nextTick } from 'vue';
|
||||
import { onBeforeRouteLeave } from 'vue-router';
|
||||
import { updatePatientInfo } from './components/store/patient.js';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {nextTick} from 'vue';
|
||||
import {updatePatientInfo} from './components/store/patient.js';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
// // 监听路由离开事件
|
||||
// onBeforeRouteLeave((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user