|
@@ -39,15 +39,15 @@ export interface CheckInRegistrationForm {
|
|
|
preResidenceHomeType?: string[]
|
|
preResidenceHomeType?: string[]
|
|
|
preResidenceHomeOther?: string
|
|
preResidenceHomeOther?: string
|
|
|
checkInReason?: string
|
|
checkInReason?: string
|
|
|
- pastHistoryDiseaseNone?: boolean
|
|
|
|
|
|
|
+ pastHistoryDiseaseNone?: boolean | null
|
|
|
pastHistoryDiseaseName1?: string
|
|
pastHistoryDiseaseName1?: string
|
|
|
pastHistoryDiseaseTime1?: string
|
|
pastHistoryDiseaseTime1?: string
|
|
|
pastHistoryDiseaseName2?: string
|
|
pastHistoryDiseaseName2?: string
|
|
|
pastHistoryDiseaseTime2?: string
|
|
pastHistoryDiseaseTime2?: string
|
|
|
- pastHistorySurgery?: boolean
|
|
|
|
|
|
|
+ pastHistorySurgery?: boolean | null
|
|
|
pastHistorySurgeryName?: string
|
|
pastHistorySurgeryName?: string
|
|
|
pastHistorySurgeryTime?: string
|
|
pastHistorySurgeryTime?: string
|
|
|
- pastHistoryTrauma?: boolean
|
|
|
|
|
|
|
+ pastHistoryTrauma?: boolean | null
|
|
|
pastHistoryTraumaPart1?: string
|
|
pastHistoryTraumaPart1?: string
|
|
|
pastHistoryTraumaTime1?: string
|
|
pastHistoryTraumaTime1?: string
|
|
|
pastHistoryTraumaPart2?: string
|
|
pastHistoryTraumaPart2?: string
|
|
@@ -58,41 +58,41 @@ export interface CheckInRegistrationForm {
|
|
|
currentDiseaseName2?: string
|
|
currentDiseaseName2?: string
|
|
|
currentDiseaseTime2?: string
|
|
currentDiseaseTime2?: string
|
|
|
currentDiseaseStatus2?: string
|
|
currentDiseaseStatus2?: string
|
|
|
- regularVisitNone?: boolean
|
|
|
|
|
|
|
+ regularVisitNone?: boolean | null
|
|
|
regularVisitReason?: string
|
|
regularVisitReason?: string
|
|
|
regularVisitFreq?: string
|
|
regularVisitFreq?: string
|
|
|
- hospitalizationNone?: boolean
|
|
|
|
|
|
|
+ hospitalizationNone?: boolean | null
|
|
|
hospitalizationCount?: string
|
|
hospitalizationCount?: string
|
|
|
- emergencyNone?: boolean
|
|
|
|
|
|
|
+ emergencyNone?: boolean | null
|
|
|
emergencyCount?: string
|
|
emergencyCount?: string
|
|
|
- discomfortSymptomsNone?: boolean
|
|
|
|
|
|
|
+ discomfortSymptomsNone?: boolean | null
|
|
|
discomfortSymptomsList?: string[]
|
|
discomfortSymptomsList?: string[]
|
|
|
discomfortSymptomsOther?: string
|
|
discomfortSymptomsOther?: string
|
|
|
- allergyDrugNone?: boolean
|
|
|
|
|
|
|
+ allergyDrugNone?: boolean | null
|
|
|
allergyDrugDetail?: string
|
|
allergyDrugDetail?: string
|
|
|
- allergyFoodNone?: boolean
|
|
|
|
|
|
|
+ allergyFoodNone?: boolean | null
|
|
|
allergyFoodDetail?: string
|
|
allergyFoodDetail?: string
|
|
|
- allergyEnvNone?: boolean
|
|
|
|
|
|
|
+ allergyEnvNone?: boolean | null
|
|
|
allergyEnvDetail?: string
|
|
allergyEnvDetail?: string
|
|
|
- fallNone?: boolean
|
|
|
|
|
|
|
+ fallNone?: boolean | null
|
|
|
fallDetail?: string
|
|
fallDetail?: string
|
|
|
- memoryDeclineNone?: boolean
|
|
|
|
|
|
|
+ memoryDeclineNone?: boolean | null
|
|
|
memoryDeclineDetail?: string
|
|
memoryDeclineDetail?: string
|
|
|
- weightLossNone?: boolean
|
|
|
|
|
|
|
+ weightLossNone?: boolean | null
|
|
|
weightLossWeight?: string
|
|
weightLossWeight?: string
|
|
|
- urinaryIncontinenceNone?: boolean
|
|
|
|
|
|
|
+ urinaryIncontinenceNone?: boolean | null
|
|
|
urinaryIncontinenceCount?: string
|
|
urinaryIncontinenceCount?: string
|
|
|
- sleepDisorderNone?: boolean
|
|
|
|
|
|
|
+ sleepDisorderNone?: boolean | null
|
|
|
sleepDisorderTypes?: string[]
|
|
sleepDisorderTypes?: string[]
|
|
|
sleepDisorderOther?: string
|
|
sleepDisorderOther?: string
|
|
|
- painNone?: boolean
|
|
|
|
|
|
|
+ painNone?: boolean | null
|
|
|
painPart?: string
|
|
painPart?: string
|
|
|
- visionAbnormalNone?: boolean
|
|
|
|
|
|
|
+ visionAbnormalNone?: boolean | null
|
|
|
visionAbnormalTypes?: string[]
|
|
visionAbnormalTypes?: string[]
|
|
|
visionAbnormalDegree?: string
|
|
visionAbnormalDegree?: string
|
|
|
- hearingLossNone?: boolean
|
|
|
|
|
|
|
+ hearingLossNone?: boolean | null
|
|
|
hearingLossDetail?: string
|
|
hearingLossDetail?: string
|
|
|
- mentalStatusNone?: boolean
|
|
|
|
|
|
|
+ mentalStatusNone?: boolean | null
|
|
|
mentalStatusList?: string[]
|
|
mentalStatusList?: string[]
|
|
|
mentalStatusOther?: string
|
|
mentalStatusOther?: string
|
|
|
languageExpression?: string[]
|
|
languageExpression?: string[]
|
|
@@ -155,15 +155,15 @@ const createDefaultForm = (): CheckInRegistrationForm => ({
|
|
|
preResidenceHomeType: [],
|
|
preResidenceHomeType: [],
|
|
|
preResidenceHomeOther: '',
|
|
preResidenceHomeOther: '',
|
|
|
checkInReason: '',
|
|
checkInReason: '',
|
|
|
- pastHistoryDiseaseNone: true,
|
|
|
|
|
|
|
+ pastHistoryDiseaseNone: null,
|
|
|
pastHistoryDiseaseName1: '',
|
|
pastHistoryDiseaseName1: '',
|
|
|
pastHistoryDiseaseTime1: '',
|
|
pastHistoryDiseaseTime1: '',
|
|
|
pastHistoryDiseaseName2: '',
|
|
pastHistoryDiseaseName2: '',
|
|
|
pastHistoryDiseaseTime2: '',
|
|
pastHistoryDiseaseTime2: '',
|
|
|
- pastHistorySurgery: false,
|
|
|
|
|
|
|
+ pastHistorySurgery: null,
|
|
|
pastHistorySurgeryName: '',
|
|
pastHistorySurgeryName: '',
|
|
|
pastHistorySurgeryTime: '',
|
|
pastHistorySurgeryTime: '',
|
|
|
- pastHistoryTrauma: false,
|
|
|
|
|
|
|
+ pastHistoryTrauma: null,
|
|
|
pastHistoryTraumaPart1: '',
|
|
pastHistoryTraumaPart1: '',
|
|
|
pastHistoryTraumaTime1: '',
|
|
pastHistoryTraumaTime1: '',
|
|
|
pastHistoryTraumaPart2: '',
|
|
pastHistoryTraumaPart2: '',
|
|
@@ -174,41 +174,41 @@ const createDefaultForm = (): CheckInRegistrationForm => ({
|
|
|
currentDiseaseName2: '',
|
|
currentDiseaseName2: '',
|
|
|
currentDiseaseTime2: '',
|
|
currentDiseaseTime2: '',
|
|
|
currentDiseaseStatus2: '',
|
|
currentDiseaseStatus2: '',
|
|
|
- regularVisitNone: true,
|
|
|
|
|
|
|
+ regularVisitNone: null,
|
|
|
regularVisitReason: '',
|
|
regularVisitReason: '',
|
|
|
regularVisitFreq: '',
|
|
regularVisitFreq: '',
|
|
|
- hospitalizationNone: true,
|
|
|
|
|
|
|
+ hospitalizationNone: null,
|
|
|
hospitalizationCount: '',
|
|
hospitalizationCount: '',
|
|
|
- emergencyNone: true,
|
|
|
|
|
|
|
+ emergencyNone: null,
|
|
|
emergencyCount: '',
|
|
emergencyCount: '',
|
|
|
- discomfortSymptomsNone: true,
|
|
|
|
|
|
|
+ discomfortSymptomsNone: null,
|
|
|
discomfortSymptomsList: [],
|
|
discomfortSymptomsList: [],
|
|
|
discomfortSymptomsOther: '',
|
|
discomfortSymptomsOther: '',
|
|
|
- allergyDrugNone: true,
|
|
|
|
|
|
|
+ allergyDrugNone: null,
|
|
|
allergyDrugDetail: '',
|
|
allergyDrugDetail: '',
|
|
|
- allergyFoodNone: true,
|
|
|
|
|
|
|
+ allergyFoodNone: null,
|
|
|
allergyFoodDetail: '',
|
|
allergyFoodDetail: '',
|
|
|
- allergyEnvNone: true,
|
|
|
|
|
|
|
+ allergyEnvNone: null,
|
|
|
allergyEnvDetail: '',
|
|
allergyEnvDetail: '',
|
|
|
- fallNone: true,
|
|
|
|
|
|
|
+ fallNone: null,
|
|
|
fallDetail: '',
|
|
fallDetail: '',
|
|
|
- memoryDeclineNone: true,
|
|
|
|
|
|
|
+ memoryDeclineNone: null,
|
|
|
memoryDeclineDetail: '',
|
|
memoryDeclineDetail: '',
|
|
|
- weightLossNone: true,
|
|
|
|
|
|
|
+ weightLossNone: null,
|
|
|
weightLossWeight: '',
|
|
weightLossWeight: '',
|
|
|
- urinaryIncontinenceNone: true,
|
|
|
|
|
|
|
+ urinaryIncontinenceNone: null,
|
|
|
urinaryIncontinenceCount: '',
|
|
urinaryIncontinenceCount: '',
|
|
|
- sleepDisorderNone: true,
|
|
|
|
|
|
|
+ sleepDisorderNone: null,
|
|
|
sleepDisorderTypes: [],
|
|
sleepDisorderTypes: [],
|
|
|
sleepDisorderOther: '',
|
|
sleepDisorderOther: '',
|
|
|
- painNone: true,
|
|
|
|
|
|
|
+ painNone: null,
|
|
|
painPart: '',
|
|
painPart: '',
|
|
|
- visionAbnormalNone: true,
|
|
|
|
|
|
|
+ visionAbnormalNone: null,
|
|
|
visionAbnormalTypes: [],
|
|
visionAbnormalTypes: [],
|
|
|
visionAbnormalDegree: '',
|
|
visionAbnormalDegree: '',
|
|
|
- hearingLossNone: true,
|
|
|
|
|
|
|
+ hearingLossNone: null,
|
|
|
hearingLossDetail: '',
|
|
hearingLossDetail: '',
|
|
|
- mentalStatusNone: true,
|
|
|
|
|
|
|
+ mentalStatusNone: null,
|
|
|
mentalStatusList: [],
|
|
mentalStatusList: [],
|
|
|
mentalStatusOther: '',
|
|
mentalStatusOther: '',
|
|
|
languageExpression: [],
|
|
languageExpression: [],
|
|
@@ -545,20 +545,20 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl" rowspan="2">既往史</td>
|
|
<td class="lbl" rowspan="2">既往史</td>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.pastHistoryDiseaseNone" @change="onPastHistoryNoneChange" /> 无</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.pastHistoryDiseaseNone" @change="updateForm('pastHistoryDiseaseNone',false)" /> 有:疾病名称:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistoryDiseaseNone === true" @change="onPastHistoryNoneChange" /> 无 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistoryDiseaseNone === false" @change="updateForm('pastHistoryDiseaseNone',false)" /> 有:疾病名称:</label>
|
|
|
<input :value="form.pastHistoryDiseaseName1" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryDiseaseName1',$event)" />
|
|
<input :value="form.pastHistoryDiseaseName1" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryDiseaseName1',$event)" />
|
|
|
<span class="text-suffix">,确诊时间:</span>
|
|
<span class="text-suffix">,确诊时间:</span>
|
|
|
<input :value="form.pastHistoryDiseaseTime1" class="inline-input small" placeholder="" @input="onInlineInput('pastHistoryDiseaseTime1',$event)" />
|
|
<input :value="form.pastHistoryDiseaseTime1" class="inline-input small" placeholder="" @input="onInlineInput('pastHistoryDiseaseTime1',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.pastHistoryDiseaseNone) }} 无 {{ printCheck(!form.pastHistoryDiseaseNone) }} 有:疾病名称:{{ form.pastHistoryDiseaseName1 }} ,确诊时间:{{ form.pastHistoryDiseaseTime1 }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.pastHistoryDiseaseNone === true) }} 无 {{ printCheck(form.pastHistoryDiseaseNone === false) }} 有:疾病名称:{{ form.pastHistoryDiseaseName1 }} ,确诊时间:{{ form.pastHistoryDiseaseTime1 }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<!-- 既往史第2行:(健康继续) | (既往史继续) | 内容(5) -->
|
|
<!-- 既往史第2行:(健康继续) | (既往史继续) | 内容(5) -->
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <span class="text-prefix ml20"></span>
|
|
|
|
|
|
|
+ <span class="text-prefix"></span>
|
|
|
<span class="text-suffix">疾病名称:</span>
|
|
<span class="text-suffix">疾病名称:</span>
|
|
|
<input :value="form.pastHistoryDiseaseName2" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryDiseaseName2',$event)" />
|
|
<input :value="form.pastHistoryDiseaseName2" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryDiseaseName2',$event)" />
|
|
|
<span class="text-suffix">,确诊时间:</span>
|
|
<span class="text-suffix">,确诊时间:</span>
|
|
@@ -573,13 +573,13 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl">手术史</td>
|
|
<td class="lbl">手术史</td>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="!form.pastHistorySurgery" @change="updateForm('pastHistorySurgery',false)" /> 无</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="form.pastHistorySurgery" @change="updateForm('pastHistorySurgery',true)" /> 有:手术名称:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistorySurgery === false" @change="updateForm('pastHistorySurgery',false)" /> 无 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistorySurgery === true" @change="updateForm('pastHistorySurgery',true)" /> 有:手术名称:</label>
|
|
|
<input :value="form.pastHistorySurgeryName" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistorySurgeryName',$event)" />
|
|
<input :value="form.pastHistorySurgeryName" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistorySurgeryName',$event)" />
|
|
|
<span class="text-suffix">,手术时间:</span>
|
|
<span class="text-suffix">,手术时间:</span>
|
|
|
<input :value="form.pastHistorySurgeryTime" class="inline-input small" placeholder="" @input="onInlineInput('pastHistorySurgeryTime',$event)" />
|
|
<input :value="form.pastHistorySurgeryTime" class="inline-input small" placeholder="" @input="onInlineInput('pastHistorySurgeryTime',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(!form.pastHistorySurgery) }} 无 {{ printCheck(form.pastHistorySurgery) }} 有:手术名称:{{ form.pastHistorySurgeryName }} ,手术时间:{{ form.pastHistorySurgeryTime }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.pastHistorySurgery === false) }} 无 {{ printCheck(form.pastHistorySurgery === true) }} 有:手术名称:{{ form.pastHistorySurgeryName }} ,手术时间:{{ form.pastHistorySurgeryTime }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
@@ -588,13 +588,13 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl" rowspan="2">外伤史</td>
|
|
<td class="lbl" rowspan="2">外伤史</td>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="!form.pastHistoryTrauma" @change="updateForm('pastHistoryTrauma',false)" /> 无</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="form.pastHistoryTrauma" @change="updateForm('pastHistoryTrauma',true)" /> 有:外伤部位:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistoryTrauma === false" @change="updateForm('pastHistoryTrauma',false)" /> 无 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.pastHistoryTrauma === true" @change="updateForm('pastHistoryTrauma',true)" /> 有:外伤部位:</label>
|
|
|
<input :value="form.pastHistoryTraumaPart1" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryTraumaPart1',$event)" />
|
|
<input :value="form.pastHistoryTraumaPart1" class="inline-input medium" placeholder="" @input="onInlineInput('pastHistoryTraumaPart1',$event)" />
|
|
|
<span class="text-suffix">,发生时间:</span>
|
|
<span class="text-suffix">,发生时间:</span>
|
|
|
<input :value="form.pastHistoryTraumaTime1" class="inline-input small" placeholder="" @input="onInlineInput('pastHistoryTraumaTime1',$event)" />
|
|
<input :value="form.pastHistoryTraumaTime1" class="inline-input small" placeholder="" @input="onInlineInput('pastHistoryTraumaTime1',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(!form.pastHistoryTrauma) }} 无 {{ printCheck(form.pastHistoryTrauma) }} 有:外伤部位:{{ form.pastHistoryTraumaPart1 }} ,发生时间:{{ form.pastHistoryTraumaTime1 }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.pastHistoryTrauma === false) }} 无 {{ printCheck(form.pastHistoryTrauma === true) }} 有:外伤部位:{{ form.pastHistoryTraumaPart1 }} ,发生时间:{{ form.pastHistoryTraumaTime1 }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<!-- 外伤史第2行:(健康继续) | (外伤史继续) | 内容(5) -->
|
|
<!-- 外伤史第2行:(健康继续) | (外伤史继续) | 内容(5) -->
|
|
@@ -646,32 +646,32 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
<span class="text-suffix">固定时间就诊:</span>
|
|
<span class="text-suffix">固定时间就诊:</span>
|
|
|
- <label><input type="checkbox" :checked="form.regularVisitNone" @change="updateForm('regularVisitNone',true)" /> 无</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.regularVisitNone" @change="updateForm('regularVisitNone',false)" /> 有(原因:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.regularVisitNone === true" @change="updateForm('regularVisitNone',true)" /> 无 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.regularVisitNone === false" @change="updateForm('regularVisitNone',false)" /> 有(原因:</label>
|
|
|
<input :value="form.regularVisitReason" class="inline-input small" placeholder="" @input="onInlineInput('regularVisitReason',$event)" />
|
|
<input :value="form.regularVisitReason" class="inline-input small" placeholder="" @input="onInlineInput('regularVisitReason',$event)" />
|
|
|
<span class="text-suffix">,频率:___次/月)</span>
|
|
<span class="text-suffix">,频率:___次/月)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>固定时间就诊:{{ printCheck(form.regularVisitNone) }} 无 {{ printCheck(!form.regularVisitNone) }} 有(原因:{{ form.regularVisitReason }} ,频率:___次/月)</template>
|
|
|
|
|
|
|
+ <template v-else>固定时间就诊:{{ printCheck(form.regularVisitNone === true) }} 无 {{ printCheck(form.regularVisitNone === false) }} 有(原因:{{ form.regularVisitReason }} ,频率:___次/月)</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
<span class="text-suffix">近一年内住院情况:</span>
|
|
<span class="text-suffix">近一年内住院情况:</span>
|
|
|
- <label><input type="checkbox" :checked="form.hospitalizationNone" @change="updateForm('hospitalizationNone',true)" /> 未住院</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.hospitalizationNone" @change="updateForm('hospitalizationNone',false)" /> 住过院(住院次数:<input :value="form.hospitalizationCount" class="inline-input tiny" placeholder="" @input="onInlineInput('hospitalizationCount',$event)" /> 次)</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.hospitalizationNone === true" @change="updateForm('hospitalizationNone',true)" /> 未住院 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.hospitalizationNone === false" @change="updateForm('hospitalizationNone',false)" /> 住过院(住院次数:<input :value="form.hospitalizationCount" class="inline-input tiny" placeholder="" @input="onInlineInput('hospitalizationCount',$event)" /> 次)</label>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>近一年内住院情况:{{ printCheck(form.hospitalizationNone) }} 未住院 {{ printCheck(!form.hospitalizationNone) }} 住过院(住院次数:{{ form.hospitalizationCount }} 次)</template>
|
|
|
|
|
|
|
+ <template v-else>近一年内住院情况:{{ printCheck(form.hospitalizationNone === true) }} 未住院 {{ printCheck(form.hospitalizationNone === false) }} 住过院(住院次数:{{ form.hospitalizationCount }} 次)</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="5" class="disease-row">
|
|
<td colspan="5" class="disease-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
<span class="text-suffix">近一年内急诊情况:</span>
|
|
<span class="text-suffix">近一年内急诊情况:</span>
|
|
|
- <label><input type="checkbox" :checked="form.emergencyNone" @change="updateForm('emergencyNone',true)" /> 未去过</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.emergencyNone" @change="updateForm('emergencyNone',false)" /> 去过急诊(去急诊次数:<input :value="form.emergencyCount" class="inline-input tiny" placeholder="" @input="onInlineInput('emergencyCount',$event)" /> 次)</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.emergencyNone === true" @change="updateForm('emergencyNone',true)" /> 未去过 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.emergencyNone === false" @change="updateForm('emergencyNone',false)" /> 去过急诊(去急诊次数:<input :value="form.emergencyCount" class="inline-input tiny" placeholder="" @input="onInlineInput('emergencyCount',$event)" /> 次)</label>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>近一年内急诊情况:{{ printCheck(form.emergencyNone) }} 未去过 {{ printCheck(!form.emergencyNone) }} 去过急诊(去急诊次数:{{ form.emergencyCount }} 次)</template>
|
|
|
|
|
|
|
+ <template v-else>近一年内急诊情况:{{ printCheck(form.emergencyNone === true) }} 未去过 {{ printCheck(form.emergencyNone === false) }} 去过急诊(去急诊次数:{{ form.emergencyCount }} 次)</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
@@ -680,10 +680,10 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl multi-line">不适症状<br/>(近一个<br/>月内情况)</td>
|
|
<td class="lbl multi-line">不适症状<br/>(近一个<br/>月内情况)</td>
|
|
|
<td colspan="6" class="symptom-cell">
|
|
<td colspan="6" class="symptom-cell">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.discomfortSymptomsNone" @change="updateForm('discomfortSymptomsNone',true);form.discomfortSymptomsList=[]" /> 无</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.discomfortSymptomsNone === true" @change="updateForm('discomfortSymptomsNone',true);form.discomfortSymptomsList=[]" /> 无</label>
|
|
|
<br/>
|
|
<br/>
|
|
|
- <label><input type="checkbox" :checked="!form.discomfortSymptomsNone" @change="updateForm('discomfortSymptomsNone',false)" /> 有(可多选)</label>
|
|
|
|
|
- <div v-if="!form.discomfortSymptomsNone" class="symptom-list">
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.discomfortSymptomsNone === false" @change="updateForm('discomfortSymptomsNone',false)" /> 有(可多选)</label>
|
|
|
|
|
+ <div v-if="form.discomfortSymptomsNone === false" class="symptom-list">
|
|
|
<label v-for="s in symptomOptions" :key="s" class="symptom-item">
|
|
<label v-for="s in symptomOptions" :key="s" class="symptom-item">
|
|
|
<input type="checkbox" :checked="form.discomfortSymptomsList.includes(s)" @change="toggleArrayItem('discomfortSymptomsList',s)" /> {{ s }}
|
|
<input type="checkbox" :checked="form.discomfortSymptomsList.includes(s)" @change="toggleArrayItem('discomfortSymptomsList',s)" /> {{ s }}
|
|
|
</label>
|
|
</label>
|
|
@@ -691,8 +691,8 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
- {{ printCheck(form.discomfortSymptomsNone) }} 无
|
|
|
|
|
- <template v-if="!form.discomfortSymptomsNone">{{ printCheck(true) }} 有:{{ form.discomfortSymptomsList.join('、') }} {{ form.discomfortSymptomsOther }}</template>
|
|
|
|
|
|
|
+ {{ printCheck(form.discomfortSymptomsNone === true) }} 无
|
|
|
|
|
+ <template v-if="form.discomfortSymptomsNone === false">{{ printCheck(true) }} 有:{{ form.discomfortSymptomsList.join('、') }} {{ form.discomfortSymptomsOther }}</template>
|
|
|
</template>
|
|
</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
@@ -702,31 +702,31 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl multi-line" rowspan="3">过敏史</td>
|
|
<td class="lbl multi-line" rowspan="3">过敏史</td>
|
|
|
<td colspan="6" class="allergy-row">
|
|
<td colspan="6" class="allergy-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.allergyDrugNone" @change="updateForm('allergyDrugNone',true);updateForm('allergyDrugDetail','')" /> 无药物过敏</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.allergyDrugNone" @change="updateForm('allergyDrugNone',false)" /> 药物过敏:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyDrugNone === true" @change="updateForm('allergyDrugNone',true);updateForm('allergyDrugDetail','')" /> 无药物过敏 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyDrugNone === false" @change="updateForm('allergyDrugNone',false)" /> 药物过敏:</label>
|
|
|
<input :value="form.allergyDrugDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyDrugDetail',$event)" />
|
|
<input :value="form.allergyDrugDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyDrugDetail',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.allergyDrugNone) }} 无药物过敏 {{ printCheck(!form.allergyDrugNone) }} 药物过敏:{{ form.allergyDrugDetail }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.allergyDrugNone === true) }} 无药物过敏 {{ printCheck(form.allergyDrugNone === false) }} 药物过敏:{{ form.allergyDrugDetail }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="allergy-row">
|
|
<td colspan="6" class="allergy-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.allergyFoodNone" @change="updateForm('allergyFoodNone',true);updateForm('allergyFoodDetail','')" /> 无食物过敏</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.allergyFoodNone" @change="updateForm('allergyFoodNone',false)" /> 食物过敏:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyFoodNone === true" @change="updateForm('allergyFoodNone',true);updateForm('allergyFoodDetail','')" /> 无食物过敏 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyFoodNone === false" @change="updateForm('allergyFoodNone',false)" /> 食物过敏:</label>
|
|
|
<input :value="form.allergyFoodDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyFoodDetail',$event)" />
|
|
<input :value="form.allergyFoodDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyFoodDetail',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.allergyFoodNone) }} 无食物过敏 {{ printCheck(!form.allergyFoodNone) }} 食物过敏:{{ form.allergyFoodDetail }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.allergyFoodNone === true) }} 无食物过敏 {{ printCheck(form.allergyFoodNone === false) }} 食物过敏:{{ form.allergyFoodDetail }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="allergy-row">
|
|
<td colspan="6" class="allergy-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.allergyEnvNone" @change="updateForm('allergyEnvNone',true);updateForm('allergyEnvDetail','')" /> 无环境过敏</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.allergyEnvNone" @change="updateForm('allergyEnvNone',false)" /> 环境过敏:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyEnvNone === true" @change="updateForm('allergyEnvNone',true);updateForm('allergyEnvDetail','')" /> 无环境过敏 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.allergyEnvNone === false" @change="updateForm('allergyEnvNone',false)" /> 环境过敏:</label>
|
|
|
<input :value="form.allergyEnvDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyEnvDetail',$event)" />
|
|
<input :value="form.allergyEnvDetail" class="inline-input large" placeholder="" @input="onInlineInput('allergyEnvDetail',$event)" />
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.allergyEnvNone) }} 无环境过敏 {{ printCheck(!form.allergyEnvNone) }} 环境过敏:{{ form.allergyEnvDetail }}</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.allergyEnvNone === true) }} 无环境过敏 {{ printCheck(form.allergyEnvNone === false) }} 环境过敏:{{ form.allergyEnvDetail }}</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
@@ -735,53 +735,53 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
<td class="lbl multi-line" rowspan="9">老年综合<br/>征</td>
|
|
<td class="lbl multi-line" rowspan="9">老年综合<br/>征</td>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.fallNone" @change="updateForm('fallNone',true);updateForm('fallDetail','')" /> 无跌倒</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.fallNone" @change="updateForm('fallNone',false)" /> 有跌倒(</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.fallNone === true" @change="updateForm('fallNone',true);updateForm('fallDetail','')" /> 无跌倒 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.fallNone === false" @change="updateForm('fallNone',false)" /> 有跌倒(</label>
|
|
|
<input :value="form.fallDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('fallDetail',$event)" />
|
|
<input :value="form.fallDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('fallDetail',$event)" />
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.fallNone) }} 无跌倒 {{ printCheck(!form.fallNone) }} 有跌倒({{ form.fallDetail }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.fallNone === true) }} 无跌倒 {{ printCheck(form.fallNone === false) }} 有跌倒({{ form.fallDetail }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.memoryDeclineNone" @change="updateForm('memoryDeclineNone',true);updateForm('memoryDeclineDetail','')" /> 无记忆力减退</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.memoryDeclineNone" @change="updateForm('memoryDeclineNone',false)" /> 有记忆力减退(</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.memoryDeclineNone === true" @change="updateForm('memoryDeclineNone',true);updateForm('memoryDeclineDetail','')" /> 无记忆力减退 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.memoryDeclineNone === false" @change="updateForm('memoryDeclineNone',false)" /> 有记忆力减退(</label>
|
|
|
<input :value="form.memoryDeclineDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('memoryDeclineDetail',$event)" />
|
|
<input :value="form.memoryDeclineDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('memoryDeclineDetail',$event)" />
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.memoryDeclineNone) }} 无记忆力减退 {{ printCheck(!form.memoryDeclineNone) }} 有记忆力减退({{ form.memoryDeclineDetail }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.memoryDeclineNone === true) }} 无记忆力减退 {{ printCheck(form.memoryDeclineNone === false) }} 有记忆力减退({{ form.memoryDeclineDetail }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.weightLossNone" @change="updateForm('weightLossNone',true);updateForm('weightLossWeight','')" /> 无体重下降</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.weightLossNone" @change="updateForm('weightLossNone',false)" /> 有体重下降(半年内下降</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.weightLossNone === true" @change="updateForm('weightLossNone',true);updateForm('weightLossWeight','')" /> 无体重下降 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.weightLossNone === false" @change="updateForm('weightLossNone',false)" /> 有体重下降(半年内下降</label>
|
|
|
<input :value="form.weightLossWeight" class="inline-input tiny" placeholder="kg" @input="onInlineInput('weightLossWeight',$event)" />
|
|
<input :value="form.weightLossWeight" class="inline-input tiny" placeholder="kg" @input="onInlineInput('weightLossWeight',$event)" />
|
|
|
<span>kg)</span>
|
|
<span>kg)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.weightLossNone) }} 无体重下降 {{ printCheck(!form.weightLossNone) }} 有体重下降(半年内下降{{ form.weightLossWeight }}kg)</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.weightLossNone === true) }} 无体重下降 {{ printCheck(form.weightLossNone === false) }} 有体重下降(半年内下降{{ form.weightLossWeight }}kg)</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.urinaryIncontinenceNone" @change="updateForm('urinaryIncontinenceNone',true);updateForm('urinaryIncontinenceCount','')" /> 无尿失禁</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.urinaryIncontinenceNone" @change="updateForm('urinaryIncontinenceNone',false)" /> 有尿失禁(</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.urinaryIncontinenceNone === true" @change="updateForm('urinaryIncontinenceNone',true);updateForm('urinaryIncontinenceCount','')" /> 无尿失禁 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.urinaryIncontinenceNone === false" @change="updateForm('urinaryIncontinenceNone',false)" /> 有尿失禁(</label>
|
|
|
<input :value="form.urinaryIncontinenceCount" class="inline-input small" placeholder="次数/日" @input="onInlineInput('urinaryIncontinenceCount',$event)" />
|
|
<input :value="form.urinaryIncontinenceCount" class="inline-input small" placeholder="次数/日" @input="onInlineInput('urinaryIncontinenceCount',$event)" />
|
|
|
<span>次/日)</span>
|
|
<span>次/日)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.urinaryIncontinenceNone) }} 无尿失禁 {{ printCheck(!form.urinaryIncontinenceNone) }} 有尿失禁({{ form.urinaryIncontinenceCount }}次/日)</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.urinaryIncontinenceNone === true) }} 无尿失禁 {{ printCheck(form.urinaryIncontinenceNone === false) }} 有尿失禁({{ form.urinaryIncontinenceCount }}次/日)</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.sleepDisorderNone" @change="updateForm('sleepDisorderNone',true);form.sleepDisorderTypes=[]" /> 无睡眠障碍</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.sleepDisorderNone" @change="updateForm('sleepDisorderNone',false)" /> 有睡眠障碍(</label>
|
|
|
|
|
- <template v-if="!form.sleepDisorderNone">
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.sleepDisorderNone === true" @change="updateForm('sleepDisorderNone',true);form.sleepDisorderTypes=[]" /> 无睡眠障碍 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.sleepDisorderNone === false" @change="updateForm('sleepDisorderNone',false)" /> 有睡眠障碍(</label>
|
|
|
|
|
+ <template v-if="form.sleepDisorderNone === false">
|
|
|
<label v-for="st in ['入睡困难','早醒','夜间易醒','多梦']" :key="st" style="margin-right:4px;">
|
|
<label v-for="st in ['入睡困难','早醒','夜间易醒','多梦']" :key="st" style="margin-right:4px;">
|
|
|
<input type="checkbox" :checked="form.sleepDisorderTypes.includes(st)" @change="toggleArrayItem('sleepDisorderTypes',st)" /> {{ st }}
|
|
<input type="checkbox" :checked="form.sleepDisorderTypes.includes(st)" @change="toggleArrayItem('sleepDisorderTypes',st)" /> {{ st }}
|
|
|
</label>
|
|
</label>
|
|
@@ -789,26 +789,26 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
</template>
|
|
</template>
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.sleepDisorderNone) }} 无睡眠障碍 {{ printCheck(!form.sleepDisorderNone) }} 有睡眠障碍({{ [...form.sleepDisorderTypes, form.sleepDisorderOther].filter(Boolean).join('、') }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.sleepDisorderNone === true) }} 无睡眠障碍 {{ printCheck(form.sleepDisorderNone === false) }} 有睡眠障碍({{ [...form.sleepDisorderTypes, form.sleepDisorderOther].filter(Boolean).join('、') }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.painNone" @change="updateForm('painNone',true);updateForm('painPart','')" /> 无疼痛</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.painNone" @change="updateForm('painNone',false)" /> 有疼痛(部位:</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.painNone === true" @change="updateForm('painNone',true);updateForm('painPart','')" /> 无疼痛 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.painNone === false" @change="updateForm('painNone',false)" /> 有疼痛(部位:</label>
|
|
|
<input :value="form.painPart" class="inline-input medium" placeholder="" @input="onInlineInput('painPart',$event)" />
|
|
<input :value="form.painPart" class="inline-input medium" placeholder="" @input="onInlineInput('painPart',$event)" />
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.painNone) }} 无疼痛 {{ printCheck(!form.painNone) }} 有疼痛(部位:{{ form.painPart }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.painNone === true) }} 无疼痛 {{ printCheck(form.painNone === false) }} 有疼痛(部位:{{ form.painPart }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.visionAbnormalNone" @change="updateForm('visionAbnormalNone',true);form.visionAbnormalTypes=[]" /> 无视力异常</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.visionAbnormalNone" @change="updateForm('visionAbnormalNone',false)" /> 有视力异常(</label>
|
|
|
|
|
- <template v-if="!form.visionAbnormalNone">
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.visionAbnormalNone === true" @change="updateForm('visionAbnormalNone',true);form.visionAbnormalTypes=[]" /> 无视力异常 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.visionAbnormalNone === false" @change="updateForm('visionAbnormalNone',false)" /> 有视力异常(</label>
|
|
|
|
|
+ <template v-if="form.visionAbnormalNone === false">
|
|
|
<label v-for="vt in ['远视','近视','散光','白内障','青光眼']" :key="vt" style="margin-right:4px;">
|
|
<label v-for="vt in ['远视','近视','散光','白内障','青光眼']" :key="vt" style="margin-right:4px;">
|
|
|
<input type="checkbox" :checked="form.visionAbnormalTypes.includes(vt)" @change="toggleArrayItem('visionAbnormalTypes',vt)" /> {{ vt }}
|
|
<input type="checkbox" :checked="form.visionAbnormalTypes.includes(vt)" @change="toggleArrayItem('visionAbnormalTypes',vt)" /> {{ vt }}
|
|
|
</label>
|
|
</label>
|
|
@@ -816,26 +816,26 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
</template>
|
|
</template>
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.visionAbnormalNone) }} 无视力异常 {{ printCheck(!form.visionAbnormalNone) }} 有视力异常({{ [...form.visionAbnormalTypes, form.visionAbnormalDegree].filter(Boolean).join('、') }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.visionAbnormalNone === true) }} 无视力异常 {{ printCheck(form.visionAbnormalNone === false) }} 有视力异常({{ [...form.visionAbnormalTypes, form.visionAbnormalDegree].filter(Boolean).join('、') }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.hearingLossNone" @change="updateForm('hearingLossNone',true);updateForm('hearingLossDetail','')" /> 无听力障碍</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.hearingLossNone" @change="updateForm('hearingLossNone',false)" /> 有听力障碍(</label>
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.hearingLossNone === true" @change="updateForm('hearingLossNone',true);updateForm('hearingLossDetail','')" /> 无听力障碍 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.hearingLossNone === false" @change="updateForm('hearingLossNone',false)" /> 有听力障碍(</label>
|
|
|
<input :value="form.hearingLossDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('hearingLossDetail',$event)" />
|
|
<input :value="form.hearingLossDetail" class="inline-input medium" placeholder="详情" @input="onInlineInput('hearingLossDetail',$event)" />
|
|
|
<span>)</span>
|
|
<span>)</span>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else>{{ printCheck(form.hearingLossNone) }} 无听力障碍 {{ printCheck(!form.hearingLossNone) }} 有听力障碍({{ form.hearingLossDetail }})</template>
|
|
|
|
|
|
|
+ <template v-else>{{ printCheck(form.hearingLossNone === true) }} 无听力障碍 {{ printCheck(form.hearingLossNone === false) }} 有听力障碍({{ form.hearingLossDetail }})</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td colspan="6" class="syndrome-row">
|
|
<td colspan="6" class="syndrome-row">
|
|
|
<template v-if="!isTextMode">
|
|
<template v-if="!isTextMode">
|
|
|
- <label><input type="checkbox" :checked="form.mentalStatusNone" @change="updateForm('mentalStatusNone',true);form.mentalStatusList=[]" /> 无精神问题</label>
|
|
|
|
|
- <label><input type="checkbox" :checked="!form.mentalStatusNone" @change="updateForm('mentalStatusNone',false)" /> 有(可多选)</label>
|
|
|
|
|
- <div v-if="!form.mentalStatusNone" class="mental-list">
|
|
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.mentalStatusNone === true" @change="updateForm('mentalStatusNone',true);form.mentalStatusList=[]" /> 无精神问题 </label>
|
|
|
|
|
+ <label><input type="checkbox" :checked="form.mentalStatusNone === false" @change="updateForm('mentalStatusNone',false)" /> 有(可多选)</label>
|
|
|
|
|
+ <div v-if="form.mentalStatusNone === false" class="mental-list">
|
|
|
<label v-for="m in mentalOptions" :key="m" class="mental-item">
|
|
<label v-for="m in mentalOptions" :key="m" class="mental-item">
|
|
|
<input type="checkbox" :checked="form.mentalStatusList.includes(m)" @change="toggleArrayItem('mentalStatusList',m)" /> {{ m }}
|
|
<input type="checkbox" :checked="form.mentalStatusList.includes(m)" @change="toggleArrayItem('mentalStatusList',m)" /> {{ m }}
|
|
|
</label>
|
|
</label>
|
|
@@ -843,8 +843,8 @@ const onInlineInput = (key: keyof CheckInRegistrationForm, e: Event) => {
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
- {{ printCheck(form.mentalStatusNone) }} 无精神问题
|
|
|
|
|
- <template v-if="!form.mentalStatusNone">{{ printCheck(true) }} 有:{{ form.mentalStatusList.join('、') }} {{ form.mentalStatusOther }}</template>
|
|
|
|
|
|
|
+ {{ printCheck(form.mentalStatusNone === true) }} 无精神问题
|
|
|
|
|
+ <template v-if="form.mentalStatusNone === false">{{ printCheck(true) }} 有:{{ form.mentalStatusList.join('、') }} {{ form.mentalStatusOther }}</template>
|
|
|
</template>
|
|
</template>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|