style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, toRefs } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const queryParams = ref({
|
||||
|
||||
@@ -156,23 +156,21 @@
|
||||
|
||||
<script setup name="Billapproval">
|
||||
import {
|
||||
getpurchaseInventoryDetail,
|
||||
getReceiptList,
|
||||
init,
|
||||
lossReportApproved,
|
||||
productStocktakingApproved,
|
||||
productTransferApproved,
|
||||
purchaseInventoryApproved,
|
||||
requisitionIssueApproved,
|
||||
returnIssueApproved,
|
||||
productTransferApproved,
|
||||
productStocktakingApproved,
|
||||
lossReportApproved,
|
||||
reject,
|
||||
init,
|
||||
getpurchaseInventoryDetail,
|
||||
getpurchaseInventoryDetailReturn,
|
||||
} from './components/api';
|
||||
import { useStore } from '@/store/store';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {useStore} from '@/store/store';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import ChkstockDetailsDialog from '@/views/medicationmanagement/chkstock/components/chkstockDetailsDialog.vue';
|
||||
import TransferDetailsDialog from '@/views/medicationmanagement/transferManagent/components/transferDetailsDialog.vue';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const store = useStore();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request'
|
||||
import { parseStrEmpty } from "@/utils/openhis";
|
||||
|
||||
// 查询盘点列表
|
||||
export function getStockinventoryList(query) {
|
||||
|
||||
@@ -41,9 +41,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: {
|
||||
|
||||
@@ -692,30 +692,27 @@
|
||||
|
||||
<script setup name="chkstockBatch">
|
||||
import {
|
||||
submitApproval,
|
||||
getInit,
|
||||
addBatch,
|
||||
delProductStocktaking,
|
||||
getCount,
|
||||
getMedicineList,
|
||||
getDetailInit,
|
||||
getstocktakingDetail, //查询盘点详情
|
||||
getStocktakingReceiptBatch, //生成批量盘点
|
||||
addBatch, //保存批量盘点
|
||||
getInit,
|
||||
getstocktakingDetail,
|
||||
getStocktakingReceiptBatch,
|
||||
productStocktakingApproved,
|
||||
reject,
|
||||
submitApproval,
|
||||
} from '../components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import MedicineList from '../components/medicineList.vue';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
import { formatDate, formatDateymd } from '@/utils/index';
|
||||
import { ref } from 'vue';
|
||||
import {formatDate, formatDateymd} from '@/utils/index';
|
||||
import {ref} from 'vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const userStore = useUserStore();
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { useStore } from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
const store = useStore();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request'
|
||||
import { parseStrEmpty } from "@/utils/openhis";
|
||||
|
||||
// 查询盘点列表
|
||||
export function getStockinventoryList(query) {
|
||||
|
||||
@@ -46,9 +46,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: {
|
||||
|
||||
@@ -520,28 +520,28 @@
|
||||
|
||||
<script setup name="chkstockPart">
|
||||
import {
|
||||
submitApproval,
|
||||
addProductStocktaking,
|
||||
delProductStocktaking,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getDetailInit,
|
||||
getDispensaryList,
|
||||
getPharmacyList,
|
||||
getstocktakingDetail,
|
||||
submitApproval,
|
||||
} from '../components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
import MedicineList from '../components/medicineList.vue';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { ref, reactive, watch, onMounted, onUnmounted, toRefs, defineEmits, getCurrentInstance } from 'vue';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useRoute} from 'vue-router';
|
||||
import {computed, defineEmits, getCurrentInstance, reactive, ref, toRefs, watch} from 'vue';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
import templateJson from './components/template';
|
||||
import { hiprint } from 'vue-plugin-hiprint';
|
||||
import {hiprint} from 'vue-plugin-hiprint';
|
||||
import Decimal from 'decimal.js';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
const store = useStore();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request';
|
||||
import {parseStrEmpty} from '@/utils/openhis';
|
||||
|
||||
// 查询盘点列表
|
||||
export function getStockTakeList (query) {
|
||||
|
||||
@@ -46,9 +46,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: {
|
||||
|
||||
@@ -153,13 +153,9 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, reactive, getCurrentInstance, onMounted } from 'vue';
|
||||
import {
|
||||
getStockTakeList,
|
||||
getPharmacyList,
|
||||
getDispensaryList,
|
||||
saveOrgDeviceSummary,
|
||||
} from './components/api.js';
|
||||
import {getCurrentInstance, onMounted, reactive, ref} from 'vue';
|
||||
import {getDispensaryList, getPharmacyList, getStockTakeList, saveOrgDeviceSummary,} from './components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { warehous_type } = proxy.useDict('warehous_type');
|
||||
const dataList = ref([]);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request'
|
||||
import { parseStrEmpty } from "@/utils/openhis";
|
||||
|
||||
// 查询盘点列表
|
||||
export function getStockinventoryList(query) {
|
||||
|
||||
@@ -41,9 +41,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: {
|
||||
|
||||
@@ -233,18 +233,11 @@
|
||||
</template>
|
||||
|
||||
<script setup name="ChkstockRecord">
|
||||
// 导入onActivated钩子
|
||||
import { onMounted, onActivated } from 'vue';
|
||||
import {
|
||||
getStockinventoryList,
|
||||
getstocktakingDetail,
|
||||
getInit,
|
||||
submitApproval,
|
||||
withdrawApproval,
|
||||
getDetailInit,
|
||||
} from '../components/api';
|
||||
import ChkstockDetailsDialog from '../components/chkstockDetailsDialog.vue';
|
||||
// import stockReceiptDialog from "./components/stockReceiptDialog";
|
||||
// 导入onActivated钩子
|
||||
import {onActivated, onMounted} from 'vue';
|
||||
import {getInit, getStockinventoryList, submitApproval, withdrawApproval,} from '../components/api';
|
||||
import ChkstockDetailsDialog from '../components/chkstockDetailsDialog.vue';
|
||||
// import stockReceiptDialog from "./components/stockReceiptDialog";
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request'
|
||||
import { parseStrEmpty } from "@/utils/openhis";
|
||||
|
||||
// 查询盘点列表
|
||||
export function getStockinventoryList(query) {
|
||||
|
||||
@@ -130,10 +130,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getCurrentInstance } from 'vue';
|
||||
import { getstocktakingDetail, productStocktakingApproved, reject } from './api';
|
||||
import {getCurrentInstance} from 'vue';
|
||||
import {getstocktakingDetail, productStocktakingApproved, reject} from './api';
|
||||
import templateJson from '@/views/medicationmanagement/chkstock/chkstockPart/components/template.json';
|
||||
import { hiprint } from 'vue-plugin-hiprint';
|
||||
import {hiprint} from 'vue-plugin-hiprint';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const detailsList = ref([]);
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineList } from "./api";
|
||||
import { ref, watch } from "vue";
|
||||
import { throttle } from "lodash-es";
|
||||
import {getMedicineList} from "./api";
|
||||
import {ref, watch} from "vue";
|
||||
import {throttle} from "lodash-es";
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询管理列表
|
||||
export function getTransferProductList(query) {
|
||||
return request({
|
||||
|
||||
@@ -65,9 +65,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineList } from "../../lossReporting";
|
||||
import { watch } from "vue";
|
||||
import { throttle } from "lodash-es";
|
||||
import {getMedicineList} from "../../lossReporting";
|
||||
import {watch} from "vue";
|
||||
import {throttle} from "lodash-es";
|
||||
|
||||
const route = useRoute();
|
||||
const props = defineProps({
|
||||
searchKey: {
|
||||
|
||||
@@ -527,26 +527,27 @@
|
||||
|
||||
<script setup name="index">
|
||||
import {
|
||||
getPharmacyCabinetList,
|
||||
submitApproval,
|
||||
addTransferProduct,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getBusNoInit,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getInit,
|
||||
getMedicineList,
|
||||
getPharmacyCabinetList,
|
||||
getPharmacyList,
|
||||
getTransferProductDetail,
|
||||
reject,
|
||||
lossReportApproved,
|
||||
reject,
|
||||
submitApproval,
|
||||
} from '../lossReporting';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import transferManagement from './components/lossReporting.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();
|
||||
const store = useStore();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -297,14 +297,14 @@
|
||||
|
||||
<script setup name="lossReportingList">
|
||||
import {
|
||||
getTransferProductList,
|
||||
addTransferProduct,
|
||||
getTransferProductDetail,
|
||||
getInit,
|
||||
delTransferProduct,
|
||||
getBusNoInit,
|
||||
getInit,
|
||||
getTransferProductDetail,
|
||||
getTransferProductList,
|
||||
submitApproval,
|
||||
withdrawApproval,
|
||||
delTransferProduct,
|
||||
} from "../lossReporting";
|
||||
|
||||
// import Dialog from "./components/Dialog";
|
||||
|
||||
@@ -127,9 +127,9 @@
|
||||
</template>
|
||||
|
||||
<script setup name="Medication">
|
||||
import { getYbCatalogResult, getYbCatalog } from './components/medicine';
|
||||
import {getYbCatalog, getYbCatalogResult} from './components/medicine';
|
||||
//字段配置文件
|
||||
import { catalogFieldConfigs } from './components/catalogFields';
|
||||
import {catalogFieldConfigs} from './components/catalogFields';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -125,12 +125,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {onMounted, reactive, ref} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
// 导入路由钩子
|
||||
import { useRouter } from 'vue-router';
|
||||
import {useRouter} from 'vue-router';
|
||||
// 假设API模块存在,实际项目中需要根据实际情况导入
|
||||
import { getList, getPharmacyList } from './components/api.js';
|
||||
import {getList, getPharmacyList} from './components/api.js';
|
||||
|
||||
// 创建路由实例
|
||||
const router = useRouter();
|
||||
|
||||
@@ -79,8 +79,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { number } from 'echarts';
|
||||
import { ref, computed, watch, toRaw, isProxy } from 'vue';
|
||||
import {computed, ref, toRaw, watch} from 'vue';
|
||||
|
||||
// 定义props
|
||||
const props = defineProps({
|
||||
|
||||
@@ -80,16 +80,16 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { parseTime } from '@/utils/openhis';
|
||||
import {onMounted, reactive, ref} from 'vue';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {parseTime} from '@/utils/openhis';
|
||||
import Pagination from '@/components/Pagination';
|
||||
import {
|
||||
getPriceAdjustmentPage,
|
||||
cancelSupplyRequestData,
|
||||
searchSupplyRequestByHealth,
|
||||
getPriceAdjustmentPage,
|
||||
searchSupplyRequestByActivity,
|
||||
searchSupplyRequestByDevice,
|
||||
searchSupplyRequestByHealth,
|
||||
searchSupplyRequestByMed,
|
||||
submitApprovalForPriceAdjustment,
|
||||
} from './components/api';
|
||||
|
||||
@@ -97,8 +97,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, watch } from 'vue';
|
||||
import { rejectPriceAdjustment } from './api';
|
||||
import {computed, ref, watch} from 'vue';
|
||||
|
||||
// 定义props
|
||||
const props = defineProps({
|
||||
|
||||
@@ -101,21 +101,20 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, onMounted } from 'vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { parseTime } from '@/utils/openhis';
|
||||
import {onMounted, reactive, ref} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {parseTime} from '@/utils/openhis';
|
||||
import Pagination from '@/components/Pagination';
|
||||
import request from '@/utils/request';
|
||||
//import { getPriceAdjustmentPage, getPriceAdjustmentDetail, cancelPriceAdjustment } from './components/api';
|
||||
import {
|
||||
getPriceAdjustmentDetail,
|
||||
searchSupplyRequestByHealth,
|
||||
getExamineStatusOptions,
|
||||
rejectPriceAdjustment,
|
||||
searchSupplyRequestByActivity,
|
||||
searchSupplyRequestByDevice,
|
||||
searchSupplyRequestByHealth,
|
||||
searchSupplyRequestByMed,
|
||||
getExamineStatusOptions,
|
||||
updateExamineByApproved,
|
||||
rejectPriceAdjustment,
|
||||
} from './components/api';
|
||||
|
||||
import DetailDialog from './components/detailDialog.vue';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 查询费用定价信息列表
|
||||
export function listDefinition (query) {
|
||||
return request ({
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineListByMed, getMedicineListByDevice, getMedicineListByActivity } from './api';
|
||||
import { watch } from 'vue';
|
||||
import { throttle } from 'lodash-es';
|
||||
import {getMedicineListByActivity, getMedicineListByDevice, getMedicineListByMed} from './api';
|
||||
import {watch} from 'vue';
|
||||
import {throttle} from 'lodash-es';
|
||||
|
||||
const props = defineProps({
|
||||
searchKey: {
|
||||
|
||||
@@ -529,22 +529,22 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import {
|
||||
listDefinition,
|
||||
initOption,
|
||||
checkActivityApprovalExist,
|
||||
checkDeviceApprovalExist,
|
||||
checkMedApprovalExist,
|
||||
commitChangePriceData,
|
||||
commitExamineChangePriceData,
|
||||
getInitAdjustPriceSwitchState,
|
||||
initOption,
|
||||
listDefinition,
|
||||
searchAllOrgData,
|
||||
searchHealthData,
|
||||
checkMedApprovalExist,
|
||||
checkDeviceApprovalExist,
|
||||
checkActivityApprovalExist,
|
||||
getInitAdjustPriceSwitchState,
|
||||
} from './components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import medicineList from './components/medicineList.vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { ref, watch } from 'vue';
|
||||
import { da } from 'element-plus/es/locales.mjs';
|
||||
import {ref, watch} from 'vue';
|
||||
|
||||
const activeName = ref('1');
|
||||
const router = useRouter();
|
||||
const showSearch = ref(true);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询采购入库列表
|
||||
export function getPurchaseinventoryList(query) {
|
||||
return request({
|
||||
|
||||
@@ -52,9 +52,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: {
|
||||
|
||||
@@ -677,33 +677,32 @@
|
||||
|
||||
<script setup name="PurchaseDocument">
|
||||
import {
|
||||
submitApproval,
|
||||
addPurchaseinventory,
|
||||
getInit,
|
||||
delPurchaseinventory,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getDispensaryListAll,
|
||||
getInit,
|
||||
getInitBusNo,
|
||||
getPharmacyList,
|
||||
getPharmacyListAll,
|
||||
purchaseInventoryApproved,
|
||||
reject,
|
||||
getPharmacyListAll,
|
||||
getDispensaryListAll,
|
||||
submitApproval,
|
||||
} from "./components/api";
|
||||
const route = useRoute();
|
||||
import PopoverList from "@/components/OpenHis/popoverList/index.vue";
|
||||
import MedicineList from "./components/medicineList.vue";
|
||||
import TraceNoDialog from "@/components/OpenHis/TraceNoDialog/index.vue";
|
||||
import { formatDate, formatDateymd } from "@/utils/index";
|
||||
import { useStore } from "@/store/store";
|
||||
import {formatDate, formatDateymd} from "@/utils/index";
|
||||
import {useStore} from "@/store/store";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
import { ElMessage } from "element-plus";
|
||||
import { nextTick, ref, watch, onMounted, onUnmounted } from "vue";
|
||||
import {ElMessage} from "element-plus";
|
||||
import {nextTick, onMounted, onUnmounted, ref, watch} from "vue";
|
||||
import useTagsViewStore from "@/store/modules/tagsView";
|
||||
import _, { isEqual } from "lodash";
|
||||
import { debounce } from "lodash-es";
|
||||
import {isEqual} from "lodash";
|
||||
import templateJson from "./components/templateJson.json";
|
||||
import { hiprint } from "vue-plugin-hiprint";
|
||||
import {hiprint} from "vue-plugin-hiprint";
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
const router = useRouter();
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
|
||||
@@ -551,18 +551,17 @@
|
||||
|
||||
<script setup name="InventoryReceiptDialog">
|
||||
import {
|
||||
submitApproval,
|
||||
addPurchaseinventory,
|
||||
getInit,
|
||||
delPurchaseinventory,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getPharmacyList,
|
||||
submitApproval,
|
||||
} from './purchaseinventory';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import MedicineList from './medicineList.vue';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import {formatDate} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getMedicineList } from "./purchaseinventory";
|
||||
import { watch } from "vue";
|
||||
import { throttle } from "lodash-es";
|
||||
import {getMedicineList} from "./purchaseinventory";
|
||||
import {watch} from "vue";
|
||||
import {throttle} from "lodash-es";
|
||||
|
||||
const props = defineProps({
|
||||
searchKey: {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询采购入库列表
|
||||
export function getPurchaseinventoryList(query) {
|
||||
return request({
|
||||
|
||||
@@ -396,21 +396,19 @@
|
||||
|
||||
<script setup name="Purchaseinventory">
|
||||
import {
|
||||
getPurchaseinventoryList,
|
||||
addPurchaseinventory,
|
||||
getpurchaseInventoryDetail,
|
||||
getInit,
|
||||
submitApproval,
|
||||
withdrawApproval,
|
||||
delPurchaseinventory,
|
||||
generatedReturnDetail,
|
||||
getpurchaseInventoryDetailReturn,
|
||||
getInit,
|
||||
getpurchaseInventoryDetail,
|
||||
getPurchaseinventoryList,
|
||||
submitApproval,
|
||||
submitApprovalReturn,
|
||||
withdrawApproval,
|
||||
withdrawApprovalReturn,
|
||||
} from './components/purchaseinventory';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useStore} from '@/store/store';
|
||||
import inventoryReceiptDialog from './components/inventoryReceiptDialog';
|
||||
import { ref } from 'vue';
|
||||
import {ref} from 'vue';
|
||||
|
||||
const router = useRouter();
|
||||
const store = useStore();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询已退库单详情
|
||||
export function getPurchaseinventoryList(busNo) {
|
||||
return request({
|
||||
|
||||
@@ -54,9 +54,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: {
|
||||
|
||||
@@ -627,28 +627,24 @@
|
||||
|
||||
<script setup name="returnedPurchase">
|
||||
import {
|
||||
submitApproval,
|
||||
addPurchaseinventory,
|
||||
delPurchaseinventory,
|
||||
getCount,
|
||||
getDispensaryList,
|
||||
getInit,
|
||||
getInitBusNo,
|
||||
delPurchaseinventory,
|
||||
getPharmacyList,
|
||||
getCount,
|
||||
getpurchaseInventoryDetail,
|
||||
purchaseInventoryApproved,
|
||||
reject,
|
||||
getDispensaryList,
|
||||
getMedicineList,
|
||||
getPurchaseinventoryList,
|
||||
getpurchaseInventoryDetail,
|
||||
submitApproval,
|
||||
} from './components/api';
|
||||
import PopoverList from '@/components/OpenHis/popoverList/index.vue';
|
||||
import MedicineList from './components/transferManagement.vue';
|
||||
import { formatDate, formatDateymd } from '@/utils/index';
|
||||
import {formatDate, formatDateymd} from '@/utils/index';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import TraceNoDialog from '@/components/OpenHis/TraceNoDialog/index.vue';
|
||||
import { time } from 'echarts';
|
||||
import { useStore } from '@/store/store';
|
||||
import {useStore} from '@/store/store';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
|
||||
const tagsViewStore = useTagsViewStore();
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
|
||||
@@ -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([]);
|
||||
|
||||
@@ -206,14 +206,11 @@
|
||||
</template>
|
||||
|
||||
<script setup name="storeReconciliation">
|
||||
import { ref, reactive, onMounted, watch, computed } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {
|
||||
getStoreReconciliationList,
|
||||
getPharmacyCabinetList,
|
||||
getBackupList,
|
||||
} from './components/api.js';
|
||||
import { formatInventory } from '@/utils/his.js';
|
||||
import {onMounted, reactive, ref, watch} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import {getBackupList, getPharmacyCabinetList, getStoreReconciliationList,} from './components/api.js';
|
||||
import {formatInventory} from '@/utils/his.js';
|
||||
|
||||
const loading = ref(false);
|
||||
const total = ref(0);
|
||||
const queryParams = reactive({
|
||||
|
||||
@@ -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