mirror of https://gitee.com/y_project/RuoYi.git
修复部门管理新增、编辑点击上级部门确定后再次点击时404错误
parent
54c1079cf4
commit
79a4f8b30b
|
@ -100,7 +100,8 @@
|
||||||
|
|
||||||
/*部门管理-新增-选择父部门树*/
|
/*部门管理-新增-选择父部门树*/
|
||||||
function selectDeptTree() {
|
function selectDeptTree() {
|
||||||
var deptId = $("#treeId").val();
|
var treeId = $("#treeId").val();
|
||||||
|
var deptId = treeId == null || treeId == "" ? "100" : treeId;
|
||||||
var url = prefix + "/selectDeptTree/" + deptId;
|
var url = prefix + "/selectDeptTree/" + deptId;
|
||||||
$.modal.open("选择部门", url, '380', '380');
|
$.modal.open("选择部门", url, '380', '380');
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,8 @@
|
||||||
|
|
||||||
/*部门管理-修改-选择部门树*/
|
/*部门管理-修改-选择部门树*/
|
||||||
function selectDeptTree() {
|
function selectDeptTree() {
|
||||||
var deptId = $("#treeId").val();
|
var treeId = $("#treeId").val();
|
||||||
|
var deptId = treeId == null || treeId == "" ? "100" : treeId;
|
||||||
var url = prefix + "/selectDeptTree/" + deptId;
|
var url = prefix + "/selectDeptTree/" + deptId;
|
||||||
$.modal.open("选择部门", url, '380', '380');
|
$.modal.open("选择部门", url, '380', '380');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue