修正分类、性质、标签字典只查询非叶子节点的错误

Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
zhangwei
2018-07-02 16:24:50 +08:00
parent 85da517ed0
commit 9f70b4cd6e
7 changed files with 43 additions and 20 deletions

View File

@@ -49,7 +49,7 @@
}
}
$(document).ready(function(){
$.get("${ctx}${url}${fn:indexOf(url,'?')==-1?'?':'&'}&extId=${extId}&isAll=${isAll}&module=${module}&t="
$.get("${ctx}${url}${fn:indexOf(url,'?')==-1?'?':'&'}&extId=${extId}&selectIds: $('#${id}Id').val()&isAll=${isAll}&module=${module}&t="
+ new Date().getTime(), function(zNodes){
// 初始化树结构
//处理根节点国际化
@@ -85,7 +85,7 @@
for(var i=0; i<ids.length; i++) {
var node = tree.getNodeByParam("id", (type==3?"u_":"")+ids[i]);
//如果节点id与排除id相同不被选中
if(node.id!=${extId}){
if(node.id!="${extId}"){
if("${checked}" == "true"){
try{tree.checkNode(node, true, true);}catch(e){}
tree.selectNode(node, false);