2017年12月月 发布的文章

superset能否连接ElasticSearch

找到一个组件,还没来得及看呢
https://pypi.python.org/pypi/sqlalchemy-elasticquery/

修改bootstrap table 单元格背景色

         cellStyle:function(value,row,index){
                       var allTableData = $('#table').bootstrapTable('getData');
               		 var tmp = allTableData[index];
               		 //console.log(tmp[3]);
                        console.log(tmp[6]+","+tmp[3]);
                       // console.log(value+","+row+","+index);
                        if (value==1){
                   		 return {css:{"background-color":"red"}}
                        }else{
                            return {css:{"background-color":"green"}}
                        }
               	}