门诊号码管理修改关闭给予保存提示

This commit is contained in:
2025-11-24 10:45:27 +08:00
parent 97a29a31c5
commit 61749aee4d
2 changed files with 48 additions and 9 deletions

View File

@@ -189,7 +189,7 @@
</template>
<script setup name="Index">
import { ref, onMounted } from 'vue';
import { ref, onMounted, onActivated } from 'vue';
import { useRouter } from 'vue-router';
import Chart from 'chart.js/auto';
import {
@@ -214,6 +214,10 @@ function getExpirationWarningCount() {
let chartInstance = null;
onActivated(() => {
getExpirationWarningCount();
})
onMounted(() => {
getExpirationWarningCount();