Commit 1fe908d6 by lishuzhen

人案筛查页面,案件信息页面,简要案情字段展示方式修改

parent c37de23a
......@@ -464,3 +464,19 @@ a {
.sumcount font{
color:#359FF1;
}
.none {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.ajxq_s,.ajxq_n{
line-height:26px;
/*overflow:hidden;
text-overflow:ellipsis;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;*/
}
\ No newline at end of file
......@@ -258,7 +258,10 @@ var navCategory = {
s += "{field:'" + $(this).attr('rel') + "',title:'" + $(this).attr('name') + "',width:180,sortable:true,formatter:navCategory.ajychy_xyr},";
}else if((searchType=='xyr' || searchType=='rybh') && $(this).attr('rel')=='cyzj_zjhm'){
s += "{field:'" + $(this).attr('rel') + "',title:'" + $(this).attr('name') + "',width:160,sortable:true,formatter:navCategory.ryychy},";
}else{
}else if(searchType=='aj' && $(this).attr('rel')=='jyaq'){
s += "{field:'" + $(this).attr('rel') + "',title:'" + $(this).attr('name') + "',width:180,sortable:true,formatter:navCategory.jyaqDetail},";
}
else{
if (index == selected_ul.length - 1) {
s += "{field:'" + $(this).attr('rel') + "',title:'" + $(this).attr('name') + "',width:160,sortable:true}";
} else {
......@@ -399,6 +402,9 @@ var navCategory = {
ryychy:function(val,row){
return val+"<img src='static/images/asjxx_ychy.png' width=20 height=20 title='用采合一' onclick=\"layerxz_tipsRy(this,'"+row.id+"','','','"+row.cyzj_zjhm+"','1')\" />";
},
jyaqDetail:function(val,row){
return "<div class='ajxq_s'><span class = 'none'>"+row.jyaq+"</span><a href='javascript:void(0);' onclick = 'javascript:$(this).parent().hide();$(this).parent().next().show();' style='display: inline-block;width: 100%;text-align: right;color: #3692c6;font-weight:600;' id='open'>展开</a></div><div class='ajxq_n' style='display:none;'>"+row.jyaq+"<a href='javascript:void(0);' onclick = '$(this).parent().hide();$(this).parent().prev().show();' style='float:right;color: #3692c6;font-weight:600;' id='stop'>收起</a></div>";
},
myListLoadError: function(mess){
utils.hideLoadMask();
if(mess){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment