From 0794782505dde491ab590f9a0e7c95c54e06d266 Mon Sep 17 00:00:00 2001 From: chenqi Date: Fri, 12 Dec 2025 15:43:58 +0800 Subject: [PATCH] TypeScript Vue Plugi --- openhis-ui-vue3/src/views/index.vue | 4 ++-- .../statisticalManagement/earlyWarning.vue | 10 +++++----- .../statisticalManagement/statisticalManagent.js | 11 ++++++----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/openhis-ui-vue3/src/views/index.vue b/openhis-ui-vue3/src/views/index.vue index 5896539f..3037455a 100644 --- a/openhis-ui-vue3/src/views/index.vue +++ b/openhis-ui-vue3/src/views/index.vue @@ -219,11 +219,11 @@ function getExpirationWarningCount() { let chartInstance = null; onActivated(() => { - getExpirationWarningCount(); + // getExpirationWarningCount(); }) onMounted(() => { - getExpirationWarningCount(); + // getExpirationWarningCount(); const ctx = document.getElementById('statsChart'); if (!ctx) return; diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/earlyWarning.vue b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/earlyWarning.vue index ecc0c705..5833966a 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/earlyWarning.vue +++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/earlyWarning.vue @@ -252,11 +252,11 @@ function getList() { ...queryParams.value, flg: queryParams.value.flg == 1 ? '1' : null, }; - getExpirationWarning(params).then((res) => { - loading.value = false; - purchaseinventoryList.value = res.data.records; - total.value = res.data.total; - }); + // getExpirationWarning(params).then((res) => { + // loading.value = false; + // purchaseinventoryList.value = res.data.records; + // total.value = res.data.total; + // }); } /** 搜索按钮操作 */ diff --git a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js index ed4c1326..30173ee5 100644 --- a/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js +++ b/openhis-ui-vue3/src/views/medicationmanagement/statisticalManagement/statisticalManagent.js @@ -306,11 +306,12 @@ export function ybRequestFileUp(data) { }) } export function getExpirationWarning(query) { - return request({ - url: '/inventory-manage/product/expiration-warning', - method: 'get', - params: query - }) + // return request({ + // url: '/inventory-manage/product/expiration-warning', + // method: 'get', + // params: query + // }) + return null; } export function getClroptins(query) { return request({