<style>
    .rp-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 12px;
    }
    .rp-table th, .rp-table td {
        border: 1px solid #000;
        padding: 6px;
        text-align: center;
        vertical-align: middle;
    }
    .title {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        margin: 10px 0 10px 0;
    }
</style>
<div class="title">奖惩记录表</div>
<table class="rp-table">
    <colgroup>
        <col style="width: 15%;" />
        <col style="width: 25%;" />
        <col style="width: 20%;" />
        <col style="width: 40%;" />
    </colgroup>
    <thead>
    <tr>
        <th>姓名</th><th style="text-align:left;padding-left:10px; font-weight: normal !important;">$!{name}</th>
        <th>身份证号</th><th style="text-align:left;padding-left:10px;white-space: nowrap; font-weight: normal !important;">$!{idCardNo}</th>
    </tr>
    <tr>
        <th>日期</th>
        <th>奖惩事项</th>
        <th colspan="2">奖惩标准</th>
    </tr>
    </thead>
    <tbody>
    #foreach($r in $rows)
    <tr>
        <td>$!{r.eventDate}</td>
        <td style="text-align:left;padding-left:10px;">$!{r.item}</td>
        <td colspan="2" style="text-align:left;padding-left:10px;">$!{r.decision}</td>
    </tr>
    #end
    #if(!$rows || $rows.size() == 0)
    <tr>
        <td colspan="4">暂无奖惩记录</td>
    </tr>
    #end
    </tbody>
</table>
