diff --git a/src/components/outpatient/MedicalQueue.vue b/src/components/outpatient/MedicalQueue.vue index ac3dd7f..bc924b0 100644 --- a/src/components/outpatient/MedicalQueue.vue +++ b/src/components/outpatient/MedicalQueue.vue @@ -104,7 +104,7 @@ onMounted(() => { // 启动定时器,每秒更新一次 refreshInterval = setInterval(() => { initList() - }, 1000); // 每1000毫秒(即1秒)执行一次 + }, 60*1000); // 每1000毫秒(即1秒)执行一次 }) onUnmounted(() => { // 组件卸载时清除定时器 diff --git a/src/views/member/index.vue b/src/views/member/index.vue index 1cf425d..ba410fb 100644 --- a/src/views/member/index.vue +++ b/src/views/member/index.vue @@ -45,12 +45,12 @@ alt="">
- {{ listItem.name || '-' }} - {{ listItem.levelName || '-' }} + {{ listItem.name}} + {{ listItem.levelName }}
- {{ listItem.age ? listItem.age + '岁' : '-' }} - {{ listItem.phone || '-' }} + {{ listItem.age ? listItem.age + '岁' : '' }} + {{ listItem.phone }}
@@ -68,27 +68,27 @@ :column="3" border > - {{ listItem.birthday || "-" }} + {{ listItem.birthday}} - {{ antysList.find((item: any) => item.id == listItem.nation)?.name || "-" }} + {{ antysList.find((item: any) => item.id == listItem.nation)?.name}} {{ - formatListTime(listItem.lastVisitTime) || "-" + formatListTime(listItem.lastVisitTime) }} {{ certTypeList.find((item: any) => item.id == Number(listItem.certType))?.name }} > - {{ listItem.certNo || "-" }} + {{ listItem.certNo}} {{ listItem.integralBalance }} - {{ areaName }}{{ areaName ? '/' + listItem.address : listItem.address || "-" }} + {{ areaName }}{{ areaName ? '/' + listItem.address : listItem.address}} - {{ listItem.beforeMedicalHistory || "-" }} - {{ listItem.allergyHistory || "-" }} - {{ listItem.remark || "-" }} + {{ listItem.beforeMedicalHistory}} + {{ listItem.allergyHistory}} + {{ listItem.remark }} diff --git a/src/views/social/directory.vue b/src/views/social/directory.vue index f3e9069..1c3ba12 100644 --- a/src/views/social/directory.vue +++ b/src/views/social/directory.vue @@ -52,7 +52,7 @@ v-model:current-page="current_page" @current-change="change_page"/> - +
{{ tip_message }}
@@ -146,7 +146,7 @@
- +
{{ tip_message }}
@@ -386,15 +386,15 @@ const syncCacheTotalPage = ref(0) const isSynchronizedCacheBox = ref(false) const syncCache = () => { if (syncCachePage.value == 1) { - tip_message.value = "开始同步第一页"; + tip_message.value = "开始同步第1页"; } post("social/directory/syncToMongo", {page: syncCachePage.value}).then((res: any) => { if (res.total_page) { syncCacheTotalPage.value = res.total_page } - if (syncCachePage.value <= syncCacheTotalPage.value) { + if (syncCachePage.value < syncCacheTotalPage.value) { syncCachePage.value++ - tip_message.value = "正在同步目录,以同步" + syncCachePage.value + "/" + syncCacheTotalPage.value + "页,请不要强制关闭程序,否则数据不完整"; + tip_message.value = "正在同步目录,以同步" + syncCachePage.value + "/" + syncCacheTotalPage.value + "页,请不要强制关闭程序,否则数据不完整"; percent.value = Math.floor((syncCachePage.value / syncCacheTotalPage.value) * 100) syncCache() } else {