style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -155,12 +155,10 @@
|
||||
</template>
|
||||
|
||||
<script setup name="awaitingMedicineDetails">
|
||||
import {
|
||||
getAwaitingPendingMedicationPageList,
|
||||
getPharmacyCabinetList,
|
||||
} from "./statisticalManagent";
|
||||
import {getAwaitingPendingMedicationPageList,} from "./statisticalManagent";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
import { ref } from "vue";
|
||||
import {ref} from "vue";
|
||||
|
||||
const userStore = useUserStore();
|
||||
const { proxy } = getCurrentInstance();
|
||||
const inventoryOptions = ref([])
|
||||
|
||||
@@ -56,11 +56,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="basicInformationDetails">
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {
|
||||
getReportBasicInformationDetails,
|
||||
} from './statisticalManagent';
|
||||
import { onMounted } from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {getReportBasicInformationDetails,} from './statisticalManagent';
|
||||
import {onMounted} from 'vue';
|
||||
|
||||
const basicInformationDetailsList = ref([]);
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -254,12 +254,10 @@
|
||||
|
||||
<script setup name="ChkstockPartDetails">
|
||||
import {
|
||||
getReportStocktakingPage,
|
||||
getInit,
|
||||
getPharmacyCabinetList,
|
||||
getReportStocktakingPage,
|
||||
getReportStocktakingPageAuto,
|
||||
cancelSupply,
|
||||
stopSupply,
|
||||
} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -121,9 +121,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="diseaseDetails">
|
||||
import {
|
||||
getDiseaseDetails,
|
||||
} from './statisticalManagent';
|
||||
import {getDiseaseDetails,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -86,9 +86,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="drugExpensesGrowthRate">
|
||||
import {
|
||||
getDrugExpensesGrowthRate
|
||||
} from './statisticalManagent';
|
||||
import {getDrugExpensesGrowthRate} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const drugExpensesGrowthRateList = ref([]);
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
</template>
|
||||
|
||||
<script setup name="earlyWarning">
|
||||
import { getExpirationWarning } from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -168,15 +168,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="reconciliationDetails">
|
||||
import {
|
||||
applyFinancialClearingList,
|
||||
applyUnClearing,
|
||||
autoApplyFinancialClearing,
|
||||
applyFinancialClearing,
|
||||
reconcileDetailList
|
||||
} from "./statisticalManagent";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {applyUnClearing, autoApplyFinancialClearing, reconcileDetailList} from "./statisticalManagent";
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const purchaseinventoryList = ref([]);
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -460,20 +460,21 @@
|
||||
|
||||
<script setup name="StatisticalManagement">
|
||||
import {
|
||||
getproductReturnPage,
|
||||
cancelSupply,
|
||||
getInit,
|
||||
getPharmacyCabinetList,
|
||||
cancelSupply,
|
||||
stopSupply,
|
||||
productPageTotal,
|
||||
productBackupPageTotal,
|
||||
getproductReturnBackUpPage,
|
||||
getproductReturnPage,
|
||||
productBackupPageTotal,
|
||||
productPageTotal,
|
||||
stopSupply,
|
||||
} from './statisticalManagent';
|
||||
import traceabilityCodeManagement from './traceabilityCodeManagement.vue';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import { getSupplierList } from '@/api/public';
|
||||
import { useStore } from '@/store/store';
|
||||
import { computed, watch } from 'vue';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {getSupplierList} from '@/api/public';
|
||||
import {useStore} from '@/store/store';
|
||||
import {computed, watch} from 'vue';
|
||||
|
||||
const store = useStore();
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -323,15 +323,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="InventoryProductDetails">
|
||||
import {
|
||||
getReportProductPage,
|
||||
getInit,
|
||||
getPharmacyCabinetList,
|
||||
getBusNoInit,
|
||||
cancelSupply,
|
||||
stopSupply,
|
||||
} from "./statisticalManagent";
|
||||
import { watch } from "vue";
|
||||
import {getInit, getPharmacyCabinetList, getReportProductPage,} from "./statisticalManagent";
|
||||
import {watch} from "vue";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -478,13 +478,12 @@ import {
|
||||
applyFinancialClearingList,
|
||||
applyUnClearing,
|
||||
autoApplyFinancialClearing,
|
||||
reconcileDetailList,
|
||||
handOperatedApplyFinancialClearing,
|
||||
handOperatedApplyReconcileAccounts,
|
||||
} from './statisticalManagent';
|
||||
import { getToken } from '@/utils/auth';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import { ref } from 'vue';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
import {ref} from 'vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const purchaseinventoryList = ref([]);
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -244,12 +244,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="lossReportingDetails">
|
||||
import {
|
||||
getReportLossPage,
|
||||
getInit,
|
||||
getPharmacyCabinetList,
|
||||
|
||||
} from "./statisticalManagent";
|
||||
import {getInit, getPharmacyCabinetList, getReportLossPage,} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -476,14 +476,14 @@
|
||||
|
||||
<script setup name="medicationDetails">
|
||||
import {
|
||||
getPharmacyCabinetList,
|
||||
getAmbMedicationDetail,
|
||||
getAmbPractitionerDetail,
|
||||
getMedicationDetailsInit,
|
||||
getPharmacyCabinetList,
|
||||
} from './statisticalManagent';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { watch } from 'vue';
|
||||
import { endsWith } from 'lodash';
|
||||
import {watch} from 'vue';
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
@@ -115,9 +115,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="medicationInboundDetails">
|
||||
import {
|
||||
getMedicationInboundDetails,
|
||||
} from './statisticalManagent';
|
||||
import {getMedicationInboundDetails,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -165,9 +165,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="medicationSaleDetails">
|
||||
import {
|
||||
getMedicationSaleDetails,
|
||||
} from './statisticalManagent';
|
||||
import {getMedicationSaleDetails,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -143,11 +143,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="medicationStockOutDetails">
|
||||
import {
|
||||
getReportMedicationStockOutDetails,
|
||||
getPharmacyCabinetList,
|
||||
} from './statisticalManagent';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {getPharmacyCabinetList, getReportMedicationStockOutDetails,} from './statisticalManagent';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const medicationStockOutDetailsList = ref([]);
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -134,8 +134,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="medicationUsageDetails">
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { getReportMedicationUsage } from './statisticalManagent';
|
||||
import {onMounted, ref} from 'vue';
|
||||
import {getReportMedicationUsage} from './statisticalManagent';
|
||||
|
||||
// 表格数据
|
||||
const medicationUsageList = ref([]);
|
||||
|
||||
@@ -90,9 +90,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="nonWinQtyRatio">
|
||||
import {
|
||||
getReportNonWinQtyRatio,
|
||||
} from './statisticalManagent';
|
||||
import {getReportNonWinQtyRatio,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -149,13 +149,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="numberOfVisits">
|
||||
import {
|
||||
getReportLossPage,
|
||||
import {getReportLossPage,} from "./statisticalManagent";
|
||||
|
||||
|
||||
} from "./statisticalManagent";
|
||||
const { proxy } = getCurrentInstance();
|
||||
import moment from "moment";
|
||||
const purchaseinventoryList = ref([]);
|
||||
const loading = ref(true);
|
||||
const ids = ref([]);
|
||||
|
||||
@@ -50,9 +50,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="offlinePurchaseRatioDetails">
|
||||
import {
|
||||
getReportOfflinePurchaseRatio
|
||||
} from './statisticalManagent';
|
||||
import {getReportOfflinePurchaseRatio} from './statisticalManagent';
|
||||
|
||||
const offlinePurchaseRatioList = ref([]);
|
||||
const loading = ref(true);
|
||||
|
||||
@@ -287,15 +287,10 @@
|
||||
</template>
|
||||
|
||||
<script setup name="outPatientCharge">
|
||||
import {
|
||||
getReportChargePage,
|
||||
getAmbPractitionerDetail,
|
||||
getDepartmentList,
|
||||
getReportChargeInit,
|
||||
} from './statisticalManagent';
|
||||
import {getDepartmentList, getReportChargeInit, getReportChargePage,} from './statisticalManagent';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { get } from 'lodash';
|
||||
import { watch } from 'vue';
|
||||
import {watch} from 'vue';
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
@@ -118,10 +118,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="OutpatientDepartmentMetrics">
|
||||
import {
|
||||
getOutpatientDepartmentMetrics
|
||||
} from './statisticalManagent';
|
||||
import { ref, reactive, computed, toRefs, watch } from 'vue';
|
||||
import {getOutpatientDepartmentMetrics} from './statisticalManagent';
|
||||
import {computed, reactive, ref, toRefs} from 'vue';
|
||||
|
||||
const loading = ref(true);
|
||||
const total = ref(0);
|
||||
|
||||
@@ -163,8 +163,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="patientDetails">
|
||||
import { ref, onMounted, getCurrentInstance } from 'vue';
|
||||
import { getReportPatientDetails } from './statisticalManagent';
|
||||
import {getCurrentInstance, onMounted, ref} from 'vue';
|
||||
import {getReportPatientDetails} from './statisticalManagent';
|
||||
|
||||
// 获取当前实例的proxy
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -134,9 +134,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="patientMasterDetails">
|
||||
import {
|
||||
getReportPatientMasterDetail
|
||||
} from './statisticalManagent';
|
||||
import {getReportPatientMasterDetail} from './statisticalManagent';
|
||||
|
||||
|
||||
const patientMasterList = ref([]);
|
||||
|
||||
@@ -139,9 +139,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="pharmacyStatisticsDetails">
|
||||
import { ref, reactive, toRefs, onMounted } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { getMedDevInfo, getMedDevAll } from './statisticalManagent';
|
||||
import {onMounted, reactive, ref, toRefs} from 'vue';
|
||||
import {useRouter} from 'vue-router';
|
||||
import {getMedDevAll, getMedDevInfo} from './statisticalManagent';
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -144,9 +144,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="productUsageDetails">
|
||||
import {
|
||||
getReportProductUsageDetails,
|
||||
} from './statisticalManagent';
|
||||
import {getReportProductUsageDetails,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -354,12 +354,12 @@
|
||||
|
||||
<script setup name="PurchaseDocumentDetsils">
|
||||
import {
|
||||
getReportInboundPCage,
|
||||
getPharmacyCabinetList,
|
||||
getInboundInit,
|
||||
getDocumentDetails,
|
||||
getInboundInit,
|
||||
getPharmacyCabinetList,
|
||||
getReportInboundPCage,
|
||||
} from './statisticalManagent';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -334,11 +334,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="PurchaseReturnDetsils">
|
||||
import {
|
||||
getReportPurchaseReturn,
|
||||
getPharmacyCabinetList,
|
||||
getPurchaseReturnInit
|
||||
} from "./statisticalManagent";
|
||||
import {getPharmacyCabinetList, getPurchaseReturnInit, getReportPurchaseReturn} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -156,13 +156,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="Reconciliation">
|
||||
import {
|
||||
ybRequestReconcile, // 医保对账
|
||||
getReconcileList, // 对账列表 结算
|
||||
getContractList, // 合同
|
||||
getClroptins,
|
||||
} from './statisticalManagent';
|
||||
import { formatDate, formatDateStr } from '@/utils/index';
|
||||
import {getClroptins, getContractList, getReconcileList, ybRequestReconcile,} from './statisticalManagent';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { insutype } = proxy.useDict('insutype');
|
||||
// 险种类型
|
||||
|
||||
@@ -395,15 +395,15 @@
|
||||
|
||||
<script setup name="reconciliationDetails">
|
||||
import {
|
||||
applyFinancialClearing,
|
||||
reconcileDetailList,
|
||||
reconcileDetailTxt,
|
||||
reconcileGeneral,
|
||||
getPharmacyCabinetList,
|
||||
ybRequestFileUp,
|
||||
applyFinancialClearing
|
||||
ybRequestFileUp
|
||||
} from "./statisticalManagent";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {getToken} from "@/utils/auth";
|
||||
import {formatDate} from '@/utils/index';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const purchaseinventoryList = ref([]);
|
||||
const loading = ref(false);
|
||||
|
||||
@@ -196,13 +196,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="registrationFeeDetails">
|
||||
import {
|
||||
getReportRegisterPage,
|
||||
getDepartmentList,
|
||||
getReportRegisterInit
|
||||
} from "./statisticalManagent";
|
||||
import {getDepartmentList, getReportRegisterInit, getReportRegisterPage} from "./statisticalManagent";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
import { watch } from "vue";
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -318,10 +318,10 @@
|
||||
|
||||
<script setup name="requisitionDetails">
|
||||
import {
|
||||
getRreportOutboundPage,
|
||||
getPharmacyCabinetList,
|
||||
getDepartmentList,
|
||||
getOutboundInit
|
||||
getOutboundInit,
|
||||
getPharmacyCabinetList,
|
||||
getRreportOutboundPage
|
||||
} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -353,11 +353,10 @@
|
||||
|
||||
<script setup name="returnOrutboundDetails">
|
||||
import {
|
||||
getRreportReturnIssue,
|
||||
getReturnIssueInit,
|
||||
getPharmacyCabinetList,
|
||||
getDepartmentList,
|
||||
|
||||
getPharmacyCabinetList,
|
||||
getReturnIssueInit,
|
||||
getRreportReturnIssue,
|
||||
} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -278,7 +278,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="settlementDoc">
|
||||
import { getproductReturnPage, getInit, getPharmacyCabinetList } from './statisticalManagent';
|
||||
import {getInit, getPharmacyCabinetList, getproductReturnPage} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询库存明细列表
|
||||
export function getproductReturnPage(query) {
|
||||
return request({
|
||||
|
||||
@@ -168,9 +168,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="getStockOutDetail">
|
||||
import {
|
||||
getStockOutDetail,
|
||||
} from './statisticalManagent';
|
||||
import {getStockOutDetail,} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -86,9 +86,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="thirtyDayCollectionRate">
|
||||
import {
|
||||
getThirtyDayCollectionRate
|
||||
} from './statisticalManagent';
|
||||
import {getThirtyDayCollectionRate} from './statisticalManagent';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -162,9 +162,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="earlyWarning">
|
||||
import { inventoryReceiptPage, traceabilityCodeManagementInit } from './statisticalManagent';
|
||||
import { nextTick, onMounted } from 'vue';
|
||||
import { formatDateStr } from '@/utils';
|
||||
import {inventoryReceiptPage, traceabilityCodeManagementInit} from './statisticalManagent';
|
||||
import {nextTick, onMounted} from 'vue';
|
||||
import {formatDateStr} from '@/utils';
|
||||
import traceabilityPersonInfo from './traceabilityPersonInfo.vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -15,9 +15,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue';
|
||||
import {ref, watch} from 'vue';
|
||||
import moment from 'moment';
|
||||
import { tracePatient } from './statisticalManagent';
|
||||
import {tracePatient} from './statisticalManagent';
|
||||
|
||||
const tableData = ref([]);
|
||||
const props = defineProps({
|
||||
infoIdParams: {
|
||||
|
||||
@@ -253,10 +253,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="transferManagentDetails">
|
||||
import {
|
||||
getReportTransferPage,
|
||||
getPharmacyCabinetList,
|
||||
} from "./statisticalManagent";
|
||||
import {getPharmacyCabinetList, getReportTransferPage,} from "./statisticalManagent";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const purchaseinventoryList = ref([]);
|
||||
|
||||
Reference in New Issue
Block a user