main
黄海 3 years ago
commit 3f8139589e

@ -135,7 +135,7 @@
var btn = $("#addBtn_" + treeNode.tId);
if (btn)
btn.bind("click", function () {
WeAdminShow('添加', '../dep/add.html?org_id=' + treeNode.org_id, 550, 285);
WeAdminShow('添加', '../dep/add.html?org_id=' + treeNode.org_id+'&parent_id='+treeNode.parent_id+'&org_type='+treeNode.department_type_id, 550, 285);
});
}

@ -84,7 +84,11 @@
-- 组织机构部门树
#sql("getOrgTreeByBureauId")
<<<<<<< HEAD
select org_id,org_name,(case when bureau_id=org_id then '-1' else parent_id end) as parent_id,bureau_id,school_type_id,department_type_id from t_base_organization where bureau_id=?
=======
select org_id,org_name,(case when bureau_id=org_id then '-1' else parent_id end) as parent_id,bureau_id,department_type_id from t_base_organization where bureau_id=?
>>>>>>> 32b4533146dc66248f1e7fdf81fe41bff017b94c
and b_use=1 order by sort_id,update_ts
#end

Loading…
Cancel
Save