pengjun 3 weeks ago
parent
commit
79a167f5ef
  1. 26
      src/components/sumDoctorCheck/CheckDetails.vue
  2. 2
      src/components/sumDoctorCheck/SumItems.vue

26
src/components/sumDoctorCheck/CheckDetails.vue

@ -10,18 +10,13 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div :style="`padding-left:10px;width:${(window.pageWidth - 180 - 110 - 25)}px;`">
<table width="100%" style="font-size:14px;">
<tbody v-for="(item, index) of tableData" :key="index">
<tr height="30">
<td style="text-align: center;font-weight: bolder;">{{ item.itemTypeName }}</td>
</tr>
<tr>
<table width="100%" border="1"
cellspacing="0" bordercolor="#909399" style="border-collapse:collapse;">
<div :style="`overflow: scroll;padding-left:10px;width:${(window.pageWidth - 180 - 110 - 25)}px;height:${divHeight}px;`">
<table width="100%" border="1" cellspacing="0" bordercolor="#909399"
style="font-size:14px;border-collapse:collapse;">
<tr height="24"> <tr height="24">
<td width="200" class="tdCellClass">{{ details.asbitemNames }}</td> <td width="200" class="tdCellClass">{{ details.asbitemNames }}</td>
<td width="604" class="tdCellClass" colspan="7">{{ '检查日期:' + details.checkDate.substring(0, 10) + ' 检查医生:' + details.checkDoctorName
<td width="604" class="tdCellClass" colspan="7">{{ '检查日期:' + details.checkDate.substring(0, 10) + ' 检查医生:' +
details.checkDoctorName
}}</td> }}</td>
</tr> </tr>
@ -38,8 +33,10 @@
<tr height="24" v-for="(item3, index) in details.items" :key="index"> <tr height="24" v-for="(item3, index) in details.items" :key="index">
<td class="tdCellClass">{{ item3.itemName }}</td> <td class="tdCellClass">{{ item3.itemName }}</td>
<td :style="`color: ${getColorStr(item3.reportFontColor)};`" class="tdCellClass">{{ item3.itemResult }}</td> <td :style="`color: ${getColorStr(item3.reportFontColor)};`" class="tdCellClass">{{ item3.itemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousReportFontColor)};`" class="tdCellClass">{{ item3.previousItemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousTwoReportFontColor)};`" class="tdCellClass">{{ item3.previousTwoItemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousReportFontColor)};`" class="tdCellClass">{{
item3.previousItemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousTwoReportFontColor)};`" class="tdCellClass">{{
item3.previousTwoItemResult }}</td>
<td align="center" class="tdCellClass">{{ item3.referenceRangeValue }}</td> <td align="center" class="tdCellClass">{{ item3.referenceRangeValue }}</td>
<td align="center" class="tdCellClass">{{ item3.criticalRangeValue }}</td> <td align="center" class="tdCellClass">{{ item3.criticalRangeValue }}</td>
<td align="center" class="tdCellClass">{{ item3.unit }}</td> <td align="center" class="tdCellClass">{{ item3.unit }}</td>
@ -50,9 +47,7 @@
<td colspan="8" class="tdCellClass" v-html="`小结:${mergeSummarys(details.summarys, 'summary')}`"></td> <td colspan="8" class="tdCellClass" v-html="`小结:${mergeSummarys(details.summarys, 'summary')}`"></td>
</tr> </tr>
</table> </table>
</tr>
</tbody>
</table>
</div> </div>
</div> </div>
</template> </template>
@ -180,4 +175,3 @@ export default {
padding: 0; padding: 0;
} }
</style> </style>

2
src/components/sumDoctorCheck/SumItems.vue

@ -12,7 +12,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div :style="`padding-left:10px;width:${(window.pageWidth - 180 - 110 - 25)}px;`">
<div :style="`overflow: scroll;padding-left:10px;width:${(window.pageWidth - 180 - 110 - 25)}px;height:${divHeight}px;`">
<!-- <!--
<el-table :data="tableData" :height="divHeight" border highlight-current-row> <el-table :data="tableData" :height="divHeight" border highlight-current-row>
<el-table-column prop="itemName" label="项目" width="150" /> <el-table-column prop="itemName" label="项目" width="150" />

Loading…
Cancel
Save