style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -508,27 +508,24 @@
|
||||
|
||||
<script setup name="batchTransfer">
|
||||
import {
|
||||
submitApproval,
|
||||
addTransferProductBatch,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getBusNoInit,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getTransferProductDetails,
|
||||
getInit,
|
||||
getPharmacyList,
|
||||
getTransferProductDetail,
|
||||
reject,
|
||||
getTransferProductDetails,
|
||||
productTransferApproved,
|
||||
reject,
|
||||
submitApproval,
|
||||
} from '../components/transferManagement';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import transferManagement from '../components/transferManagement.vue';
|
||||
import { formatDate, formatDateymd } from '@/utils/index';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
const store = useStore();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -130,10 +130,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import { getTransferProductDetail, productTransferApproved, reject } from './transferManagement';
|
||||
import {getCurrentInstance} from 'vue';
|
||||
import {getTransferProductDetail, productTransferApproved, reject} from './transferManagement';
|
||||
import templateJson from './template.json';
|
||||
import { hiprint } from 'vue-plugin-hiprint';
|
||||
import {hiprint} from 'vue-plugin-hiprint';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const detailsList = ref([]);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询调拨管理列表
|
||||
export function getTransferProductList(query) {
|
||||
return request({
|
||||
|
||||
@@ -65,9 +65,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineList } from "./transferManagement";
|
||||
import { watch } from "vue";
|
||||
import { throttle } from "lodash-es";
|
||||
import {getMedicineList} from "./transferManagement";
|
||||
import {watch} from "vue";
|
||||
import {throttle} from "lodash-es";
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -608,25 +608,24 @@
|
||||
|
||||
<script setup name="transferManagent">
|
||||
import {
|
||||
submitApproval,
|
||||
addTransferProduct,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getBusNoInit,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getInit,
|
||||
getPharmacyList,
|
||||
getTransferProductDetail,
|
||||
reject,
|
||||
productTransferApproved,
|
||||
reject,
|
||||
submitApproval,
|
||||
} from '../components/transferManagement';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import transferManagement from '../components/transferManagement.vue';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
import { formatDate, formatDateymd } from '@/utils/index';
|
||||
import {formatDate, formatDateymd} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
|
||||
@@ -285,15 +285,16 @@
|
||||
|
||||
<script setup name="transferManagementList">
|
||||
import {
|
||||
getTransferProductList,
|
||||
delTransferProduct,
|
||||
getInit,
|
||||
getpharmacyCabinetList,
|
||||
getTransferProductList,
|
||||
submitApproval,
|
||||
withdrawApproval,
|
||||
delTransferProduct,
|
||||
getpharmacyCabinetList,
|
||||
} from '../components/transferManagement';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useStore} from '@/store/store';
|
||||
import TransferDetailsDialog from '../components/transferDetailsDialog.vue';
|
||||
|
||||
const store = useStore();
|
||||
// import Dialog from "./components/Dialog";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user