style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -250,13 +250,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import { getAdviceBaseInfo, getOrgList, getDiseaseTreatmentInitLoc } from './api.js';
|
||||
import {computed, onMounted, reactive, ref, watch} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getAdviceBaseInfo, getDiseaseTreatmentInitLoc, getOrgList} from './api.js';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { get } from 'lodash';
|
||||
import { lo } from 'element-plus/es/locales.mjs';
|
||||
|
||||
// Props定义
|
||||
const props = defineProps({
|
||||
|
||||
@@ -211,10 +211,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {onMounted, ref} from 'vue';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
|
||||
// 响应式数据
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -262,14 +262,14 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, computed, nextTick, watch } from 'vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import {computed, nextTick, onMounted, ref, watch} from 'vue';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
// Element Plus 图标导入
|
||||
import { User, Download } from '@element-plus/icons-vue';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {User} from '@element-plus/icons-vue';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import FeeDialog from './FeeDialog.vue';
|
||||
import { addBilling, queryBilling, deleteBilling } from './api.js';
|
||||
import {addBilling, deleteBilling, queryBilling} from './api.js';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
// ========== 核心工具函数 ==========
|
||||
|
||||
@@ -168,11 +168,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { getSinglePatient } from '../store/patient.js'; // 导入获取单选患者信息的方法
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {computed, onMounted, ref} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {getSinglePatient} from '../store/patient.js'; // 导入获取单选患者信息的方法
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
// 响应式数据
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -236,13 +236,14 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue';
|
||||
import {computed, onMounted, reactive, ref, watch} from 'vue';
|
||||
import moment from 'moment';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import { getCostDetail } from './api.js';
|
||||
import { getOrgList } from '../../../basicmanage/ward/components/api.js';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getCostDetail} from './api.js';
|
||||
import {getOrgList} from '../../../basicmanage/ward/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { med_chrgitm_type } = proxy.useDict('med_chrgitm_type');
|
||||
|
||||
|
||||
@@ -340,14 +340,15 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue';
|
||||
import {computed, onMounted, reactive, ref, watch} from 'vue';
|
||||
import moment from 'moment';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import { getCostDetail } from './api.js';
|
||||
import { getOrgList } from '../../../basicmanage/ward/components/api.js';
|
||||
import { User } from '@element-plus/icons-vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getCostDetail} from './api.js';
|
||||
import {getOrgList} from '../../../basicmanage/ward/components/api.js';
|
||||
import {User} from '@element-plus/icons-vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { med_chrgitm_type } = proxy.useDict('med_chrgitm_type');
|
||||
|
||||
|
||||
@@ -60,14 +60,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, nextTick } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {nextTick, ref} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import PatientList from '../components/patientList.vue';
|
||||
import BillingList from './components/billingList.vue';
|
||||
import FeeDetailQuery from './components/feeDetailQuery.vue';
|
||||
import NewfeeDetailQuery from './components/newfeeDetailQuery.vue';
|
||||
import DepositQuery from './components/depositQuery.vue';
|
||||
import OrderBilling from './components/OrderBilling.vue';
|
||||
|
||||
// 预交金查询组件引用
|
||||
const depositQueryRef = ref(null);
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import {computed} from 'vue';
|
||||
import {useRoute, useRouter} from 'vue-router';
|
||||
|
||||
const props = defineProps({
|
||||
navs: {
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getPatientList, getWardList } from './api';
|
||||
import { updatePatientInfoList } from './store/patient';
|
||||
import { ref, nextTick, inject, defineExpose } from 'vue';
|
||||
import {getPatientList, getWardList} from './api';
|
||||
import {updatePatientInfoList} from './store/patient';
|
||||
import {defineExpose, inject, nextTick, ref} from 'vue';
|
||||
|
||||
const treeRef = ref(null);
|
||||
const searchKey = ref('');
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<Review />
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
<script setup>
|
||||
import patientList from './patientList.vue'
|
||||
import Review from './review.vue'
|
||||
</script>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const patientListData = ref([
|
||||
{
|
||||
|
||||
@@ -44,8 +44,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const activeTabName = ref('first');
|
||||
const tableData = [
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<medicalOrderList />
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
<script setup>
|
||||
import patientList from './patientList.vue'
|
||||
import medicalOrderList from './medicalOrderList.vue'
|
||||
</script>
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const medicalOrderListData = ref([
|
||||
{
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const patientListData = ref([
|
||||
{
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue';
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
|
||||
import { WaitForDischarge, Discharged } from './components/index.ts';
|
||||
import {Discharged, WaitForDischarge} from './components/index.ts';
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getPatientList, getWardList } from './api';
|
||||
import { updatePatientInfoList } from '../store/patient';
|
||||
import { nextTick, onMounted } from 'vue';
|
||||
import {getPatientList, getWardList} from './api';
|
||||
import {updatePatientInfoList} from '../store/patient';
|
||||
import {nextTick} from 'vue';
|
||||
|
||||
const treeRef = ref(null);
|
||||
const allNodesLoaded = ref(false);
|
||||
|
||||
@@ -163,10 +163,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getPrescriptionList, adviceExecute, adviceCancel, medicineSummary } from './api';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import { ref, getCurrentInstance } from 'vue';
|
||||
import {getPrescriptionList, medicineSummary} from './api';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getCurrentInstance, ref} from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const activeNames = ref([]);
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineSummary, getMedicineSummaryDetail } from './api';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { ref, getCurrentInstance } from 'vue';
|
||||
import {getMedicineSummary, getMedicineSummaryDetail} from './api';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {getCurrentInstance, ref} from 'vue';
|
||||
|
||||
const medicineSummaryFormList = ref([]);
|
||||
const medicineSummaryFormDetails = ref([]);
|
||||
|
||||
@@ -130,8 +130,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const searchForm = ref({
|
||||
drugType: '1',
|
||||
|
||||
@@ -101,13 +101,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import {getCurrentInstance, ref} from 'vue';
|
||||
import {useRouter} from 'vue-router';
|
||||
import PatientList from '../components/patientList.vue';
|
||||
import NurseNavBar from '../components/NurseNavBar.vue';
|
||||
import PrescriptionList from './components/prescriptionList.vue';
|
||||
import SummaryMedicineList from './components/summaryMedicineList.vue';
|
||||
import { inpatientNurseNavs } from '../constants/navigation';
|
||||
import {inpatientNurseNavs} from '../constants/navigation';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -135,7 +135,8 @@
|
||||
import patientDetialDialog from './patientDetialDialog.vue';
|
||||
import transferToBedDialog from './transferToBedDialog.vue';
|
||||
import transferDialog from './transferDialog.vue';
|
||||
import { ref, nextTick } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const radio = ref(1);
|
||||
const props = defineProps({
|
||||
|
||||
@@ -411,8 +411,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, nextTick } from 'vue';
|
||||
import { listPatient } from './api';
|
||||
import {ref} from 'vue';
|
||||
import {listPatient} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
|
||||
@@ -98,8 +98,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, nextTick } from 'vue';
|
||||
import { getCaty, saveDepartmentTransfer, saveDischargeHospital } from './api';
|
||||
import {ref} from 'vue';
|
||||
import {getCaty, saveDepartmentTransfer, saveDischargeHospital} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
open: {
|
||||
|
||||
@@ -53,8 +53,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, nextTick } from 'vue';
|
||||
import { getEmptyBed, saveBedTransfer } from './api';
|
||||
import {ref} from 'vue';
|
||||
import {getEmptyBed, saveBedTransfer} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
|
||||
@@ -174,12 +174,13 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
import patientCard from './components/patientCard.vue';
|
||||
import { listPatient } from './components/api';
|
||||
import {listPatient} from './components/api';
|
||||
import patientDetialDialog from './components/patientDetialDialog.vue';
|
||||
import transferToBedDialog from './components/transferToBedDialog.vue';
|
||||
import transferDialog from './components/transferDialog.vue';
|
||||
|
||||
const data = reactive({
|
||||
form: {},
|
||||
queryParams: {
|
||||
|
||||
@@ -86,13 +86,11 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import Filter from '@/components/TableLayout/Filter.vue';
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref, computed } from 'vue';
|
||||
import {computed, onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
import TransferInDialog from './transferInDialog.vue';
|
||||
import SignEntryDialog from './signEntryDialog.vue';
|
||||
import { getPendingInfo, getBedInfo, getInit, childLocationList, getPractitionerWard } from './api';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import { init } from '../../../basicmanage/consumablesBinding/components/api';
|
||||
import { ElMessage, ElMessageBox, ElLoading } from 'element-plus';
|
||||
import {childLocationList, getBedInfo, getInit, getPendingInfo, getPractitionerWard} from './api';
|
||||
import {ElLoading, ElMessage, ElMessageBox} from 'element-plus';
|
||||
import PendingPatientList from '@/components/PendingPatientList/index.vue';
|
||||
|
||||
// 定义相关类型
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
import {reactive, ref} from 'vue'
|
||||
// const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits(['drop_handler', 'click_handler'])
|
||||
const props = defineProps({
|
||||
|
||||
@@ -60,10 +60,10 @@
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { reactive, ref, onMounted, inject } from 'vue'
|
||||
import type { FormInstance, FormRules } from 'element-plus'
|
||||
import { dayjs, ElMessage } from 'element-plus'
|
||||
import type { IInPatient } from '@/model/IInPatient'
|
||||
import {onMounted, reactive, ref} from 'vue'
|
||||
import type {FormInstance, FormRules} from 'element-plus'
|
||||
import {dayjs} from 'element-plus'
|
||||
import type {IInPatient} from '@/model/IInPatient'
|
||||
|
||||
const currentInPatient = ref<Partial<IInPatient>>({})
|
||||
const initCurrentInPatient = () => {
|
||||
|
||||
@@ -332,18 +332,11 @@
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { reactive, ref, onMounted, inject, type Ref, watch, nextTick } from 'vue';
|
||||
import type { FormInstance, FormRules } from 'element-plus';
|
||||
import { dayjs, ElMessage } from 'element-plus';
|
||||
import {nextTick, onMounted, reactive, ref, watch} from 'vue';
|
||||
import type {FormInstance, FormRules} from 'element-plus';
|
||||
import {dayjs, ElMessage} from 'element-plus';
|
||||
// import type { IInPatient } from '@/model/IInPatient'
|
||||
import {
|
||||
getBedInfo,
|
||||
getDoctorInfo,
|
||||
getNurseInfo,
|
||||
getInit,
|
||||
bedAssignment,
|
||||
getPatientInfo,
|
||||
} from './api';
|
||||
import {bedAssignment, getBedInfo, getDoctorInfo, getInit, getNurseInfo, getPatientInfo,} from './api';
|
||||
|
||||
const props = defineProps({
|
||||
pendingInfo: {
|
||||
|
||||
@@ -364,24 +364,24 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted, ref, getCurrentInstance, nextTick, watch, defineProps } from 'vue';
|
||||
import {defineProps, getCurrentInstance, nextTick, onMounted, ref, watch} from 'vue';
|
||||
import {
|
||||
childLocationList,
|
||||
getDRMedication,
|
||||
getInit,
|
||||
getPatientInfo,
|
||||
getPendingInfo,
|
||||
getPersonAccount,
|
||||
getPractitionerWard,
|
||||
getPrescriptionList,
|
||||
getPersonAccount,
|
||||
getDRMedication,
|
||||
updateTransferDepartment,
|
||||
updateOutHospital,
|
||||
getPendingInfo,
|
||||
getPatientInfo,
|
||||
getInit,
|
||||
terminalCleaning,
|
||||
updateOutHospital,
|
||||
updateTransferDepartment,
|
||||
} from './api';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { init } from '../../../basicmanage/consumablesBinding/components/api';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import moment from 'moment';
|
||||
|
||||
interface OptionItemTwo {
|
||||
value: string | number;
|
||||
label: string;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { getCurrentInstance, nextTick, onBeforeMount, onMounted, reactive, ref } from 'vue';
|
||||
import {nextTick, onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
|
||||
import BedAllocation from './components/bedAllocation.vue';
|
||||
import TransferOut from './components/transferOut.vue';
|
||||
|
||||
@@ -23,6 +23,7 @@ import InpatientRecord from '@/views/inpatientDoctor/home/emr/index.vue';
|
||||
import RollFee from '@/views/inpatientNurse/rollFee/index.vue';
|
||||
// 危重记录
|
||||
import Criticalrecord from '@/views/inpatientNurse/nursingstatistics/criticalrecord.vue';
|
||||
|
||||
export {
|
||||
inOut,
|
||||
ChkstockPartDeptDevice,
|
||||
|
||||
@@ -70,24 +70,23 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import {computed, ref} from 'vue';
|
||||
import inPatientBarDoctorFold from '@/components/patientBar/inPatientBarDoctorFold.vue';
|
||||
import PatientList from '@/components/PatientList/patient-list.vue';
|
||||
import { patientInfo, updatePatientInfo } from '@/views/inpatientDoctor/home/store/patient.js';
|
||||
import {patientInfo, updatePatientInfo} from '@/views/inpatientDoctor/home/store/patient.js';
|
||||
import {
|
||||
inOut,
|
||||
ChkstockPartDeptDevice,
|
||||
NursingRecord,
|
||||
TprChart,
|
||||
Criticalrecord,
|
||||
DrugDistribution,
|
||||
inOut,
|
||||
InpatientBilling,
|
||||
InpatientRecord,
|
||||
MedicalOrderExecution,
|
||||
MedicalOrderProofread,
|
||||
DrugDistribution,
|
||||
InpatientBilling,
|
||||
DischargedManagement,
|
||||
InpatientRecord,
|
||||
RollFee,
|
||||
Criticalrecord,
|
||||
TprChart,
|
||||
} from './index.js';
|
||||
|
||||
const activeTabName = ref('InOut');
|
||||
|
||||
const recordKey = computed(
|
||||
|
||||
@@ -225,11 +225,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getPrescriptionList, adviceExecute, adviceCancel, adviceNoExecute } from './api';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { lotNumberMatch } from '@/api/public';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import { ref, getCurrentInstance, nextTick } from 'vue';
|
||||
import {adviceCancel, adviceExecute, adviceNoExecute, getPrescriptionList} from './api';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {lotNumberMatch} from '@/api/public';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getCurrentInstance, nextTick, ref} from 'vue';
|
||||
|
||||
const activeNames = ref([]);
|
||||
const prescriptionList = ref([]);
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import {getCurrentInstance} from 'vue';
|
||||
import PatientList from '../components/patientList.vue';
|
||||
import PrescriptionList from './components/prescriptionList.vue';
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue'
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive } from 'vue'
|
||||
import { Expand, Fold, Refresh } from '@element-plus/icons-vue'
|
||||
import {reactive, ref} from 'vue'
|
||||
import {Expand, Fold, Refresh} from '@element-plus/icons-vue'
|
||||
|
||||
const isCollapsed = ref(false)
|
||||
|
||||
|
||||
@@ -101,8 +101,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { onBeforeMount, onMounted, reactive, ref } from 'vue';
|
||||
<script setup>
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive } from 'vue'
|
||||
import { Expand, Fold, Refresh } from '@element-plus/icons-vue'
|
||||
import {reactive, ref} from 'vue'
|
||||
import {Expand, Fold, Refresh} from '@element-plus/icons-vue'
|
||||
|
||||
const isCollapsed = ref(false)
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</el-tabs>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue'
|
||||
import CheckPatientList from './components/check/patientList.vue'
|
||||
import CheckMedicalOrderManagement from './components/check/MedicalOrderManagement.vue'
|
||||
import ExecutePatientList from './components/execute/patientList.vue'
|
||||
|
||||
@@ -152,9 +152,9 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { getPrescriptionList, adviceVerify, cancel } from './api';
|
||||
import { patientInfoList } from '../../components/store/patient.js';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {adviceVerify, cancel, getPrescriptionList} from './api';
|
||||
import {patientInfoList} from '../../components/store/patient.js';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const activeNames = ref([]);
|
||||
const prescriptionList = ref([]);
|
||||
|
||||
@@ -92,11 +92,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { id } from 'element-plus/es/locale/index.mjs';
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive,ref } from 'vue'
|
||||
<script setup>
|
||||
import {onBeforeMount, onMounted, reactive, ref} from 'vue'
|
||||
// const { proxy } = getCurrentInstance();
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import {ElMessage, ElMessageBox} from 'element-plus'
|
||||
|
||||
const emits = defineEmits([])
|
||||
const props = defineProps({
|
||||
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive } from 'vue'
|
||||
<script setup>
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive} from 'vue'
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits([])
|
||||
const props = defineProps({
|
||||
|
||||
@@ -174,8 +174,8 @@
|
||||
|
||||
<script setup>
|
||||
import recordTemplate from './recordTemplate.vue';
|
||||
import { ref, nextTick } from 'vue';
|
||||
import { saveRecord, updateRecord, getRecordTemplateList, deleteRecordTemplate } from './api';
|
||||
import {nextTick, ref} from 'vue';
|
||||
import {deleteRecordTemplate, getRecordTemplateList, saveRecord, updateRecord} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const props = defineProps({
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { parse } from 'vue/compiler-sfc';
|
||||
import { saveRecordTemplate, updateRecordTemplate } from './api';
|
||||
import {saveRecordTemplate, updateRecordTemplate} from './api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const title = ref('');
|
||||
const templateName = ref('');
|
||||
const radio = ref(1);
|
||||
|
||||
@@ -117,8 +117,9 @@
|
||||
|
||||
<script setup>
|
||||
import addNursingRecordDialog from './components/addNursingRecordDialog.vue';
|
||||
import { listPatient, getNursingPatientPage, delRecord } from './components/api';
|
||||
import {delRecord, getNursingPatientPage, listPatient} from './components/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const userStore = useUserStore();
|
||||
// 响应式数据
|
||||
const patientId = ref('');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 体温单图表展示
|
||||
export function getSummaryList(data) {
|
||||
return request({
|
||||
|
||||
@@ -288,17 +288,15 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, nextTick, watch } from 'vue';
|
||||
import {nextTick, reactive, ref, watch} from 'vue';
|
||||
import OperationRecord from './operationrecord.vue';
|
||||
import { patientInfo, updatePatientInfo } from '../../inpatientDoctor/home/store/patient';
|
||||
import { getTemperatureType } from '../tprsheet/api/api';
|
||||
import { getSummaryList } from './api';
|
||||
import { getRecordByEncounterIdList } from '../../inpatientDoctor/home/emr/api';
|
||||
import { deleteRecord } from '../../inpatientDoctor/home/emr/api';
|
||||
import printUtils, { PRINT_TEMPLATE } from '@/utils/printUtils';
|
||||
import {patientInfo, updatePatientInfo} from '../../inpatientDoctor/home/store/patient';
|
||||
import {getTemperatureType} from '../tprsheet/api/api';
|
||||
import {getSummaryList} from './api';
|
||||
import {deleteRecord} from '../../inpatientDoctor/home/emr/api';
|
||||
import PatientList from '@/components/PatientList/patient-list.vue';
|
||||
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
// 处理患者选择
|
||||
const handlePatientSelect = (patient) => {
|
||||
|
||||
@@ -316,11 +316,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, nextTick, reactive, ref, watch, watchEffect } from 'vue';
|
||||
import {computed, reactive, ref, watch} from 'vue';
|
||||
import dayjs from 'dayjs';
|
||||
import { getTemperatureType, addRecord } from '../tprsheet/api/api';
|
||||
import { patientInfo } from '../../inpatientDoctor/home/store/patient';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {addRecord, getTemperatureType} from '../tprsheet/api/api';
|
||||
import {patientInfo} from '../../inpatientDoctor/home/store/patient';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const formRef = ref();
|
||||
// 意识
|
||||
const ysOptions = [
|
||||
|
||||
@@ -252,22 +252,23 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { onBeforeMount, onMounted, reactive, ref, getCurrentInstance } from 'vue';
|
||||
import {getCurrentInstance, onBeforeMount, onMounted, reactive, ref} from 'vue';
|
||||
import {
|
||||
getPendingInfo,
|
||||
getBedInfo,
|
||||
getInit,
|
||||
childLocationList,
|
||||
getPractitionerWard,
|
||||
getDataSource,
|
||||
saveInpatientRoll,
|
||||
getRollInfoPage,
|
||||
enableRoll,
|
||||
stopRoll,
|
||||
deleteRoll,
|
||||
enableRoll,
|
||||
getBedInfo,
|
||||
getDataSource,
|
||||
getInit,
|
||||
getPendingInfo,
|
||||
getPractitionerWard,
|
||||
getRollInfoPage,
|
||||
saveInpatientRoll,
|
||||
stopRoll,
|
||||
} from './components/api.js';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
const transferInDialogVisible = ref(false);
|
||||
|
||||
@@ -662,8 +662,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, nextTick } from 'vue';
|
||||
import { listPatient, addVitalSigns } from './api';
|
||||
import {ref} from 'vue';
|
||||
import {addVitalSigns, listPatient} from './api';
|
||||
import moment from "moment";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -139,13 +139,13 @@
|
||||
// import PatientInfo from '@/components/PatientInfo'
|
||||
import html2pdf from 'html2pdf.js';
|
||||
import cloneDeep from 'lodash.clonedeep';
|
||||
import { init } from '@/action/nurseStation/temperatureSheet/line.js';
|
||||
import {init} from '@/action/nurseStation/temperatureSheet/line.js';
|
||||
import temperatureSheet from '../../../components/Auto/printBills/temperatureSheet';
|
||||
import addTprDialog from './components/addTprDialog.vue';
|
||||
// import printJS from 'print-js';
|
||||
import { formatDateStr } from '@/utils';
|
||||
import {formatDateStr} from '@/utils';
|
||||
import moment from 'moment';
|
||||
import { listPatient, getVitalSignsInfo } from './components/api';
|
||||
import {getVitalSignsInfo, listPatient} from './components/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
// import { getSignsCharts } from '@/api/signsManagement'
|
||||
// import { date } from 'jszip/lib/defaults'
|
||||
|
||||
@@ -450,12 +450,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { patientInfo } from '../../../inpatientDoctor/home/store/patient';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { getTemperatureType, getTemperatureHistory, addRecord } from '../api/api';
|
||||
import { nextTick } from 'vue';
|
||||
import {patientInfo} from '../../../inpatientDoctor/home/store/patient';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {addRecord, getTemperatureHistory, getTemperatureType} from '../api/api';
|
||||
import {nextTick} from 'vue';
|
||||
import dayjs from 'dayjs';
|
||||
import moment from 'moment';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const {
|
||||
temperature_select_type,
|
||||
|
||||
@@ -82,15 +82,14 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { init } from '@/action/nurseStation/temperatureSheet/line.js';
|
||||
import { patientInfo } from '../../../inpatientDoctor/home/store/patient';
|
||||
import { getVitalSignsInfo } from '../../tprChart/components/api';
|
||||
import { nextTick, onMounted, watch } from 'vue';
|
||||
import { getTemperatureType, temChar } from '../api/api';
|
||||
import {init} from '@/action/nurseStation/temperatureSheet/line.js';
|
||||
import {patientInfo} from '../../../inpatientDoctor/home/store/patient';
|
||||
import {nextTick, onMounted, watch} from 'vue';
|
||||
import {getTemperatureType, temChar} from '../api/api';
|
||||
import moment from 'moment';
|
||||
import AddAttr from './addAttr.vue';
|
||||
import cloneDeep from 'lodash.clonedeep';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import html2pdf from 'html2pdf.js';
|
||||
|
||||
const attrRef = ref('');
|
||||
|
||||
@@ -13,10 +13,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed } from 'vue';
|
||||
import inPatientBarDoctorFold from '@/components/patientBar/inPatientBarDoctorFold.vue';
|
||||
import Details from './components/details.vue';
|
||||
import { patientInfo, updatePatientInfo } from '@/views/inpatientNurse/components/store/patient';
|
||||
import {patientInfo, updatePatientInfo} from '@/views/inpatientNurse/components/store/patient';
|
||||
import PatientList from '@/components/PatientList/patient-list.vue';
|
||||
|
||||
// 处理患者选择
|
||||
|
||||
Reference in New Issue
Block a user