You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simple-yewu/frontend/views/non-auto-insurance/ajax-non-index.php

47 lines
2.3 KiB

5 years ago
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table" style="table-layout: fixed;">
<tr>
<td width="20" align="center" class="bg_tr" nowrap>序号</td>
<td width="80" align="center" class="bg_tr" nowrap>被保险人姓名</td>
<td width="80" align="center" class="bg_tr" nowrap>被保险人证件号</td>
<td width="80" align="center" class="bg_tr" nowrap>被保险人电话</td>
<td width="80" align="center" class="bg_tr" nowrap>投保人姓名</td>
<td width="80" align="center" class="bg_tr" nowrap>投保人证件号</td>
<td width="80" align="center" class="bg_tr" nowrap>投保人电话</td>
<td width="80" align="center" class="bg_tr" nowrap>受益人姓名 </td>
<td width="80" align="center" class="bg_tr" nowrap>受益人证件号 </td>
<td width="80" align="center" class="bg_tr" nowrap>受益人电话 </td>
<td width="80" align="center" class="bg_tr" nowrap>操作</td>
</tr>
<?php
foreach($items as $index => $item) {
$start_index = ($page-1) * 20 + $index;
?>
<tr class="xuanti dst<?=$item->id?>" onclick="repl(<?=$item->id?>)">
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
<td class="td_bg bs1"><?=$item->insurant_name?></td>
<td class="td_bg bs2" nowrap><?=$item->insurant_number?></td>
<td class="td_bg bs3" nowrap><?=$item->insurant_phone?></td>
<td class="td_bg bs4" nowrap><?=$item->policy_holder_name?></td>
<td class="td_bg bs5" nowrap><?=$item->policy_holder_number?></td>
<td class="td_bg bs6" nowrap><?=$item->policy_holder_phone?></td>
<td class="td_bg bs7" nowrap><?=$item->beneficiary_name?></td>
<td class="td_bg bs8" nowrap><?=$item->beneficiary_number?></td>
<td class="td_bg bs9" nowrap><?=$item->beneficiary_phone?></td>
<td align="center" class="td_bg tihuan" nowrap><input type="button" class="ACT_btn replace-btn" name="Submit6" value=" 替换 " onclick="repl(<?=$item->id?>)"></td>
</tr>
<?php
}
?>
<tr>
<td height="25" colspan="11" align="center" class="td_bg"><?=$page_info?></td>
</tr>
</table>
<style>
.xuanti{
cursor : pointer
}
</style>