style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { nextTick } from 'vue';
|
||||
import { getAdviceBaseInfo } from './api';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {nextTick} from 'vue';
|
||||
import {getAdviceBaseInfo} from './api';
|
||||
import {throttle} from 'lodash-es';
|
||||
|
||||
const props = defineProps({
|
||||
adviceQueryParams: {
|
||||
|
||||
@@ -285,15 +285,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
savePrescription,
|
||||
getPrescriptionList,
|
||||
getOrgTree,
|
||||
savePrescriptionSign,
|
||||
singOut,
|
||||
} from './api';
|
||||
import {getOrgTree, getPrescriptionList, savePrescription, savePrescriptionSign, singOut,} from './api';
|
||||
import adviceBaseList from './adviceBaseList';
|
||||
import { getCurrentInstance, nextTick, ref, watch } from 'vue';
|
||||
import {getCurrentInstance, nextTick, ref, watch} from 'vue';
|
||||
|
||||
const emit = defineEmits(['selectDiagnosis']);
|
||||
const prescriptionList = ref([]);
|
||||
|
||||
@@ -81,12 +81,11 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { getList } from './component/api.js';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {getList} from './component/api.js';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { nextTick } from 'vue';
|
||||
import {nextTick} from 'vue';
|
||||
import Prescriptionlist from './component/prescriptionlist.vue';
|
||||
import { onBeforeRouteLeave } from 'vue-router';
|
||||
|
||||
// // 监听路由离开事件
|
||||
// onBeforeRouteLeave((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user