组织机构使用ztree插件,加载数据时使用数据权限过滤(只能访问登录用户的单位及其下属单位), 点击部门加载相应用户. <!-- 数据范围过滤 --> BaseService.dataScopeFilter(user, "a", ""), ${sqlMap.dsf} 比如使用jn_jsb登录,生成的sqlMap.dsf 是 AND (a.id = '7' OR a.parent_ids LIKE '0,1,7,%' OR a.id I
var check = [];//定义一个空数组 $("input[name='category']:checked").each(function(i){//把所有被选中的复选框的值存入数组 check[i] =$(this).val(); }); $.ajax({ type : "post", url : "${ctx}/ask/ask/check", data : {"check":check}, traditional
I want to share this great post from Anoop that shows a easy way to add a notification system to dependency properties of a given element. It creates and attaches a new property to the existing property and let's you specify the PropertyChangedCallba