修复部门管理新增、编辑点击上级部门确定后再次点击时404错误

pull/22/head
wangchl 2018-08-08 18:46:25 +08:00
parent 54c1079cf4
commit 79a4f8b30b
2 changed files with 4 additions and 2 deletions

View File

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

View File

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