|
|
|
@ -1,34 +1,34 @@ |
|
|
|
<template> |
|
|
|
<div style="height: 468px;overflow-y: auto;"> |
|
|
|
<el-form :model="form" ref="form" label-width="80px" :rules="rules"> |
|
|
|
<el-form :model="dataTransOpts.tableS.patient_occupational_disease" ref="form" label-width="80px" > |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="ocCheckTypeId" label="检查类别"> |
|
|
|
<el-select v-model="form.ocCheckTypeId" size="small"> |
|
|
|
<el-select v-model="dataTransOpts.tableS.patient_occupational_disease.ocCheckTypeId" size="small"> |
|
|
|
<el-option v-for="item in dict.occCheckType" :key="item.value" :label="item.displayName" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="工种"> |
|
|
|
<el-input v-model="form.jobType" size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.jobType" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="totalWorkTime" label="总工龄"> |
|
|
|
<el-input v-model="form.totalWorkTime" size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.totalWorkTime" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="poisonWorkTime" label="接害工龄"> |
|
|
|
<el-input v-model="form.poisonWorkTime" size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.poisonWorkTime" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="一、既往病史:" label-width="105px"> |
|
|
|
<el-input type="textarea" v-model="form.previousHistory" size="small" |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.previousHistory" size="small" |
|
|
|
:autosize="{ minRows: 1, maxRows: 10 }"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -36,12 +36,12 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-form-item label="二、急慢性职业病史:病名" label-width="175px"> |
|
|
|
<el-input v-model="form.occupationalDisease" size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.occupationalDisease" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="diagnosisDate" label="诊断日期"> |
|
|
|
<el-date-picker v-model="form.diagnosisDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
<el-date-picker v-model="dataTransOpts.tableS.patient_occupational_disease.diagnosisDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
placeholder="诊断日期" size="small" style="width: 100%" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -49,33 +49,33 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-form-item prop="diagnosisHospital" label="诊断单位" label-width="175px"> |
|
|
|
<el-input v-model="form.diagnosisHospital" size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.diagnosisHospital" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="recovery" label="是否痊愈"> |
|
|
|
<el-checkbox v-model="form.recovery" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
<el-checkbox v-model="dataTransOpts.tableS.patient_occupational_disease.recovery" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="三、月经史: 初经" label-width="120px"> |
|
|
|
<el-input type="number" v-model="form.firstMenstruation" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.firstMenstruation" size="small"> |
|
|
|
<template slot="append">岁</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="menstruationTimeLength" label="经期"> |
|
|
|
<el-input type="number" v-model="form.menstruationTimeLength" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.menstruationTimeLength" size="small"> |
|
|
|
<template slot="append">天</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="menstruationCycle" label="周期"> |
|
|
|
<el-input type="number" v-model="form.menstruationCycle" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.menstruationCycle" size="small"> |
|
|
|
<template slot="append">天</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -84,19 +84,19 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="是否停经" label-width="120px"> |
|
|
|
<el-checkbox v-model="form.menstruationFlag" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
<el-checkbox v-model="dataTransOpts.tableS.patient_occupational_disease.menstruationFlag" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item prop="menstruationEndAge" label="停经年龄"> |
|
|
|
<el-input type="number" v-model="form.menstruationEndAge" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.menstruationEndAge" size="small"> |
|
|
|
<template slot="append">岁</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item prop="lastMenstrualPeriodDate" label="末次月经日期" label-width="120px"> |
|
|
|
<el-date-picker v-model="form.lastMenstrualPeriodDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
<el-date-picker v-model="dataTransOpts.tableS.patient_occupational_disease.lastMenstrualPeriodDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
placeholder="末次月经日期" size="small" style="width: 100%" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -104,35 +104,35 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="四、生育史:现有子女" label-width="145px"> |
|
|
|
<el-input type="number" v-model="form.childrenNum" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.childrenNum" size="small"> |
|
|
|
<template slot="append">人</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="流产" label-width="50px"> |
|
|
|
<el-input type="number" v-model="form.abortionTimes" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.abortionTimes" size="small"> |
|
|
|
<template slot="append">次</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="早产" label-width="50px"> |
|
|
|
<el-input type="number" v-model="form.prematureBirthTimes" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.prematureBirthTimes" size="small"> |
|
|
|
<template slot="append">次</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="死产" label-width="50px"> |
|
|
|
<el-input type="number" v-model="form.stillbirthTimes" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.stillbirthTimes" size="small"> |
|
|
|
<template slot="append">人</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="异常胎" label-width="60px"> |
|
|
|
<el-input type="number" v-model="form.abnormalTimes" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.abnormalTimes" size="small"> |
|
|
|
<template slot="append">次</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -141,23 +141,23 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="五、烟酒史:吸烟" label-width="115px"> |
|
|
|
<el-radio-group v-model="form.smokeFlag"> |
|
|
|
<el-radio :label="3">不吸</el-radio> |
|
|
|
<el-radio :label="6">偶尔吸</el-radio> |
|
|
|
<el-radio :label="9">经常吸</el-radio> |
|
|
|
<el-radio-group v-model="dataTransOpts.tableS.patient_occupational_disease.smokeFlag"> |
|
|
|
<el-radio :label="'0'">不吸</el-radio> |
|
|
|
<el-radio :label="'1'">偶尔吸</el-radio> |
|
|
|
<el-radio :label="'2'">经常吸</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="频次"> |
|
|
|
<el-input type="number" v-model="form.smokeNum" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.smokeNum" size="small"> |
|
|
|
<template slot="append">支/天</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="烟龄"> |
|
|
|
<el-input type="number" v-model="form.smokeYears" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.smokeYears" size="small"> |
|
|
|
<template slot="append">年</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -166,23 +166,23 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="喝酒" label-width="115px"> |
|
|
|
<el-radio-group v-model="form.drinkFlag"> |
|
|
|
<el-radio :label="3">不喝</el-radio> |
|
|
|
<el-radio :label="6">偶尔喝</el-radio> |
|
|
|
<el-radio :label="9">经常喝</el-radio> |
|
|
|
<el-radio-group v-model="dataTransOpts.tableS.patient_occupational_disease.drinkFlag"> |
|
|
|
<el-radio :label="'0'">不喝</el-radio> |
|
|
|
<el-radio :label="'1'">偶尔喝</el-radio> |
|
|
|
<el-radio :label="'2'">经常喝</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="频次"> |
|
|
|
<el-input type="number" v-model="form.drinkNum" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.drinkNum" size="small"> |
|
|
|
<template slot="append">ml/次</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="酒龄"> |
|
|
|
<el-input type="number" v-model="form.drinkYears" size="small"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.drinkYears" size="small"> |
|
|
|
<template slot="append">年</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -191,7 +191,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="六、其他:" label-width="75px"> |
|
|
|
<el-input type="textarea" v-model="form.other" size="small" |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.other" size="small" |
|
|
|
:autosize="{ minRows: 1, maxRows: 10 }"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -199,22 +199,22 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item label="创建者"> |
|
|
|
<el-input v-model="form.creatorName" disabled size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.creatorName" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="创建时间" label-width="80px" style="margin-left:-10px;"> |
|
|
|
<el-date-picker v-model="form.creationTime" type="datetime" size="small" style="width: 100%" disabled /> |
|
|
|
<el-date-picker v-model="dataTransOpts.tableS.patient_occupational_disease.creationTime" type="datetime" size="small" style="width: 100%" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item label="修改者"> |
|
|
|
<el-input v-model="form.creatorName" disabled size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.creatorName" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="修改时间" label-width="80px" style="margin-left:-10px;"> |
|
|
|
<el-date-picker v-model="form.lastModificationTime" type="datetime" size="small" style="width: 100%" |
|
|
|
<el-date-picker v-model="dataTransOpts.tableS.patient_occupational_disease.lastModificationTime" type="datetime" size="small" style="width: 100%" |
|
|
|
disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -260,30 +260,14 @@ export default { |
|
|
|
prematureBirthTimes:'', // 早产 |
|
|
|
stillbirthTimes:'', // 死产 |
|
|
|
abnormalTimes:'', // 异常胎 |
|
|
|
smokeFlag:'', // 吸烟 |
|
|
|
smokeFlag:'0', // 吸烟 |
|
|
|
smokeNum:'', // 吸烟频次 |
|
|
|
smokeYears:'', //烟龄 |
|
|
|
drinkFlag:'', // 喝酒 |
|
|
|
drinkFlag:'0', // 喝酒 |
|
|
|
drinkNum:'', // 喝酒频次 |
|
|
|
drinkYears:'', // 酒龄 |
|
|
|
other:'', // 其他 |
|
|
|
}, |
|
|
|
|
|
|
|
formInit: {}, |
|
|
|
contactMethodList: [], //联系方式(可修改) |
|
|
|
|
|
|
|
|
|
|
|
Methodtypes: [ |
|
|
|
//{ value: '',label: '所有订单状态' }, |
|
|
|
{ value: "0", label: "电话" }, |
|
|
|
{ value: "1", label: "邮箱" }, |
|
|
|
], |
|
|
|
|
|
|
|
rules: { |
|
|
|
displayName: [ |
|
|
|
{ required: true, message: "请输入名称", trigger: "blur" }, |
|
|
|
], |
|
|
|
}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -291,7 +275,7 @@ export default { |
|
|
|
//获取用户当前页面的权限 |
|
|
|
let userPriv = window.sessionStorage.getItem('userPriv') |
|
|
|
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName)) |
|
|
|
this.formInit = deepCopy(this.form) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
|