|
@@ -10,10 +10,12 @@
|
|
|
name="doctorName"
|
|
|
label="医生姓名"
|
|
|
placeholder="姓名"
|
|
|
+ required
|
|
|
:rules="[{ required: true, pattern: patternName, message: '请输入正确的姓名' }]" />
|
|
|
<van-field v-model="doctorFillForm.idCard"
|
|
|
name="idCard"
|
|
|
label="身份证号"
|
|
|
+ required
|
|
|
maxlength="18"
|
|
|
type="text"
|
|
|
placeholder="18位身份证"
|
|
@@ -26,6 +28,7 @@
|
|
|
name="jobTitle"
|
|
|
:value="doctorFillForm.jobTitle"
|
|
|
label="医生职称"
|
|
|
+ required
|
|
|
placeholder="请选择"
|
|
|
right-icon="arrow"
|
|
|
@click="showPicker = true"
|
|
@@ -44,6 +47,7 @@
|
|
|
name="doctorDepartments"
|
|
|
:value="doctorFillForm.doctorDepartments"
|
|
|
label="医生科室"
|
|
|
+ required
|
|
|
placeholder="请选择"
|
|
|
right-icon="arrow"
|
|
|
@click="showPicker2 = true"
|
|
@@ -62,6 +66,7 @@
|
|
|
name="firstHospital"
|
|
|
:value="doctorFillForm.firstHospital"
|
|
|
label="执业医院"
|
|
|
+ required
|
|
|
placeholder="请选择"
|
|
|
right-icon="arrow"
|
|
|
@click="show = true"
|
|
@@ -106,7 +111,7 @@
|
|
|
placeholder="请选择日期"
|
|
|
right-icon="arrow"
|
|
|
@click="showPicker3 = true"
|
|
|
- :rules="[{ required: true, message: '请选择日期' }]" />
|
|
|
+ :rules="[{ required: false, message: '请选择日期' }]" />
|
|
|
<van-popup v-model="showPicker3"
|
|
|
position="bottom">
|
|
|
<van-datetime-picker v-model="currentDate"
|
|
@@ -128,7 +133,7 @@
|
|
|
placeholder="请选择"
|
|
|
right-icon="arrow"
|
|
|
@click="showPicker4 = true"
|
|
|
- :rules="[{ required: true, message: '请选择是否全科医生' }]" />
|
|
|
+ :rules="[{ required: false, message: '请选择是否全科医生' }]" />
|
|
|
<van-popup v-model="showPicker4"
|
|
|
position="bottom">
|
|
|
<van-picker show-toolbar
|