{
            field : 'state',
            title : '事件状态',
            align: 'center',
            width : 120,
            formatter : function(value, row, index){
                value = eventStateMapJson[value];
                return value;
            }
        },{
            field : 'descript',
            title : '事件描述',
            align: 'center',
            width : 230,
            formatter : function(value, row, index){
                if(value.length  > 20){
                    return  value.substring(0, 20)+"...";
                }else {
                    return value;
                }
            }
        },{
            field : 'address',
            title : '地址描述',
            align: 'center',
            width : 250,
            formatter : function(value, row, index){
                if(value.length  > 20){
                    return  value.substring(0, 20)+"...";
                }else {
                    return value;
                }
            }
        }

 

相关文章:

  • 2021-08-15
  • 2021-07-10
  • 2021-07-04
  • 2021-06-14
猜你喜欢
  • 2021-11-13
  • 2021-07-15
  • 2021-12-02
  • 2021-12-21
  • 2022-03-01
  • 2021-12-12
相关资源
相似解决方案