fix(doctorstation): 统一儿童患者家长姓名输入框提示文本
- 将诊断组件中家长姓名输入框占位符从"≤14 岁必填"改为"≤14岁必填" - 将传染病报告组件中家长姓名输入框占位符统一为"≤14岁必填" - 移除多余的条件判断逻辑,简化占位符显示逻辑
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</el-col>
|
||||
<el-col :span="8" class="form-item">
|
||||
<span :class="['form-label', isChildPatient ? 'required' : '']">家长姓名</span>
|
||||
<el-input v-model="form.parentName" class="underline-input" placeholder="≤14 岁必填" />
|
||||
<el-input v-model="form.parentName" class="underline-input" placeholder="≤14岁必填" />
|
||||
</el-col>
|
||||
<el-col :span="8" class="form-item">
|
||||
<span class="form-label required">身份证号</span>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="'家长姓名' + (isChildPatient ? '' : '')" :prop="isChildPatient ? 'parentName' : ''" :required="isChildPatient">
|
||||
<el-input v-model="form.parentName" :placeholder="isChildPatient ? '14岁以下必填' : '选填'" />
|
||||
<el-input v-model="form.parentName" placeholder="≤14岁必填" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
|
||||
Reference in New Issue
Block a user