Commit f62d8ac7 authored by xinyuandu's avatar xinyuandu

com

parent c903c19c
......@@ -52,6 +52,29 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
}
});
$(document).on('click','.table-choose', function(e){
// $('.table-choose').click(function(){
console.log(e)
if ($(this).hasClass("active")){
console.log("true");
//nothing to change
} else {
console.log("false")
$(this).parent().parent().find(".active").removeClass("active");
$(this).addClass("active");
if ($(this).attr(id) == "table-title") {
$('#group').hide();
$('#person').show();
} else {
$('#person').hide();
$('#group').show();
}
}
});
},
addDark : function(){
......@@ -241,7 +264,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
//
// }
// tag += ' <image src="/resource/image/first.png" style="width:0.24rem;height:0.171rem"></image>';
tag += ' <span>'+data[i].store_name+'</span>';
tag += ' <span>'+data[i].name+'</span>';
tag += ' </div>';
tag += '</div>';
}
......
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