先建立查询表单
在源码加入:
<script>
jQuery(document).ready(function(){
setTimeout(function(){
jQuery("div.changeColor").each(function(){
jQuery(this).parents("tr").css("backgroundColor","red");
});
},300);
});
</script>
然后视图列:
var state= getItemValueAsString("BIDSTATE");
if(state=="中标"){
state += "<div class='changeColor' style='display:none;'></div>";
}
state; |