ファイル
2025-02-20 14:59:35 +08:00

39 行
1.2 KiB
Plaintext

${request.getValidateScript()}
<script>
function doAssignOrg()
{//指定组织
var orgId = Z("#orgId").val();
debugger;
var parentInput = parent.document.getElementById('deptOrg');
if (parentInput) {
if(parentInput.value != ''){
parentInput.value = parentInput.value+','+orgId;
}else{
parentInput.value = orgId;
}
}
}
</script>
<input id="designer" name="designer" value="${oper.getOperatorCode()}" type="hidden">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40" bgcolor="${oddColor}">
<td>选择组织:</td>
<td>
<select id="orgId" name="orgId" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}" data-options="maxHeight:100">
<#for item : orgList>
<option value="${item.getOrgName()}">${item.getOrgName()}</option>
</#for>
</select>
<font color=red>&nbsp;*</font></td>
</tr>
</table>
<#-- 操作 -->
<div class="" style="bottom:0;left:0">
<button id="doAssignOrg" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="doAssignOrg();">提交</button>&nbsp;
<button type="button" class="z-button z-large z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
</div>