style(flowable): 优化流程相关代码的import顺序和代码结构

This commit is contained in:
2025-12-30 15:11:32 +08:00
parent 54cde91aac
commit d1670b79a0
2528 changed files with 7710 additions and 10794 deletions

View File

@@ -16,9 +16,9 @@
</template>
<script setup>
import { getMedicineList } from './api';
import { watch } from 'vue';
import { throttle } from 'lodash-es';
import {getMedicineList} from './api';
import {watch} from 'vue';
import {throttle} from 'lodash-es';
const props = defineProps({
searchKey: {

View File

@@ -398,11 +398,11 @@
</template>
<script setup>
import { addOrEditOrder, getBusNo, getMedicineList } from './api';
import { nextTick, ref, watch } from 'vue';
import {addOrEditOrder, getBusNo, getMedicineList} from './api';
import {nextTick, ref, watch} from 'vue';
import medicineList from './medicineList.vue';
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
import { parseTime } from '@/utils/his';
import {parseTime} from '@/utils/his';
// 获取当前实例
const { proxy } = getCurrentInstance();

View File

@@ -213,18 +213,12 @@
</template>
<script setup>
import { ref, onMounted, watch } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import {ref, watch} from 'vue';
import {useRoute, useRouter} from 'vue-router';
import orderTable from './components/orderTable.vue';
import {
getInit,
getOrderList,
deleteOrder,
agreeApproval,
getOrderDetail,
} from './components/api';
import {agreeApproval, deleteOrder, getInit, getOrderDetail, getOrderList,} from './components/api';
import useUserStore from '@/store/modules/user';
import { parseTime } from '@/utils/his';
import {parseTime} from '@/utils/his';
const route = useRoute();
const router = useRouter();