您的身體功能與日常活動習慣良好。建議您每週繼續保持 3
次以上的運動,並可以預約普測活動以獲得精準的五維健康指標與運動處方。
-
由於您運動頻率偏低,或是過去有跌倒史,建議您可以前往運動中心預約專業普測,由現場教練為您提供適合的肌力與平衡回測建議。
-
檢測到您有多項慢性病或中重度疼痛,運動時請特別留意。建議您先向您的家庭醫師或社區據點諮詢,並在運動普測現場合對您的健康狀態,以確保運動安全。
-
+
* 禁忌提醒:若收縮壓 >
160mmHg、有關節強烈疼痛或暈眩時,請立即暫停所有體能檢測與訓練!
@@ -314,7 +292,7 @@
class="rounded-lg px-4"
color="primary"
variant="outlined"
- @click="currentStep--"
+ @click="goToPreviousStep"
>
上一步
@@ -327,7 +305,7 @@
color="primary"
:disabled="currentStep === 0 && !profileForm.consent"
variant="flat"
- @click="currentStep++"
+ @click="goToNextStep"
>
下一步
@@ -395,10 +373,8 @@ const assessmentForm = reactive({
hasFalls: store.selfAssessment.hasFalls,
painLevel: store.selfAssessment.painLevel,
chronicDiseases: [...store.selfAssessment.chronicDiseases],
- medicationReminders: [...store.selfAssessment.medicationReminders],
})
-const medicationInput = ref('')
const resultLevel = ref(store.selfAssessment.scoreLevel)
const improvementsOptions = ['肌力', '平衡', '心肺', '柔軟度', '敏捷', '體脂/BMI']
@@ -439,15 +415,18 @@ function toggleImprovement (imp: string) {
}
}
-function addMedication () {
- if (medicationInput.value.trim()) {
- assessmentForm.medicationReminders.push(medicationInput.value.trim())
- medicationInput.value = ''
- }
+function scrollToPageTop () {
+ window.scrollTo({ top: 0 })
}
-function removeMedication (index: number) {
- assessmentForm.medicationReminders.splice(index, 1)
+function goToPreviousStep () {
+ currentStep.value -= 1
+ scrollToPageTop()
+}
+
+function goToNextStep () {
+ currentStep.value += 1
+ scrollToPageTop()
}
function handleSubmit () {
@@ -467,12 +446,12 @@ function handleSubmit () {
hasFalls: assessmentForm.hasFalls,
painLevel: assessmentForm.painLevel,
chronicDiseases: assessmentForm.chronicDiseases,
- medicationReminders: assessmentForm.medicationReminders,
})
// 取得計算後的結果
resultLevel.value = store.selfAssessment.scoreLevel
currentStep.value = 3
+ scrollToPageTop()
}
function getResultColor (lvl: string) {
diff --git a/app/citizen-frontend/src/stores/app.ts b/app/citizen-frontend/src/stores/app.ts
index e4dd618..ea447c6 100644
--- a/app/citizen-frontend/src/stores/app.ts
+++ b/app/citizen-frontend/src/stores/app.ts
@@ -19,7 +19,6 @@ export interface SelfAssessment {
painLevel: string
hasFalls: boolean
chronicDiseases: string[]
- medicationReminders: string[]
wantedImprovements: string[]
scoreLevel: string
completed: boolean
@@ -65,7 +64,6 @@ function createDefaultSelfAssessment (): SelfAssessment {
painLevel: '輕微',
hasFalls: false,
chronicDiseases: ['高血壓'],
- medicationReminders: ['每日晨間降血壓藥'],
wantedImprovements: ['肌力', '平衡'],
scoreLevel: '需追蹤',
completed: true,