废话不说直接上代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>无标题文档 </title>
</head>
<body>
<table width="100%" border="1" cellspacing="0" cellpadding="0" id="tab">
<tr height="48">
<td height="48" width="72">选择</td>
<td width="72">积分表编号</td>
<td width="72">应用对象</td>
<td width="72">所属线条</td>
<td width="72">事件分类</td>
<td width="72">事件等次</td>
<td width="68">事件积分</td>
<td width="135">评分说明</td>
<td width="72">发文依据</td>
<td width="72">条款编号(非必填)</td>
<td width="40">备注</td>
</tr>
<tr height="50">
<td height="50"> </td>
<td>JF0001</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td>10</td>
<td width="135">(一) 在维护或客户服务过程中,擅自修改用户数据或局数据的行为,每次扣从业资格积分10分。</td>
<td width="72">xx分公司网运线维护外包从业人员积分管理规定</td>
<td width="72">xx分公司网运线维护外包从业人员积分管理规定分公司网运线维护外包从业人员积分管理规定<br />
第三条 、第七条</td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0002</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0003</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0004</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0005</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">黑名单记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0006</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">黑名单记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0007</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td> </td>
<td width="135"> </td>
<td width="72"> </td>
<td> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0008</td>
<td width="72">业务外包人员</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td> </td>
<td width="135"> </td>
<td width="72"> </td>
<td> </td>
<td> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0009</td>
<td width="72">业务外包人员</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td width="40"> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0010</td>
<td width="72">业务外包人员</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td width="40"> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0011</td>
<td width="72">业务外包人员</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td width="40"> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0012</td>
<td width="72">业务外包人员</td>
<td width="72">网运线</td>
<td>不良事件</td>
<td width="72">黑名单记录</td>
<td> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td width="40"> </td>
</tr>
<tr height="32">
<td height="32"> </td>
<td>JF0013</td>
<td width="72">业务外包人员</td>
<td width="72">网运线</td>
<td>不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td width="40"> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0014</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135">待定</td>
<td width="72"> </td>
<td width="72">待定</td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0015</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0016</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0017</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0018</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">黑名单记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0019</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0020</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0021</td>
<td width="72">业务外包商</td>
<td width="72">市场线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0022</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135">待定</td>
<td width="72"> </td>
<td width="72">待定</td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0023</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0024</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">良好事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0025</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">不良事件</td>
<td width="72">黑名单记录</td>
<td width="68"> </td>
<td width="135">待定</td>
<td width="72"> </td>
<td width="72">待定</td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0026</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0027</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
<tr height="18">
<td height="18"> </td>
<td>JF0028</td>
<td width="72">业务外包商</td>
<td width="72">网运线</td>
<td width="72">不良事件</td>
<td width="72">诚信记录</td>
<td width="68"> </td>
<td width="135"> </td>
<td width="72"> </td>
<td width="72"> </td>
<td> </td>
</tr>
</table>
<script type="text/javascript">
window.onload = function(){
var tab = document.getElementById("tab");
var maxCol = 6, val, count, start;
for(var col = maxCol-1; col >= 0 ; col--){
count = 1;
val = "";
for(var i=0; i<tab.rows.length; i++){
if(val == tab.rows[i].cells[col].innerHTML){
count++;
}else{
if(count > 1){ //合并
start = i - count;
tab.rows[start].cells[col].rowSpan = count;
for(var j=start+1; j<i; j++){
tab.rows[j].cells[col].style.display = "none";
}
count = 1;
}
val = tab.rows[i].cells[col].innerHTML;
}
}
if(count > 1 ){ //合并,最后几行相同的情况下
start = i - count;
tab.rows[start].cells[col].rowSpan = count;
for(var j=start+1; j<i; j++){
tab.rows[j].cells[col].style.display = "none";
}
}
}
};
</script>
</body>
</html>
时间: 2024-10-07 09:35:13