style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询管理列表
|
||||
export function getTransferProductList(query) {
|
||||
return request({
|
||||
|
||||
@@ -48,9 +48,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: {
|
||||
|
||||
@@ -310,18 +310,14 @@
|
||||
|
||||
<script setup name="requisitionInventoryManagement">
|
||||
import {
|
||||
getTHTransferProductlist,
|
||||
getTHInit,
|
||||
delTHTransferProduct,
|
||||
getTHBusNoInit,
|
||||
getTHInit,
|
||||
getTHTransferProductlist,
|
||||
submitTHApproval,
|
||||
withdrawTHApproval,
|
||||
delTHTransferProduct,
|
||||
|
||||
} from '../components/api';
|
||||
|
||||
import { formatDate } from "@/utils/index";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -490,27 +490,25 @@
|
||||
|
||||
<script setup name="requisitionManagement">
|
||||
import {
|
||||
getPharmacyCabinetList,
|
||||
submitApproval,
|
||||
addTransferProduct,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getBusNoInit,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getCount,
|
||||
getInit,
|
||||
getPharmacyCabinetList,
|
||||
getTransferProductDetail,
|
||||
requisitionIssueApproved,
|
||||
reject,
|
||||
requisitionIssueApproved,
|
||||
submitApproval,
|
||||
} from '../components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import transferManagement from '../components/list.vue';
|
||||
import { formatDate } 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();
|
||||
|
||||
|
||||
@@ -288,20 +288,15 @@
|
||||
|
||||
<script setup name="requisitionManagementList">
|
||||
import {
|
||||
getTransferProductList,
|
||||
addTransferProduct,
|
||||
getTransferProductDetail,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getBusNoInit,
|
||||
getInit,
|
||||
getTransferProductList,
|
||||
submitApproval,
|
||||
withdrawApproval,
|
||||
delTransferProduct,
|
||||
} from '../components/api';
|
||||
// import Dialog from "./components/Dialog";
|
||||
|
||||
import { formatDate } from "@/utils/index";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -522,29 +522,29 @@
|
||||
|
||||
<script setup name="returningInventory">
|
||||
import {
|
||||
getPharmacyCabinetList,
|
||||
submitTHApproval,
|
||||
addTHTransferProduct,
|
||||
getTHInit,
|
||||
delTHTransferProduct,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getTHBusNoInit,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getPharmacyCabinetList,
|
||||
getPharmacyList,
|
||||
getTHBusNoInit,
|
||||
getTHInit,
|
||||
getTHTransferProductDetail,
|
||||
reject,
|
||||
returnIssueApproved,
|
||||
submitTHApproval,
|
||||
} from '../components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
import transferManagement from '../components/list.vue';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { useStore } from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
const store = useStore();
|
||||
const userStore = useUserStore();
|
||||
|
||||
Reference in New Issue
Block a user