|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
- <CustomNav title="患者建档信息" leftType="home" />
|
|
|
+ <CustomNav title="健康档案" leftType="back" />
|
|
|
<view class="complete-container">
|
|
|
<view class="form-section">
|
|
|
- <text class="section-title">患者建档信息</text>
|
|
|
+ <text class="section-title">健康档案</text>
|
|
|
|
|
|
<!-- 吸烟饮酒史 -->
|
|
|
<view class="form-item">
|
|
|
@@ -30,16 +30,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 用药情况 -->
|
|
|
- <view class="form-item">
|
|
|
- <text class="label">用药情况</text>
|
|
|
- <textarea
|
|
|
- v-model="medicationHistory"
|
|
|
- placeholder="请输入用药情况"
|
|
|
- class="input"
|
|
|
- />
|
|
|
- </view>
|
|
|
-
|
|
|
<!-- 过敏史 -->
|
|
|
<view class="form-item">
|
|
|
<view class="switch-row">
|
|
|
@@ -119,7 +109,6 @@ const diseaseHistory = ref<Record<string, boolean>>({
|
|
|
coronaryHeartDisease: false,
|
|
|
cerebralInfarction: false
|
|
|
})
|
|
|
-const medicationHistory = ref('')
|
|
|
const allergyHistory = ref('')
|
|
|
const familyHistory = ref('')
|
|
|
const hasAllergy = ref(false)
|
|
|
@@ -149,7 +138,6 @@ const submitForm = () => {
|
|
|
smokingHistory: smokingHistory.value,
|
|
|
drinkingHistory: drinkingHistory.value,
|
|
|
diseaseHistory: diseaseHistory.value,
|
|
|
- medicationHistory: medicationHistory.value,
|
|
|
allergyHistory: hasAllergy.value ? allergyHistory.value : '',
|
|
|
familyHistory: hasFamilyHistory.value ? familyHistory.value : ''
|
|
|
}
|