This commit is contained in:
2025-03-31 17:36:49 +08:00
parent 490630d4c9
commit d7183fcc00
805 changed files with 1055 additions and 304753 deletions

View File

@@ -208,7 +208,7 @@
function getDepartmentTree() {
$.ajax({
url: "/system/department/tree?type=xmselect",
url: "/system/department/data?type=xmselect_tree",
type: 'post',
dataType: 'json',
headers: { 'X-CSRF-Token': $('#csrf_token').val() },
@@ -221,7 +221,7 @@
},
radio: true,
clickClose: true,
tips: '请选择父级',
tips: '请选择部门',
filterable: true,
data: res,
name: 'DepartmentID',
@@ -245,7 +245,7 @@
function getRoleTree() {
$.ajax({
url: "/system/role/tree?type=xmselect",
url: "/system/role/data?type=xmselect_tree",
type: 'post',
dataType: 'json',
headers: { 'X-CSRF-Token': $('#csrf_token').val() },
@@ -258,7 +258,7 @@
},
radio: true,
clickClose: true,
tips: '请选择父级',
tips: '请选择角色',
filterable: true,
data: res,
name: 'RoleID',