添加机构,重写机构和用户关系

This commit is contained in:
qiankunpingtai
2019-03-12 16:12:18 +08:00
parent ac9b292a5a
commit ab1b77e125
18 changed files with 1025 additions and 105 deletions

View File

@@ -36,6 +36,7 @@
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectOrganization">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<input name="orgParentNo" id="orgParentNo" type="hidden"/>
<input name="selectType" id="selectType" type="hidden"/>
</td>
</tr>
<tr>
@@ -169,6 +170,8 @@
$("#orgStopTime").val("");
$("#remark").val("");
$("#id").val("");
//机构父级选择
$("#selectType").val("orgParent");
url = '/organization/addOrganization';
}
function editOrganization(node) {
@@ -202,6 +205,8 @@
$("#orgStopTime").val(res.data.orgStopTime);
$("#remark").val(res.data.remark);
$("#id").val(res.data.id);
//机构父级选择
$("#selectType").val("orgParent");
url = '/organization/editOrganization';
}
},