|
|
|
@ -5,35 +5,39 @@ |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="ocCheckTypeId" label="检查类别"> |
|
|
|
<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-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="dataTransOpts.tableS.patient_occupational_disease.jobType" clearable size="small"></el-input> |
|
|
|
<el-input v-model="dataTransOpts.tableS.patient_occupational_disease.jobType" clearable |
|
|
|
size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="totalWorkTime" label="总工龄"> |
|
|
|
<el-autocomplete class="inline-input" |
|
|
|
v-model="dataTransOpts.tableS.patient_occupational_disease.totalWorkTime" :fetch-suggestions="querySearch" clearable |
|
|
|
placeholder="总工龄" size="small" /> |
|
|
|
v-model="dataTransOpts.tableS.patient_occupational_disease.totalWorkTime" :fetch-suggestions="querySearch" |
|
|
|
clearable placeholder="总工龄" size="small" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item prop="poisonWorkTime" label="接害工龄"> |
|
|
|
<el-autocomplete class="inline-input" |
|
|
|
v-model="dataTransOpts.tableS.patient_occupational_disease.poisonWorkTime" :fetch-suggestions="querySearch" clearable |
|
|
|
placeholder="接害工龄" size="small" /> |
|
|
|
v-model="dataTransOpts.tableS.patient_occupational_disease.poisonWorkTime" |
|
|
|
:fetch-suggestions="querySearch" clearable placeholder="接害工龄" size="small" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="接害因素"> |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.riskFactors" size="small" |
|
|
|
:autosize="{ minRows: 1, maxRows: 10 }" clearable ></el-input> |
|
|
|
<el-tooltip content="此处只显示,不允许编辑" placement="left-start"> |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.riskFactors" |
|
|
|
size="small" :autosize="{ minRows: 1, maxRows: 10 }" disabled></el-input> |
|
|
|
</el-tooltip> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -41,7 +45,7 @@ |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="家族遗传史"> |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.familyGeneticHistory" |
|
|
|
size="small" :autosize="{ minRows: 1, maxRows: 10 }" clearable ></el-input> |
|
|
|
size="small" :autosize="{ minRows: 1, maxRows: 10 }" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -132,7 +136,8 @@ |
|
|
|
<el-row v-show="dataTransOpts.tableS.patient_register.sexId == 'F'"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="四、生育史:现有子女" label-width="145px"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.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> |
|
|
|
@ -181,7 +186,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="频次"> |
|
|
|
<el-form-item label="吸烟量"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.smokeNum" size="small"> |
|
|
|
<template slot="append">支/天</template> |
|
|
|
</el-input> |
|
|
|
@ -206,7 +211,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="频次"> |
|
|
|
<el-form-item label="喝酒量"> |
|
|
|
<el-input type="number" v-model="dataTransOpts.tableS.patient_occupational_disease.drinkNum" size="small"> |
|
|
|
<template slot="append">ml/次</template> |
|
|
|
</el-input> |
|
|
|
@ -224,7 +229,7 @@ |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="六、其他:" label-width="75px"> |
|
|
|
<el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.other" size="small" |
|
|
|
:autosize="{ minRows: 1, maxRows: 10 }" clearable ></el-input> |
|
|
|
:autosize="{ minRows: 1, maxRows: 10 }" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -339,7 +344,7 @@ export default { |
|
|
|
querySearch(queryString, cb) { |
|
|
|
var restaurants = [{ value: '年月' }]; //不需要字典库显示 deepCopy(this.restaurants) [{ value: '阴性' },{ value: '阳性' }] |
|
|
|
var results = queryString |
|
|
|
? restaurants.filter(e => { return e.value.indexOf(queryString) > -1}) |
|
|
|
? restaurants.filter(e => { return e.value.indexOf(queryString) > -1 }) |
|
|
|
: restaurants; |
|
|
|
// 调用 callback 返回建议列表的数据 |
|
|
|
cb(results); |
|
|
|
@ -361,11 +366,13 @@ export default { |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped>@import '../../assets/css/global_table.css'; |
|
|
|
<style scoped> |
|
|
|
@import '../../assets/css/global_table.css'; |
|
|
|
@import '../../assets/css/global_input.css'; |
|
|
|
@import '../../assets/css/global_form.css'; |
|
|
|
@import '../../assets/css/global_dialog.css'; |
|
|
|
|
|
|
|
.btnClass { |
|
|
|
width: 110px; |
|
|
|
}</style> |
|
|
|
} |
|
|
|
</style> |