userInfoAdjointUpdate.ftl 5.6 KB

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