|
|
|
@ -3,9 +3,8 @@ |
|
|
|
<div :style="`overflow-y: scroll;height: ${tableHeight}px;`"> |
|
|
|
<el-collapse v-model="activeNames"> |
|
|
|
<el-collapse-item v-if="registerCheckList0.length > 0" title="普通检查" name="0"> |
|
|
|
<el-table :data="registerCheckList0" style="width: 100%;" border |
|
|
|
highlight-current-row @row-click="rowClick" :show-header="false" |
|
|
|
:row-style="{ height: '28px' }"> |
|
|
|
<el-table :data="registerCheckList0" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
@ -16,9 +15,8 @@ |
|
|
|
</el-table> |
|
|
|
</el-collapse-item> |
|
|
|
<el-collapse-item v-if="registerCheckList1.length > 0" title="检验" name="1"> |
|
|
|
<el-table :data="registerCheckList1" style="width: 100%;" border |
|
|
|
highlight-current-row @row-click="rowClick" :show-header="false" |
|
|
|
:row-style="{ height: '28px' }"> |
|
|
|
<el-table :data="registerCheckList1" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
@ -29,9 +27,8 @@ |
|
|
|
</el-table> |
|
|
|
</el-collapse-item> |
|
|
|
<el-collapse-item v-if="registerCheckList2.length > 0" title="特检" name="2"> |
|
|
|
<el-table :data="registerCheckList2" style="width: 100%;" border |
|
|
|
highlight-current-row @row-click="rowClick" :show-header="false" |
|
|
|
:row-style="{ height: '28px' }"> |
|
|
|
<el-table :data="registerCheckList2" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
@ -42,9 +39,8 @@ |
|
|
|
</el-table> |
|
|
|
</el-collapse-item> |
|
|
|
<el-collapse-item v-if="registerCheckList3.length > 0" title="放射" name="3"> |
|
|
|
<el-table :data="registerCheckList3" style="width: 100%;" border |
|
|
|
highlight-current-row @row-click="rowClick" :show-header="false" |
|
|
|
:row-style="{ height: '28px' }"> |
|
|
|
<el-table :data="registerCheckList3" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
@ -116,7 +112,7 @@ export default { |
|
|
|
|
|
|
|
//选择组合项目 |
|
|
|
rowClick(row) { |
|
|
|
console.log('rowClick') |
|
|
|
// console.log('rowClick') |
|
|
|
this.doctorCheck.RegisterCheckId = row.id |
|
|
|
this.doctorCheck.asbitemName = row.asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = row.checkRequestNo |
|
|
|
@ -151,12 +147,17 @@ export default { |
|
|
|
this.doctorCheck.RegisterCheckId = res.data[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = res.data[0].id |
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = res.data[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = res.data[0].checkRequestNo |
|
|
|
|
|
|
|
// this.doctorCheck.RegisterCheckEdit = res.data[0] |
|
|
|
|
|
|
|
// this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0]) |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataTransOpts.tableS.register_check.id = '' |
|
|
|
this.doctorCheck.asbitemName = "" |
|
|
|
this.doctorCheck.checkRequestNo = "" |
|
|
|
} |
|
|
|
|
|
|
|
this.dataTransOpts.refresh.register_check.S++ //刷新检查医生 |
|
|
|
@ -202,4 +203,3 @@ export default { |
|
|
|
padding: 0 0 0 50px; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|