|
|
@@ -19,6 +19,8 @@ function loadUserData(nodedata) {
|
|
|
}
|
|
|
role_selectinput.closeDropDownMenu();
|
|
|
|
|
|
+ $(".ComboTreeItemChlid").find("input").prop('checked', false);
|
|
|
+
|
|
|
if (edittype == "edit") {
|
|
|
usertemp = nodedata;
|
|
|
pnode = [{ "id": usertemp.organid }]
|
|
|
@@ -116,9 +118,13 @@ function initUserInfo() {
|
|
|
ii["id"] = usertemp.roles[j].id;
|
|
|
ii["title"] = usertemp.roles[j].des;
|
|
|
attr.push(ii);
|
|
|
+
|
|
|
+ $("span[data-id='"+usertemp.roles[j].id+"']").find("input").prop('checked', true)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
role_selectinput._selectedItems = attr;
|
|
|
role_selectinput.refreshInputVal();
|
|
|
|