|
@@ -295,9 +295,11 @@
|
|
|
|
|
|
/**选择部门树**/
|
|
|
function selectDeptTree() {
|
|
|
+ let shareType = $("input[name='shareType']:checked").val();
|
|
|
var treeId = $("#treeId").val();
|
|
|
var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
|
|
|
- var url = ctx + "system/dept/selectDeptTree/" + deptId;
|
|
|
+ // var url = ctx + "system/dept/selectDeptTree/" + deptId;
|
|
|
+ var url = ctx + "system/dept/selectDeptDataTreeByShareType/" + deptId + "/" + shareType;
|
|
|
var options = {
|
|
|
title: '选择部门',
|
|
|
width: "380",
|