processRoleDepartMap-add.jsp 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>审批角色部门关联</title>
  7. <t:base type="jquery,easyui,tools,DatePicker,autocomplete"></t:base>
  8. . <script src="webpage/cn/com/lzt/useractiviti/select_user_tools.js"></script>
  9. <script type="text/javascript">
  10. //编写自定义JS代码
  11. </script>
  12. </head>
  13. <body>
  14. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="processRoleDepartMapController.do?doAdd" >
  15. <input id="id" name="id" type="hidden" value="${processRoleDepartMapPage.id }"/>
  16. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  17. <tr>
  18. <td align="right">
  19. <label class="Validform_label">
  20. 角色名称:
  21. </label>
  22. </td>
  23. <td class="value">
  24. <input id="roleId" name="roleId" type="hidden" style="width: 150px" value="${entity.roleId}"/>
  25. <t:autocomplete entityName="TSRole" searchField="roleName" labelField="roleName" name="roleName"
  26. valueField="id" hiddenInputId="roleId" width="250"
  27. scrollWidth="400" scrollHeight="400" defValue="${entity.roleName}"></t:autocomplete>
  28. <span class="Validform_checktip"></span>
  29. <label class="Validform_label" style="display: none;">角色名称</label>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td align="right">
  34. <label class="Validform_label">
  35. 部门名称:
  36. </label>
  37. </td>
  38. <td class="value">
  39. <input id="departId" name="departId" type="hidden" style="width: 150px" value="${entity.departId}" />
  40. <input id="depName" name="depName" type="text" style="width: 250px" class="inputxt" readonly="readonly"
  41. value="${entity.depName}" onclick="selectAllDepCheckbox()" />
  42. <span class="Validform_checktip"></span>
  43. <label class="Validform_label" style="display: none;">部门名称</label>
  44. </td>
  45. </tr>
  46. </table>
  47. </t:formvalid>
  48. </body>
  49. <script src = "webpage/cn/com/lzt/process/roledepartmap/processRoleDepartMap.js"></script>