修复新增人员选择部门报错问题

This commit is contained in:
bo.yang 2021-07-15 18:07:09 +08:00
parent cb68414e83
commit b1fcce806a
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ ruoyi:
# 版权年份 # 版权年份
copyrightYear: 2021 copyrightYear: 2021
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: false
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath # 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: C:/bps-it/uploadPath profile: C:/bps-it/uploadPath
# 获取ip地址开关 # 获取ip地址开关

View File

@ -238,7 +238,7 @@
/* 用户管理-新增-选择部门树 */ /* 用户管理-新增-选择部门树 */
function selectDeptTree() { function selectDeptTree() {
var treeId = $("#treeId").val(); var treeId = $("#treeId").val();
var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val(); var deptId = $.common.isEmpty(treeId) ? "999999" : $("#treeId").val();
var url = ctx + "system/dept/selectDeptTree/" + deptId; var url = ctx + "system/dept/selectDeptTree/" + deptId;
var options = { var options = {
title: '选择部门', title: '选择部门',