|
|
@ -305,12 +305,21 @@ |
|
|
|
:disabled="formDisabled" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="受教育年限" prop="educationYears"> |
|
|
|
<el-input |
|
|
|
v-model="form.educationYears" |
|
|
|
placeholder="请输入" |
|
|
|
<el-form-item label="受教育程度" prop="educationYears"> |
|
|
|
<el-select |
|
|
|
:disabled="formDisabled" |
|
|
|
/> |
|
|
|
v-model="form.educationYears" |
|
|
|
placeholder="请选择" |
|
|
|
filterable |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in educationYears" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="手机号码" prop="phone"> |
|
|
|
<el-input |
|
|
@ -412,8 +421,7 @@ export default { |
|
|
|
Authorization: "Bearer " + getToken(), |
|
|
|
deptId: localStorage.getItem("hospitalId"), |
|
|
|
}, |
|
|
|
uploadFileUrl1: |
|
|
|
process.env.VUE_APP_API_QZURL + "/patient/import", // 上传的图片服务器地址 |
|
|
|
uploadFileUrl1: process.env.VUE_APP_API_QZURL + "/patient/import", // 上传的图片服务器地址 |
|
|
|
fileList: [], |
|
|
|
// 通过年限对象获取学历 |
|
|
|
educationYearsValue: { |
|
|
@ -426,6 +434,17 @@ export default { |
|
|
|
19: "硕士研究生", |
|
|
|
22: "博士研究生", |
|
|
|
}, |
|
|
|
// 受教育程度,年限 |
|
|
|
educationYears: [ |
|
|
|
{ label: "文盲", value: 0 }, |
|
|
|
{ label: "小学", value: 6 }, |
|
|
|
{ label: "初中", value: 9 }, |
|
|
|
{ label: "高中", value: 12 }, |
|
|
|
{ label: "大专", value: 15 }, |
|
|
|
{ label: "大学", value: 16 }, |
|
|
|
{ label: "硕士研究生", value: 19 }, |
|
|
|
{ label: "博士研究生", value: 22 }, |
|
|
|
], |
|
|
|
// 现病史 |
|
|
|
medicalHistory: [ |
|
|
|
"高血压", |
|
|
@ -748,7 +767,7 @@ export default { |
|
|
|
/** 导出按钮操作 */ |
|
|
|
handleExport() { |
|
|
|
this.download1( |
|
|
|
"/patient/export", |
|
|
|
"/admin/patient/export", |
|
|
|
{ |
|
|
|
...this.queryParams.params, |
|
|
|
}, |
|
|
|