|
|
|
<template>
|
|
|
|
<my-dialog :print="print" title="UBM预约" :is-show="show" @close="closeDialog">
|
|
|
|
<el-form id="UBMOrder" ref="form" size="small" :model="form" label-width="90px">
|
|
|
|
<el-form-item required label="选择患者:">
|
|
|
|
<el-input v-model="form.patient" suffix-icon="el-icon-search" />
|
|
|
|
</el-form-item>
|
|
|
|
<div v-if="patientInfo" class="patientDetail">
|
|
|
|
<div style="font-size: 16px;font-weight: bold">患者信息</div>
|
|
|
|
<div class="detailItem">
|
|
|
|
<div>登记号:{{ patientInfo.patientId }}</div>
|
|
|
|
<div>电话:{{ patientInfo.patientPhone }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="detailItem">
|
|
|
|
<div>姓名:{{ patientInfo.patientName }}</div>
|
|
|
|
<div>性别:{{ patientInfo.patientSex }}</div>
|
|
|
|
<div>生日:{{ patientInfo.patientBirthday }}</div>
|
|
|
|
<div>年龄:{{ patientInfo.patientAge }}</div>
|
|
|
|
<div>来源:门诊/住院</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-form-item label="负责医生:">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-select v-model="form.doctor" placeholder="请选择">
|
|
|
|
<el-option
|
|
|
|
v-for="item in options"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12" style="display: flex;align-items: center">
|
|
|
|
已开医嘱:
|
|
|
|
<div class="radioItem" @click="form.mydriasis='是'">
|
|
|
|
<input :checked="form.mydriasis==='是'" type="radio">是
|
|
|
|
</div>
|
|
|
|
<div class="radioItem" @click="form.mydriasis='否'">
|
|
|
|
<input :checked="form.mydriasis==='否'" type="radio">否
|
|
|
|
</div>
|
|
|
|
</el-col>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="备注:">
|
|
|
|
<el-input v-model="form.remark" autosize type="textarea" />
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="负责医生:">
|
|
|
|
<el-select v-model="form.doc" placeholder="请选择">
|
|
|
|
<el-option
|
|
|
|
v-for="item in options"
|
|
|
|
:key="item.value"
|
|
|
|
:label="item.label"
|
|
|
|
:value="item.value"
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
<div style="display: flex;padding:0 0 20px 20px">
|
|
|
|
<el-col :span="10" style="display: flex;align-items: center">
|
|
|
|
眼别:
|
|
|
|
<div class="radioItem" @click="form.eyeLevel='OD'">
|
|
|
|
<input :checked="form.eyeLevel==='OD'" type="radio">OD
|
|
|
|
</div>
|
|
|
|
<div class="radioItem" @click="form.eyeLevel='OS'">
|
|
|
|
<input :checked="form.eyeLevel==='OS'" type="radio">OS
|
|
|
|
</div>
|
|
|
|
<div class="radioItem" @click="form.eyeLevel='OU'">
|
|
|
|
<input :checked="form.eyeLevel==='OU'" type="radio">OU
|
|
|
|
</div>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7" style="display: flex;align-items: center">
|
|
|
|
散瞳:
|
|
|
|
<div class="radioItem" @click="form.mydriasis=!form.mydriasis">
|
|
|
|
<input :checked="form.mydriasis" type="radio">是
|
|
|
|
</div>
|
|
|
|
<div class="radioItem" @click="form.mydriasis=!form.mydriasis">
|
|
|
|
<input :checked="!form.mydriasis" type="radio">否
|
|
|
|
</div>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7" style="display: flex;align-items: center">
|
|
|
|
缩瞳:
|
|
|
|
<div class="radioItem" @click="form.miosis=!form.miosis">
|
|
|
|
<input :checked="form.miosis" type="radio">是
|
|
|
|
</div>
|
|
|
|
<div class="radioItem" @click="form.miosis=!form.miosis">
|
|
|
|
<input :checked="!form.miosis" type="radio">否
|
|
|
|
</div>
|
|
|
|
</el-col>
|
|
|
|
</div>
|
|
|
|
<el-form-item required label="预约时间:">
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-date-picker v-model="form.date" type="date" placeholder="选择日期" style="width: 100%;" />
|
|
|
|
</el-col>
|
|
|
|
<el-col style="text-align: center" :span="1">-</el-col>
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-time-picker v-model="form.date2" placeholder="选择时间" style="width: 100%;" />
|
|
|
|
</el-col>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</my-dialog>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import MyDialog from '@/page-subspecialty/views/modules/nurseManagement/myDialog.vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'UBMOrder',
|
|
|
|
components: { MyDialog },
|
|
|
|
props: {
|
|
|
|
isShow: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
patientInfo: {
|
|
|
|
type: Object,
|
|
|
|
default: () => {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
show: false,
|
|
|
|
radio: '1',
|
|
|
|
print: {
|
|
|
|
id: 'UBMOrder'
|
|
|
|
},
|
|
|
|
form: {
|
|
|
|
patient: '',
|
|
|
|
doctor: '',
|
|
|
|
docAdvice: '',
|
|
|
|
remark: '',
|
|
|
|
doc: '',
|
|
|
|
eyeLevel: '',
|
|
|
|
mydriasis: false,
|
|
|
|
miosis: '',
|
|
|
|
date: '',
|
|
|
|
date2: ''
|
|
|
|
},
|
|
|
|
options: [{
|
|
|
|
value: '选项1',
|
|
|
|
label: '黄金糕'
|
|
|
|
}, {
|
|
|
|
value: '选项2',
|
|
|
|
label: '双皮奶'
|
|
|
|
}, {
|
|
|
|
value: '选项3',
|
|
|
|
label: '蚵仔煎'
|
|
|
|
}, {
|
|
|
|
value: '选项4',
|
|
|
|
label: '龙须面'
|
|
|
|
}, {
|
|
|
|
value: '选项5',
|
|
|
|
label: '北京烤鸭'
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
isShow(val) {
|
|
|
|
this.show = val
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
closeDialog(val) {
|
|
|
|
this.show = val
|
|
|
|
this.$emit('close', val)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.radioItem{
|
|
|
|
user-select: none;
|
|
|
|
cursor: pointer;
|
|
|
|
margin:0 8px;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
input{
|
|
|
|
-webkit-appearance: checkbox !important;
|
|
|
|
margin-right: 5px !important;
|
|
|
|
}
|
|
|
|
::v-deep .el-form-item__label{
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
::v-deep .el-form-item{
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
::v-deep .el-radio{
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
.patientDetail{
|
|
|
|
border: 1px solid #6EB1FF;
|
|
|
|
border-radius: 8px;
|
|
|
|
background: #E8F5FF;
|
|
|
|
padding: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: rgba(0, 0, 0, 0.88);
|
|
|
|
margin-bottom: 22px;
|
|
|
|
}
|
|
|
|
.detailItem{
|
|
|
|
display:flex;
|
|
|
|
margin: 8px 0;
|
|
|
|
div{
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|