oaLinkmanGet.jsp 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <%--
  2. time:2015-07-14 09:13:58
  3. --%>
  4. <%@page language="java" pageEncoding="UTF-8"%>
  5. <%@include file="/commons/include/html_doctype.html"%>
  6. <html>
  7. <head>
  8. <title>联系人明细</title>
  9. <%@include file="/commons/include/get.jsp"%>
  10. <script type="text/javascript">
  11. //放置脚本
  12. </script>
  13. </head>
  14. <body>
  15. <div class="panel">
  16. <div class="panel-top">
  17. <div class="tbar-title">
  18. <span class="tbar-label">联系人详细信息</span>
  19. </div>
  20. <div class="panel-toolbar">
  21. <div class="toolBar">
  22. <div class="group">
  23. <a class="link back" href="list.ht"><span></span>返回</a>
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  29. <tr>
  30. <th width="18%">姓名:</th>
  31. <td >${oaLinkman.name}</td>
  32. <th>性别: <span class="required red">*</span></th>
  33. <td >
  34. <select name="sex" class="select" style="width:265px !important">
  35. <option value="男" <c:if test="${oaLinkman.sex=='男'}">selected</c:if> >男</option>
  36. <option value="女" <c:if test="${oaLinkman.sex=='女'}">selected</c:if> >女</option>
  37. </select>
  38. </td>
  39. </tr>
  40. <tr>
  41. <th>办公电话: </th>
  42. <td ><input type="text" id="officephone" name="officephone" value="${oaLinkman.officephone}" validate="{officephone:true}" style="width:240px !important" class="inputText"/></td>
  43. <th>移动电话:</th>
  44. <td >
  45. <input type="text" id="phone" name="phone" value="${oaLinkman.phone}" validate="{phone:true}" style="width:240px !important" class="inputText"/>
  46. <c:if test="${oaLinkman.phone_1 == null}">
  47. <a class="link add" href="#" onclick="produceInputElement()"><span></span>增加</a>
  48. </c:if>
  49. <c:if test="${oaLinkman.phone_1 != null}">
  50. <tr>
  51. <th></th>
  52. <td >
  53. <input type="text" id="phone_1" name="phone_1" value="${oaLinkman.phone_1}" validate="{phone:true}" style="width:240px !important" class="inputText"/>
  54. </td>
  55. </tr>
  56. </c:if>
  57. <!-- 隐藏标签,用来保存新生成的input 文件上传控件的 id 值的后缀 初始值为1 -->
  58. <input type="hidden" id="hidden_input" value="1">
  59. <div id="container">
  60. <tbody id="file_input_1">
  61. </tbody>
  62. </div>
  63. </td>
  64. <th>邮箱地址: </th>
  65. <td ><input type="text" id="email" name="email" value="${oaLinkman.email}" validate="{email:true}" style="width:240px !important" class="inputText"/></td>
  66. <th>部门: </th>
  67. <td ><input type="text" id="company" name="company" value="${oaLinkman.company}" style="width:240px !important" class="inputText"/></td>
  68. </tr>
  69. <tr>
  70. <th>工作: </th>
  71. <td ><input type="text" id="job" name="job" value="${oaLinkman.job}" style="width:240px !important" class="inputText"/></td>
  72. <th>地址: </th>
  73. <td ><input type="text" id="address" name="address" value="${oaLinkman.address}" style="width:240px !important" class="inputText"/></td>
  74. </tr>
  75. <tr>
  76. <th>创建时间: </th>
  77. <td>
  78. <input type="text" id="createtime" style="width:240px !important" name="createtime" value="<fmt:formatDate value='${oaLinkman.createtime}' pattern='yyyy-MM-dd'/>" class="inputText date" validate="{date:true}" />
  79. </td>
  80. <th>当前状态: </th>
  81. <td>
  82. <select name="status" class="select" style="width:265px !important" >
  83. <option value="1" <c:if test="${oaLinkman.status==1}">selected</c:if> >启用</option>
  84. <option value="0" <c:if test="${oaLinkman.status==0}">selected</c:if> >禁用</option>
  85. </select>
  86. </td>
  87. </tr>
  88. </table>
  89. </div>
  90. </div>
  91. </body>
  92. </html>