修改病历不能编辑问题
This commit is contained in:
@@ -54,26 +54,53 @@
|
|||||||
<!-- 生命体征 -->
|
<!-- 生命体征 -->
|
||||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ebeef5;">
|
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ebeef5;">
|
||||||
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>身高:</strong> {{ form.height ? form.height + ' cm' : '' }}
|
<strong>身高:</strong>
|
||||||
|
<el-input
|
||||||
|
v-model="form.height"
|
||||||
|
style="width: 80px; margin-left: 5px;"
|
||||||
|
/> cm
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>体重:</strong> {{ form.weight ? form.weight + ' kg' : '' }}
|
<strong>体重:</strong>
|
||||||
|
<el-input
|
||||||
|
v-model="form.weight"
|
||||||
|
style="width: 80px; margin-left: 5px;"
|
||||||
|
/> kg
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>体温:</strong> {{ form.temperature ? form.temperature + ' ℃' : '' }}
|
<strong>体温:</strong>
|
||||||
|
<el-input
|
||||||
|
v-model="form.temperature"
|
||||||
|
style="width: 80px; margin-left: 5px;"
|
||||||
|
:step="0.1"
|
||||||
|
/> ℃
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>脉搏:</strong> {{ form.pulse ? form.pulse + ' 次/分' : '' }}
|
<strong>脉搏:</strong>
|
||||||
|
<el-input
|
||||||
|
v-model="form.pulse"
|
||||||
|
style="width: 80px; margin-left: 5px;"
|
||||||
|
/> 次/分
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 主诉 + 发病日期 -->
|
<!-- 主诉 + 发病日期 -->
|
||||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ebeef5;">
|
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ebeef5;">
|
||||||
<div style="flex: 1; min-width: 300px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 300px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>主诉:</strong> {{ form.chiefComplaint || '' }}
|
<strong>主诉:</strong>
|
||||||
|
<el-input
|
||||||
|
v-model="form.chiefComplaint"
|
||||||
|
style="width: calc(100% - 50px); margin-left: 5px;"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
<div style="flex: 1; min-width: 120px; font-size: 14px; line-height: 24px;">
|
||||||
<strong>发病日期:</strong> {{ formatDate(form.onsetDate) }}
|
<strong>发病日期:</strong>
|
||||||
|
<el-date-picker
|
||||||
|
v-model="form.onsetDate"
|
||||||
|
type="date"
|
||||||
|
style="width: calc(100% - 80px); margin-left: 5px;"
|
||||||
|
value-format="YYYY-MM-DD"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -82,9 +109,12 @@
|
|||||||
<div style="font-size: 14px; margin-bottom: 5px;">
|
<div style="font-size: 14px; margin-bottom: 5px;">
|
||||||
<strong>{{ field.label }}:</strong>
|
<strong>{{ field.label }}:</strong>
|
||||||
</div>
|
</div>
|
||||||
<div style="font-size: 14px; line-height: 1.5; white-space: pre-wrap;">
|
<el-input
|
||||||
{{ form[field.key] || '' }}
|
v-model="form[field.key]"
|
||||||
</div>
|
type="textarea"
|
||||||
|
:rows="4"
|
||||||
|
style="width: 100%; font-size: 14px; line-height: 1.5;"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 弹窗 -->
|
<!-- 弹窗 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user