pengjun 4 months ago
parent
commit
8a094d422e
  1. 12
      src/components/sumDoctorCheck/SumSug.vue

12
src/components/sumDoctorCheck/SumSug.vue

@ -10,7 +10,7 @@
</div> </div>
</div> </div>
<div :style="`width:${dragging.sugWidthLeft}px;background-color: #B9CEE9;`" @contextmenu="onContextmenu"> <div :style="`width:${dragging.sugWidthLeft}px;background-color: #B9CEE9;`" @contextmenu="onContextmenu">
<el-table id="tableSummary" row-key="id" :data="sumDoctorCheck.summaryList" width="100%"
<el-table id="tableSummary" row-key="id" :data="sumDoctorCheck.summaryList" class="overflowY"
:height="sumHeight - (history_summary_years_limit == '0' ? 0 : 94)" border size="small"> :height="sumHeight - (history_summary_years_limit == '0' ? 0 : 94)" border size="small">
<el-table-column type="index" width="30" align="center" /> <el-table-column type="index" width="30" align="center" />
<el-table-column prop="summaryTitle" label="综述"> <el-table-column prop="summaryTitle" label="综述">
@ -53,7 +53,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="8" />
<el-table-column width="7" />
</el-table> </el-table>
</div> </div>
</template> </template>
@ -92,7 +92,7 @@
</div> </div>
<div style="width: 5px;cursor: col-resize;" @mousedown="startDrag">&nbsp;</div> <div style="width: 5px;cursor: col-resize;" @mousedown="startDrag">&nbsp;</div>
<div :style="`width:${dragging.sugWidthRight}px;background-color: #B9CEE9;`" @contextmenu="onContextmenuSug"> <div :style="`width:${dragging.sugWidthRight}px;background-color: #B9CEE9;`" @contextmenu="onContextmenuSug">
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%"
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" class="overflowY"
:height="sumHeight" border size="small" ref="tableSuggestion" @row-contextmenu="onCellRightClick" @row-click="rowClickS"> :height="sumHeight" border size="small" ref="tableSuggestion" @row-contextmenu="onCellRightClick" @row-click="rowClickS">
<el-table-column width="30" align="center"> <el-table-column width="30" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
@ -1807,10 +1807,16 @@ export default {
margin-top: -5px; margin-top: -5px;
} }
.overflowY {
overflow-y: scroll !important;
}
::v-deep .el-icon-search:before { ::v-deep .el-icon-search:before {
color: #00F; color: #00F;
} }
/* 表格底色 .el-table__body .el-table__body-wrapper */ /* 表格底色 .el-table__body .el-table__body-wrapper */
::v-deep .el-table { ::v-deep .el-table {
color: #000; color: #000;

Loading…
Cancel
Save