|
@ -30,59 +30,63 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="11" style="display: flex;align-items: center;margin-left: 15px"> |
|
|
<el-col :span="11" style="display: flex;align-items: center;margin-left: 15px"> |
|
|
|
|
|
<span style="margin-right: 10px"> |
|
|
已开医嘱: |
|
|
已开医嘱: |
|
|
<div class="radioItem" @click="form.yzOpen='Y'"> |
|
|
|
|
|
<input :checked="form.yzOpen==='Y'" type="radio">是 |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.yzOpen='N'"> |
|
|
|
|
|
<input :checked="form.yzOpen==='N'" type="radio">否 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
<el-radio v-model="form.yzOpen" label="Y">是 |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.yzOpen" label="N">否 |
|
|
|
|
|
</el-radio> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="备注:"> |
|
|
<el-form-item label="备注:"> |
|
|
<el-input v-model="form.remark" autosize type="textarea" /> |
|
|
|
|
|
|
|
|
<el-select |
|
|
|
|
|
v-model="form.remark" |
|
|
|
|
|
filterable |
|
|
|
|
|
allow-create |
|
|
|
|
|
default-first-option |
|
|
|
|
|
placeholder="" |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="item in options" |
|
|
|
|
|
:key="item.value" |
|
|
|
|
|
:label="item.label" |
|
|
|
|
|
:value="item.value" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<div style="display: flex;padding:0 0 20px 0"> |
|
|
<div style="display: flex;padding:0 0 20px 0"> |
|
|
<el-col :span="12" style="display: flex;align-items: center"> |
|
|
|
|
|
|
|
|
<el-col :span="10" style="display: flex;align-items: center"> |
|
|
<div class="addLabel">眼别:</div> |
|
|
<div class="addLabel">眼别:</div> |
|
|
<div class="radioItem" @click="form.eyeType='OD'"> |
|
|
|
|
|
<input :checked="form.eyeType==='OD'" type="radio">OD |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.eyeType='OS'"> |
|
|
|
|
|
<input :checked="form.eyeType==='OS'" type="radio">OS |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.eyeType='OU'"> |
|
|
|
|
|
<input :checked="form.eyeType==='OU'" type="radio">OU |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<el-radio v-model="form.eyeType" label="OD">OD |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.eyeType" label="OS">OS |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.eyeType" label="OU">OU |
|
|
|
|
|
</el-radio> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6" style="display: flex;align-items: center"> |
|
|
|
|
|
散瞳: |
|
|
|
|
|
<div class="radioItem" @click="form.pupilDilate='Y'"> |
|
|
|
|
|
<input :checked="form.pupilDilate==='Y'" type="radio">是 |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.pupilDilate='N'"> |
|
|
|
|
|
<input :checked="form.pupilDilate==='N'" type="radio">否 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<el-col :span="7" style="display: flex;align-items: center"> |
|
|
|
|
|
<span style="margin-right: 10px">散瞳:</span> |
|
|
|
|
|
<el-radio v-model="form.pupilDilate" label="Y">OD |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.pupilDilate" label="N">OS |
|
|
|
|
|
</el-radio> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6" style="display: flex;align-items: center"> |
|
|
|
|
|
缩瞳: |
|
|
|
|
|
<div class="radioItem" @click="form.pupilShrink='Y'"> |
|
|
|
|
|
<input :checked="form.pupilShrink==='Y'" type="radio">是 |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.pupilShrink='N'"> |
|
|
|
|
|
<input :checked="form.pupilShrink==='N'" type="radio">否 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<el-col :span="7" style="display: flex;align-items: center"> |
|
|
|
|
|
<span style="margin-right: 10px">缩瞳:</span> |
|
|
|
|
|
<el-radio v-model="form.pupilShrink" label="Y">OD |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.pupilShrink" label="N">OS |
|
|
|
|
|
</el-radio> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</div> |
|
|
</div> |
|
|
<div style="display: flex;padding:0 0 20px 0px"> |
|
|
<div style="display: flex;padding:0 0 20px 0px"> |
|
|
<el-col :span="12" style="display: flex;align-items: center"> |
|
|
<el-col :span="12" style="display: flex;align-items: center"> |
|
|
<div class="addLabel">三面镜:</div> |
|
|
<div class="addLabel">三面镜:</div> |
|
|
<div class="radioItem" @click="form.threeMirror='Y'"> |
|
|
|
|
|
<input :checked="form.threeMirror==='Y'" type="radio">是 |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="radioItem" @click="form.threeMirror='N'"> |
|
|
|
|
|
<input :checked="form.threeMirror==='N'" type="radio">否 |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<el-radio v-model="form.threeMirror" label="Y">是 |
|
|
|
|
|
</el-radio> |
|
|
|
|
|
<el-radio v-model="form.threeMirror" label="N">否 |
|
|
|
|
|
</el-radio> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</div> |
|
|
</div> |
|
|
<el-form-item label="预约时间:" required> |
|
|
<el-form-item label="预约时间:" required> |
|
@ -94,25 +98,19 @@ |
|
|
<el-col class="line" style="text-align: center" :span="2">-</el-col> |
|
|
<el-col class="line" style="text-align: center" :span="2">-</el-col> |
|
|
<el-col :span="11"> |
|
|
<el-col :span="11"> |
|
|
<el-form-item prop="date2"> |
|
|
<el-form-item prop="date2"> |
|
|
<!-- <el-time-select--> |
|
|
|
|
|
<!-- v-model="form.date2"--> |
|
|
|
|
|
<!-- :picker-options="{--> |
|
|
|
|
|
<!-- start: '08:30',--> |
|
|
|
|
|
<!-- step: '00:15',--> |
|
|
|
|
|
<!-- end: '18:30'--> |
|
|
|
|
|
<!-- }"--> |
|
|
|
|
|
<!-- placeholder="选择时间"--> |
|
|
|
|
|
<!-- />--> |
|
|
|
|
|
<el-time-picker |
|
|
|
|
|
|
|
|
<el-time-select |
|
|
v-model="form.date2" |
|
|
v-model="form.date2" |
|
|
value-format="HH:mm:ss" |
|
|
|
|
|
|
|
|
:picker-options="{ |
|
|
|
|
|
start: '08:30', |
|
|
|
|
|
step: '00:15', |
|
|
|
|
|
end: '18:30' |
|
|
|
|
|
}" |
|
|
placeholder="选择时间" |
|
|
placeholder="选择时间" |
|
|
style="width: 100%;" |
|
|
|
|
|
/> |
|
|
/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div></el-form> |
|
|
|
|
|
|
|
|
</el-form> |
|
|
<span slot="footer" class="dialog-footer"> |
|
|
<span slot="footer" class="dialog-footer"> |
|
|
<el-button size="small" @click="goFormList">表单</el-button> |
|
|
<el-button size="small" @click="goFormList">表单</el-button> |
|
|
<el-button size="small" @click="closeDialog">取 消</el-button> |
|
|
<el-button size="small" @click="closeDialog">取 消</el-button> |
|
@ -161,6 +159,13 @@ export default { |
|
|
date1: '', |
|
|
date1: '', |
|
|
date2: '' |
|
|
date2: '' |
|
|
}, |
|
|
}, |
|
|
|
|
|
options: [{ |
|
|
|
|
|
value: 'FFA', |
|
|
|
|
|
label: 'FFA' |
|
|
|
|
|
}, { |
|
|
|
|
|
value: 'ICGA', |
|
|
|
|
|
label: 'ICGA' |
|
|
|
|
|
}], |
|
|
doctorList: [] |
|
|
doctorList: [] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -192,7 +197,7 @@ export default { |
|
|
this.form.yzOpen = this.patientDetail.yzOpen |
|
|
this.form.yzOpen = this.patientDetail.yzOpen |
|
|
if (this.patientDetail.appointDate) { |
|
|
if (this.patientDetail.appointDate) { |
|
|
this.form.date1 = this.patientDetail.appointDate.split(' ')[0] |
|
|
this.form.date1 = this.patientDetail.appointDate.split(' ')[0] |
|
|
this.form.date2 = this.patientDetail.appointDate.split(' ')[1] |
|
|
|
|
|
|
|
|
this.form.date2 = this.patientDetail.appointDate.split(' ')[1].substring(0, 5) |
|
|
} |
|
|
} |
|
|
this.patientInfo = this.patientDetail |
|
|
this.patientInfo = this.patientDetail |
|
|
} |
|
|
} |
|
@ -235,7 +240,7 @@ export default { |
|
|
return false |
|
|
return false |
|
|
} |
|
|
} |
|
|
const params = { |
|
|
const params = { |
|
|
appointDate: `${this.form.date1} ${this.form.date2}`, |
|
|
|
|
|
|
|
|
appointDate: `${this.form.date1} ${this.form.date2}:00`, |
|
|
patientName: this.patientInfo.patientName, |
|
|
patientName: this.patientInfo.patientName, |
|
|
jzNumber: this.patientInfo.jzNumber, |
|
|
jzNumber: this.patientInfo.jzNumber, |
|
|
appointSource: this.patientInfo.source, |
|
|
appointSource: this.patientInfo.source, |
|
@ -254,7 +259,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
const params = { |
|
|
const params = { |
|
|
appointDate: `${this.form.date1} ${this.form.date2}`, |
|
|
|
|
|
|
|
|
appointDate: `${this.form.date1} ${this.form.date2}:00`, |
|
|
patientName: this.patientDetail.patientName, |
|
|
patientName: this.patientDetail.patientName, |
|
|
id: this.patientDetail.id, |
|
|
id: this.patientDetail.id, |
|
|
itemId: this.patientDetail.itemId, |
|
|
itemId: this.patientDetail.itemId, |
|
|