摘要: 复杂动态判断: ((data[i].warnstatus=="warn"&&data[i].description =="warnSend")?"【手动隔离】":(data[i].warnstatus=="recovery"&&data[i].description =="recoverySend" 阅读全文
posted @ 2017-02-24 18:13 教父123 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 自定义数据 ajax: { "url":'/api/birds/rds/showClusterBad', "traditional": true, "data":{ }, "dataSrc": function (myData) { $("#groScreen").removeClass("disa 阅读全文
posted @ 2017-02-24 18:03 教父123 阅读(220) 评论(0) 推荐(0) 编辑
摘要: var diffTime = 60*5; //固定时间10分钟 setInterval(function(){ //倒计时 diffTime = diffTime--; var str = getSpanTime(diffTime--); if(diffTime == 0){ diffTime = 阅读全文
posted @ 2017-02-24 15:14 教父123 阅读(806) 评论(0) 推荐(0) 编辑
摘要: $('#listNews').delegate('.geli','click',function(e){//点击手动隔离时 刷新此列表 var count=parseInt(window.sessionStorage.getItem('count')); if(count){ return ; } 阅读全文
posted @ 2017-02-24 14:52 教父123 阅读(170) 评论(0) 推荐(0) 编辑