|
|
|
@ -2,36 +2,36 @@ |
|
|
|
<div> |
|
|
|
<el-table :data="dataTransOpts.tableM.patient_occupational_history" border height="465" row-key="id" size="small" |
|
|
|
highlight-current-row ref="contactMethod"> |
|
|
|
<el-table-column prop="beginDate" label="开始日期" min-width="100"> |
|
|
|
<el-table-column prop="beginDate" label="开始日期" min-width="90"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker v-model="scope.row.beginDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
placeholder="开始日期" size="small" style="width: 100%" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="endDate" label="结束日期" min-width="100"> |
|
|
|
<el-table-column prop="endDate" label="结束日期" min-width="90"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker v-model="scope.row.endDate" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" |
|
|
|
placeholder="结束日期" size="small" style="width: 100%" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="org" label="工作单位" min-width="200"> |
|
|
|
<el-table-column prop="org" label="工作单位" min-width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.org" size="small" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="workShop" label="车间" min-width="80"> |
|
|
|
<el-table-column prop="workShop" label="车间" min-width="60"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.workShop" size="small" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="workType" label="工种" min-width="80"> |
|
|
|
<el-table-column prop="workType" label="工种" min-width="60"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="scope.row.workType" size="small" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="poison" label="毒害因素" min-width="200"> |
|
|
|
<el-table-column prop="poison" label="接害因素" min-width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.poison" size="small" style="width:220px" clearable filterable |
|
|
|
<el-select v-model="scope.row.poison" size="small" style="width:130px" clearable filterable |
|
|
|
:filter-method="filterMethod"> |
|
|
|
<el-option-group v-for="group in postion" :key="group.poisonTypeName" :label="group.poisonTypeName"> |
|
|
|
<el-option v-for="item in group.poisonDtos" :key="item.id" :label="item.displayName" :value="item.displayName" /> |
|
|
|
@ -39,7 +39,7 @@ |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="protectiveMeasures" label="防护措施" min-width="200"> |
|
|
|
<el-table-column prop="protectiveMeasures" label="防护措施" min-width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.protectiveMeasures" size="small"> |
|
|
|
<el-option v-for="item in protectiveMeasures" :key="item.id" :label="item.displayName" :value="item.displayName" /> |
|
|
|
@ -118,6 +118,25 @@ export default { |
|
|
|
moment, checkPagePriv, |
|
|
|
|
|
|
|
dictInit() { |
|
|
|
//职业病 接害因素 |
|
|
|
postapi("/api/app/Poison/GetPoisonWithTypeList").then(res => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.dict.postion = res.data; |
|
|
|
this.postion = res.data; |
|
|
|
this.dict.postionList = [] |
|
|
|
this.dict.postion.forEach(e => { |
|
|
|
e.poisonDtos.forEach(e2 => { |
|
|
|
this.dict.postionList.push({ |
|
|
|
poisonTypeName: e.poisonTypeName, |
|
|
|
id: e2.id, |
|
|
|
displayName: e2.displayName, |
|
|
|
simpleCode: e2.simpleCode |
|
|
|
}) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
//职业病检查类别 |
|
|
|
postapi("/api/app/ProtectiveMeasures/GetList").then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
|