style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user