部门选择设置默认值

This commit is contained in:
RuoYi
2018-08-08 20:29:05 +08:00
parent 79a4f8b30b
commit c42f2d9f3a
4 changed files with 5 additions and 7 deletions

View File

@ -103,8 +103,7 @@
/*部门管理-修改-选择部门树*/
function selectDeptTree() {
var treeId = $("#treeId").val();
var deptId = treeId == null || treeId == "" ? "100" : treeId;
var deptId = $("#treeId").val();
var url = prefix + "/selectDeptTree/" + deptId;
$.modal.open("选择部门", url, '380', '380');
}