|
|
@ -77,7 +77,7 @@ |
|
|
|
<el-form-item label="预约时间:" required> |
|
|
|
<el-col :span="11"> |
|
|
|
<el-form-item prop="date1"> |
|
|
|
<el-date-picker v-model="form.date1" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" style="width: 100%;" /> |
|
|
|
<el-date-picker v-model="form.date1" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" style="width: 100%;" @change="orderDateChange" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col class="line" style="text-align: center" :span="2">-</el-col> |
|
|
@ -97,7 +97,6 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<!-- <el-button size="small" @click="goFormList">表单</el-button>--> |
|
|
|
<el-button type="primary" size="small" @click="handleSave">保存</el-button> |
|
|
|
<el-button size="small" @click="closeDialog">关闭</el-button> |
|
|
|
</span> |
|
|
@ -217,6 +216,12 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 日期修改不限制预约时间 |
|
|
|
orderDateChange(value) { |
|
|
|
if (this.orderDetail.date !== value) { |
|
|
|
this.endTime = '18:00' |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取医生列表 |
|
|
|
getDoctorList() { |
|
|
|
this.$http.get('/sys/user', { params: { position: '门诊医师' }}).then(data => { |
|
|
|