userInfoAdjointAdd.ftl 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <!DOCTYPE HTML>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <#include "../layout/header.ftl"/>
  5. <#include "../layout/common.cssjs.ftl"/>
  6. <script type="text/javascript">
  7. <!--
  8. $(function(){
  9. $("#departmentId").val($.cookie("select_org_id"));
  10. $("#department").val($.cookie("select_org_name"));
  11. $("#picture").on("click",function(){
  12. $("#pictureFile").click();
  13. });
  14. });
  15. //-->
  16. </script>
  17. <style type="text/css">
  18. .table th, .table td {
  19. padding: .2rem;
  20. vertical-align: middle;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <form id="actionForm"
  26. method="post"
  27. type="alert"
  28. action="<@base/>/useradjoint/add"
  29. forward="<@base/>/useradjoint/list/${userId}"
  30. class="needs-validation" novalidate>
  31. <div class="" style="width:100%;">
  32. <div class="main">
  33. <div class="mainin">
  34. <!-- content -->
  35. <table class="table table-bordered" id="table_switch_company" width="980">
  36. <tbody>
  37. <tr>
  38. <td style="width:15%;"><@locale code="userinfo.organization" />:</td>
  39. <td style="width:35%;">
  40. <input class="form-control" type="text" id="organization" name="organization" title="" value=""/>
  41. </td>
  42. <td style="width:15%;"><@locale code="userinfo.division" />:</td>
  43. <td style="width:35%;">
  44. <input class="form-control" type="text" id="division" name="division" title="" value=""/>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td><@locale code="userinfo.department" />:</td>
  49. <td>
  50. <input class="form-control" type="hidden" id="departmentId" name="departmentId" title="" value=""/>
  51. <input class="form-control" type="text" style="width:70%" id="department" name="department" title="" value=""/>
  52. <s:Dialog text="button.text.select" title="department" url="/orgs/orgsSelect/deptId/department" width="300" height="400" />
  53. </td>
  54. <td><@locale code="userinfo.costCenter" />:</td>
  55. <td>
  56. <input class="form-control" type="text" id="costCenter" name="costCenter" title="" value=""/>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td><@locale code="userinfo.jobTitle" />:</td>
  61. <td>
  62. <input class="form-control" type="text" id="jobTitle" name="jobTitle" title="" value=""/>
  63. </td>
  64. <td><@locale code="userinfo.jobLevel" />:</td>
  65. <td>
  66. <input class="form-control" type="text" id="jobLevel" name="jobLevel" title="" value=""/>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td><@locale code="userinfo.manager" />:</td>
  71. <td>
  72. <input class="form-control" type="hidden" id="managerId" name="managerId" title="" value=""/>
  73. <input class="form-control" type="text" id="manager" name="manager" title="" value=""/>
  74. </td>
  75. <td><@locale code="userinfo.assistant" />:</td>
  76. <td>
  77. <input class="form-control" type="hidden" id="assistantId" name="assistantId" title="" value=""/>
  78. <input class="form-control" type="text" id="assistant" name="assistant" title="" value=""/>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td><@locale code="userinfo.entryDate" />:</td>
  83. <td>
  84. <input class="form-control" type="text" id="entryDate" name="entryDate" title="" value=""/>
  85. </td>
  86. <td><@locale code="userinfo.quitDate" />:</td>
  87. <td>
  88. <input class="form-control" type="text" id="quitDate" name="quitDate" title="" value=""/>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td colspan="4">&nbsp;
  93. </td>
  94. </tr>
  95. <tr>
  96. <td><@locale code="userinfo.workCountry" />:</td>
  97. <td nowrap >
  98. <input class="form-control" type="text" id="workCountry" name="workCountry" title="" value=""/>
  99. </td>
  100. <td><@locale code="userinfo.workRegion" />:</td>
  101. <td>
  102. <input class="form-control" type="text" id="workRegion" name="workRegion" title="" value=""/>
  103. </td>
  104. </tr>
  105. <tr>
  106. <td><@locale code="userinfo.workLocality" />:</td>
  107. <td>
  108. <input class="form-control" type="text" id="workLocality" name="workLocality" title="" value=""/>
  109. </td>
  110. <td><@locale code="userinfo.workStreetAddress" />:</td>
  111. <td>
  112. <input class="form-control" type="text" id="workStreetAddress" name="workStreetAddress" title="" value=""/>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td><@locale code="userinfo.workPostalCode" />:</td>
  117. <td>
  118. <input class="form-control" type="text" id="workPostalCode" name="workPostalCode" title="" value=""/>
  119. </td>
  120. <td><@locale code="userinfo.workFax" />:</td>
  121. <td>
  122. <input class="form-control" type="text" id="workFax" name="workFax" title="" value=""/>
  123. </td>
  124. </tr>
  125. <tr>
  126. <td><@locale code="userinfo.workPhoneNumber" />:</td>
  127. <td>
  128. <input class="form-control" type="text" id="workPhoneNumber" name="workPhoneNumber" title="" value=""/>
  129. </td>
  130. <td><@locale code="userinfo.workEmail" />:</td>
  131. <td>
  132. <input class="form-control" type="text" id="workEmail" name="workEmail" title="" value=""/>
  133. </td>
  134. </tr>
  135. <tr>
  136. <td colspan="4">&nbsp;
  137. </td>
  138. </tr>
  139. </tbody>
  140. </table>
  141. <div class="clear"></div>
  142. </div>
  143. </div>
  144. <div >
  145. <div >
  146. <input class="form-control" type="hidden" id="userId" name="userId" title="" value="${userId}"/>
  147. <input id="_method" type="hidden" name="_method" value="post"/>
  148. <input id="submitBtn" class="button btn btn-primary mr-3" type="submit" value="<@locale code="button.text.save" />"/>
  149. </div>
  150. </div>
  151. </div>
  152. </form>
  153. </body>
  154. </html>