添加机构,重写机构和用户关系
This commit is contained in:
@@ -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';
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user