style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, nextTick, watch, computed } from 'vue';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {computed, nextTick, ref, watch} from 'vue';
|
||||
import {throttle} from 'lodash-es';
|
||||
import Table from '@/components/TableLayout/Table.vue';
|
||||
import { getAdviceBaseInfo } from './api';
|
||||
import type { TableColumn } from '@/components/types/TableLayout.d';
|
||||
import {getAdviceBaseInfo} from './api';
|
||||
import type {TableColumn} from '@/components/types/TableLayout.d';
|
||||
|
||||
interface Props {
|
||||
adviceQueryParams?: {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 申请单相关接口
|
||||
|
||||
/**
|
||||
|
||||
@@ -106,11 +106,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getBloodTransfusion } from './api';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
import {computed, getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {getBloodTransfusion} from './api';
|
||||
import {getOrgList} from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -106,11 +106,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getCheck } from './api';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
import {computed, getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {getCheck} from './api';
|
||||
import {getOrgList} from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -151,11 +151,11 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { getCurrentInstance, onMounted, ref, reactive, watch } from 'vue';
|
||||
import { getNursingOrdersInfos, saveNursingOrders, getEncounterNursingOrders } from './api';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import {getCurrentInstance, onMounted, reactive, ref, watch} from 'vue';
|
||||
import {getEncounterNursingOrders, getNursingOrdersInfos, saveNursingOrders} from './api';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
// 导入获取诊断信息的API
|
||||
import { getEncounterDiagnosis } from '@/views/doctorstation/components/api';
|
||||
import {getEncounterDiagnosis} from '@/views/doctorstation/components/api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -84,10 +84,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getProofResult, getTestResult } from './api';
|
||||
import {getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {getProofResult, getTestResult} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -106,11 +106,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getSurgery } from './api';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
import {computed, getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {getSurgery} from './api';
|
||||
import {getOrgList} from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -106,11 +106,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getInspection } from './api';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
import {computed, getCurrentInstance, ref, watch} from 'vue';
|
||||
import {Refresh} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {getInspection} from './api';
|
||||
import {getOrgList} from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -87,12 +87,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
getTcmCondition,
|
||||
getTcmSyndrome,
|
||||
saveTcmDiagnosis,
|
||||
} from '@/views/doctorstation/components/api';
|
||||
import { computed } from 'vue';
|
||||
import {getTcmCondition, getTcmSyndrome, saveTcmDiagnosis,} from '@/views/doctorstation/components/api';
|
||||
import {computed} from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
openAddDiagnosisDialog: {
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup>
|
||||
import { reactive, ref, onMounted, inject } from 'vue'
|
||||
import { dayjs, ElMessage } from 'element-plus'
|
||||
import {onMounted, reactive, ref} from 'vue'
|
||||
import {dayjs} from 'element-plus'
|
||||
// import { IInPatient } from '@/model/IInPatient'
|
||||
|
||||
const currentInPatient = ref({})
|
||||
|
||||
@@ -167,26 +167,26 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, nextTick } from 'vue'; // 添加 nextTick 导入
|
||||
import {getCurrentInstance} from 'vue'; // 添加 nextTick 导入
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import {
|
||||
getConditionDefinitionInfo,
|
||||
saveDiagnosis,
|
||||
diagnosisInit,
|
||||
deleteDiagnosisBind,
|
||||
getEncounterDiagnosis,
|
||||
getEmrDetail,
|
||||
getChronicDisease,
|
||||
getTcmDiagnosis,
|
||||
delEncounterDiagnosis,
|
||||
deleteDiagnosisBind,
|
||||
diagnosisInit,
|
||||
getChronicDisease,
|
||||
getConditionDefinitionInfo,
|
||||
getEmrDetail,
|
||||
getEncounterDiagnosis,
|
||||
getTcmDiagnosis,
|
||||
isFoodDiseasesNew,
|
||||
saveDiagnosis,
|
||||
} from '../api';
|
||||
import { deleteTcmDiagnosis } from '@/views/doctorstation/components/api.js';
|
||||
import {deleteTcmDiagnosis} from '@/views/doctorstation/components/api.js';
|
||||
import diagnosisdialog from '../diagnosis/diagnosisdialog.vue';
|
||||
import AddDiagnosisDialog from './addDiagnosisDialog.vue';
|
||||
import diagnosislist from '../diagnosis/diagnosislist.vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import {ElMessage} from 'element-plus';
|
||||
// const diagnosisList = ref([]);
|
||||
const allowAdd = ref(false);
|
||||
const tree = ref([]);
|
||||
|
||||
@@ -60,8 +60,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: {
|
||||
|
||||
@@ -68,14 +68,15 @@
|
||||
<ChineseMedicineDialog v-model:visible="ChineseMedicineDialogVisible" />
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
<script setup>
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue'
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
// import DiagnoseFolder from './diagnoseFolder.vue'
|
||||
import WesternMedicineDialog from './westernMedicineDialog.vue'
|
||||
import ChineseMedicineDialog from './chineseMedicineDialog.vue'
|
||||
|
||||
const diagnoseData = ref([
|
||||
{
|
||||
id: 1,
|
||||
|
||||
@@ -120,8 +120,7 @@
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup>
|
||||
import { reactive, ref, onMounted, inject } from 'vue'
|
||||
import { dayjs, ElMessage } from 'element-plus'
|
||||
import {onMounted, reactive, ref} from 'vue'
|
||||
|
||||
const currentInPatient = ref({})
|
||||
const initCurrentInPatient = () => {
|
||||
|
||||
@@ -422,7 +422,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, nextTick, getCurrentInstance, watch, onMounted } from 'vue';
|
||||
import {getCurrentInstance, nextTick, onMounted, ref, watch} from 'vue';
|
||||
|
||||
interface Config {
|
||||
diagnosisName: string; // 仅用于显示
|
||||
|
||||
@@ -56,20 +56,13 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import {
|
||||
getCurrentInstance,
|
||||
onBeforeMount,
|
||||
onMounted,
|
||||
reactive,
|
||||
ref,
|
||||
computed,
|
||||
nextTick,
|
||||
} from 'vue';
|
||||
import {computed, getCurrentInstance, nextTick, onBeforeMount, onMounted, reactive, ref,} from 'vue';
|
||||
import BloodTransfusion from './bloodTransfusion.vue';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
import Surgery from './surgery.vue';
|
||||
import LaboratoryTests from './laboratoryTests.vue';
|
||||
import MedicalExaminations from './medicalExaminations.vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['refResh']);
|
||||
const props = defineProps({});
|
||||
|
||||
@@ -78,14 +78,15 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup name="BloodTransfusion">
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import { getOrgList } from '../../../../../basicmanage/ward/components/api.js';
|
||||
import { getEncounterDiagnosis } from '../../api.js';
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
import {getOrgList} from '../../../../../basicmanage/ward/components/api.js';
|
||||
import {getEncounterDiagnosis} from '../../api.js';
|
||||
import {getApplicationList, saveBloodTransfusio} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['submitOk']);
|
||||
const props = defineProps({});
|
||||
import { getApplicationList, saveBloodTransfusio } from './api';
|
||||
const state = reactive({});
|
||||
const applicationListAll = ref();
|
||||
const applicationList = ref();
|
||||
|
||||
@@ -78,15 +78,16 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup name="LaboratoryTests">
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, watch } from 'vue';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive, watch} from 'vue';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
import {getApplicationList, saveInspection} from './api';
|
||||
import {getOrgList} from '../../../../../basicmanage/ward/components/api.js';
|
||||
import {getEncounterDiagnosis} from '../../api.js';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['submitOk']);
|
||||
const props = defineProps({});
|
||||
import { getApplicationList, saveInspection } from './api';
|
||||
import { getOrgList } from '../../../../../basicmanage/ward/components/api.js';
|
||||
import { getEncounterDiagnosis } from '../../api.js';
|
||||
import { ElMessage } from 'element-plus';
|
||||
const state = reactive({});
|
||||
const applicationListAll = ref();
|
||||
const applicationList = ref();
|
||||
|
||||
@@ -40,9 +40,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { toRaw } from 'vue';
|
||||
import { leaveHospital } from '../../api';
|
||||
import { dayjs } from 'element-plus';
|
||||
import {leaveHospital} from '../../api';
|
||||
import {dayjs} from 'element-plus';
|
||||
|
||||
const props = defineProps({
|
||||
encounterId: {
|
||||
|
||||
@@ -78,16 +78,17 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup name="MedicalExaminations">
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, watch } from 'vue';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import { getOrgList } from '../../../../../basicmanage/ward/components/api.js';
|
||||
import { getEncounterDiagnosis } from '../../api.js';
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive, watch} from 'vue';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
import {getOrgList} from '../../../../../basicmanage/ward/components/api.js';
|
||||
import {getEncounterDiagnosis} from '../../api.js';
|
||||
import {getApplicationList, saveCheckd} from './api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['submitOk']);
|
||||
const props = defineProps({});
|
||||
const orgOptions = ref([]); // 科室选项
|
||||
import { getApplicationList, saveCheckd } from './api';
|
||||
import { ElMessage } from 'element-plus';
|
||||
const state = reactive({});
|
||||
const applicationListAll = ref();
|
||||
const applicationList = ref();
|
||||
|
||||
@@ -78,15 +78,16 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup name="Surgery">
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive } from 'vue';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import { getOrgList } from '../../../../../basicmanage/ward/components/api.js';
|
||||
import { getEncounterDiagnosis } from '../../api.js';
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive} from 'vue';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
import {getOrgList} from '../../../../../basicmanage/ward/components/api.js';
|
||||
import {getEncounterDiagnosis} from '../../api.js';
|
||||
import {getApplicationList, saveSurgery} from './api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['submitOk']);
|
||||
const props = defineProps({});
|
||||
import { getApplicationList, saveSurgery } from './api';
|
||||
import { ElMessage } from 'element-plus';
|
||||
const state = reactive({});
|
||||
const applicationListAll = ref();
|
||||
const applicationList = ref();
|
||||
|
||||
@@ -62,9 +62,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { transferOrganization } from './api.js';
|
||||
import { getWardList, getOrgList } from '@/api/public.js';
|
||||
import { patientInfo } from '../../../store/patient.js';
|
||||
import {transferOrganization} from './api.js';
|
||||
import {getOrgList, getWardList} from '@/api/public.js';
|
||||
import {patientInfo} from '../../../store/patient.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const dialogVisible = ref(false);
|
||||
const deptList = ref([]); // 科室列表
|
||||
|
||||
@@ -333,33 +333,34 @@
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
getDiagnosisDefinitionList,
|
||||
savePrescription,
|
||||
getEncounterDiagnosis,
|
||||
getPrescriptionList,
|
||||
getOrgTree,
|
||||
savePrescriptionSign,
|
||||
singOut,
|
||||
updateGroupId,
|
||||
getContract,
|
||||
getAdviceBaseInfo,
|
||||
getBindDevice,
|
||||
getContract,
|
||||
getDiagnosisDefinitionList,
|
||||
getEncounterDiagnosis,
|
||||
getOrgTree,
|
||||
getPrescriptionList,
|
||||
savePrescription,
|
||||
savePrescriptionSign,
|
||||
singOut,
|
||||
stopAdvice,
|
||||
updateGroupId,
|
||||
} from '../api';
|
||||
import adviceBaseList from '../adviceBaseList';
|
||||
import { calculateQuantityByDays, formatNumber } from '@/utils/his';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import {calculateQuantityByDays} from '@/utils/his';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
import OrderGroupDrawer from '@/views/doctorstation/components/prescription/orderGroupDrawer.vue';
|
||||
import PrescriptionHistory from '@/views/doctorstation/components/prescription/prescriptionHistory.vue';
|
||||
import Decimal from 'decimal.js';
|
||||
import { ElLoading, ElMessage, ElMessageBox } from 'element-plus';
|
||||
import {ElLoading, ElMessage, ElMessageBox} from 'element-plus';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import ApplicationFormBottomBtn from './applicationForm/applicationFormBottomBtn.vue';
|
||||
import LeaveHospitalDialog from './applicationForm/leaveHospitalDialog.vue';
|
||||
import TransferOrganizationDialog from './applicationForm/transferOrganizationDialog.vue';
|
||||
import NursingStatus from '@/views/inpatientDoctor/home/components/applicationShow/nursingStatus.vue';
|
||||
import OrderForm from './OrderForm.vue';
|
||||
import { computed, watch } from 'vue';
|
||||
import {computed, watch} from 'vue';
|
||||
|
||||
const emit = defineEmits(['selectDiagnosis']);
|
||||
const total = ref(0);
|
||||
const queryParams = ref({});
|
||||
|
||||
@@ -81,13 +81,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
<script setup>
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue'
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
import { orderTableData } from './useOrder'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import {orderTableData} from './useOrder'
|
||||
import {ElMessage} from 'element-plus'
|
||||
|
||||
const state = reactive({})
|
||||
onBeforeMount(() => {})
|
||||
onMounted(() => {})
|
||||
|
||||
@@ -35,12 +35,12 @@
|
||||
</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 { Delete } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import {defineEmits, nextTick, ref, unref} from 'vue';
|
||||
import {deleteRecord, getRecordByEncounterIdList} from '../api';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {Delete} from '@element-plus/icons-vue';
|
||||
import {patientInfo} from '../../store/patient.js';
|
||||
|
||||
const emits = defineEmits(['historyClick']);
|
||||
const props = defineProps({
|
||||
definitionId: {
|
||||
|
||||
@@ -26,12 +26,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, defineEmits, unref } from 'vue';
|
||||
import { getListByDefinitionId } from '../api';
|
||||
import { ElTree } from 'element-plus';
|
||||
import { ElMessageBox, ElMessage, ElLoading } from 'element-plus';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { Edit } from '@element-plus/icons-vue';
|
||||
import {defineEmits, ref, unref} from 'vue';
|
||||
import {getListByDefinitionId} from '../api';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {Edit} from '@element-plus/icons-vue';
|
||||
|
||||
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: {
|
||||
|
||||
@@ -111,26 +111,26 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { getCurrentInstance, nextTick, onBeforeMount, onMounted, reactive, ref, watch } from 'vue';
|
||||
import { ElMessageBox, ElMessage, ElLoading } from 'element-plus';
|
||||
import { getTreeList } from '@/views/basicmanage/caseTemplates/api';
|
||||
import { saveOrUpdateRecord, addTemplate, getRecordByEncounterIdList } from './api';
|
||||
import { patientInfo } from '../store/patient.js';
|
||||
import {nextTick, onMounted, reactive, ref, watch} from 'vue';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {getTreeList} from '@/views/basicmanage/caseTemplates/api';
|
||||
import {addTemplate, getRecordByEncounterIdList, saveOrUpdateRecord} from './api';
|
||||
import {patientInfo} from '../store/patient.js';
|
||||
import NursingStatus from '@/views/inpatientDoctor/home/components/applicationShow/nursingStatus.vue';
|
||||
import dayjs from 'dayjs';
|
||||
// 打印工具
|
||||
import { simplePrint, PRINT_TEMPLATE } from '@/utils/printUtils.js';
|
||||
import {PRINT_TEMPLATE, simplePrint} from '@/utils/printUtils.js';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import History from './components/history';
|
||||
import Template from './components/template';
|
||||
import TemplateEdit from './components/templateEdit.vue';
|
||||
|
||||
const userStore = useUserStore();
|
||||
// 移除未使用的变量
|
||||
// const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits([]);
|
||||
const props = defineProps({});
|
||||
const state = reactive({});
|
||||
import History from './components/history';
|
||||
import Template from './components/template';
|
||||
import TemplateEdit from './components/templateEdit.vue';
|
||||
import formDataJs from '../../../doctorstation/components/store/medicalpage.js';
|
||||
// 定义响应式变量
|
||||
const templateData = ref([]);
|
||||
const queryParams = ref({
|
||||
|
||||
@@ -11,6 +11,7 @@ import SurgeryApplication from './components/applicationShow/surgeryApplication.
|
||||
import TestApplication from './components/applicationShow/testApplication.vue';
|
||||
import NursingStatus from './components/applicationShow/nursingStatus.vue';
|
||||
import ReportQuery from './components/applicationShow/reportQuery.vue';
|
||||
|
||||
export {
|
||||
Advice,
|
||||
Diagnose,
|
||||
|
||||
@@ -41,32 +41,23 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import {
|
||||
getCurrentInstance,
|
||||
onBeforeMount,
|
||||
onMounted,
|
||||
reactive,
|
||||
ref,
|
||||
watch,
|
||||
provide,
|
||||
computed,
|
||||
} from 'vue';
|
||||
import {computed, onBeforeMount, onMounted, provide, reactive, ref, watch,} from 'vue';
|
||||
|
||||
import Emr from './emr/index.vue';
|
||||
import inPatientBarDoctorFold from '@/components/patientBar/inPatientBarDoctorFold.vue';
|
||||
import PatientList from '@/components/PatientList/patient-list.vue';
|
||||
import { patientInfo, updatePatientInfo } from './store/patient';
|
||||
import { getPatientList } from './components/api';
|
||||
import {patientInfo, updatePatientInfo} from './store/patient';
|
||||
import {getPatientList} from './components/api';
|
||||
import {
|
||||
Advice,
|
||||
Diagnose,
|
||||
BloodTtransfusionAapplication,
|
||||
Diagnose,
|
||||
ExamineApplication,
|
||||
ReportQuery,
|
||||
SurgeryApplication,
|
||||
TestApplication,
|
||||
NursingStatus,
|
||||
ReportQuery,
|
||||
} from './index.js';
|
||||
|
||||
const state = reactive({});
|
||||
onBeforeMount(() => {});
|
||||
onMounted(() => {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @Description:
|
||||
*/
|
||||
// import { IInPatient } from '@/model/IInPatient'
|
||||
import { ref } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
|
||||
// 定义护士等级(没接口前mock)
|
||||
export const nursingLevel = ref('0');
|
||||
|
||||
Reference in New Issue
Block a user