deptOrg.zml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ${request.getValidateScript()}
  2. <script>
  3. function doAssignOrg()
  4. {//指定组织
  5. var orgId = Z("#orgId").val();
  6. debugger;
  7. var parentInput = parent.document.getElementById('deptOrg');
  8. if (parentInput) {
  9. if(parentInput.value != ''){
  10. parentInput.value = parentInput.value+','+orgId;
  11. }else{
  12. parentInput.value = orgId;
  13. }
  14. }
  15. }
  16. </script>
  17. <input id="designer" name="designer" value="${oper.getOperatorCode()}" type="hidden">
  18. <table class="z-table z-bordered z-pd6">
  19. <tr class="z-h40" bgcolor="${oddColor}">
  20. <td>选择组织:</td>
  21. <td>
  22. <select id="orgId" name="orgId" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}" data-options="maxHeight:100">
  23. <#for item : orgList>
  24. <option value="${item.getOrgName()}">${item.getOrgName()}</option>
  25. </#for>
  26. </select>
  27. <font color=red>&nbsp;*</font></td>
  28. </tr>
  29. </table>
  30. <#-- 操作 -->
  31. <div class="" style="bottom:0;left:0">
  32. <button id="doAssignOrg" class="z-button z-large z-w120 ${zmr_color_class}" type="button" onclick="doAssignOrg();">提交</button>&nbsp;
  33. <button type="button" class="z-button z-large z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
  34. </div>