edit.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <meta charset="utf-8">
  4. <head th:include="include :: header"></head>
  5. <body class="white-bg">
  6. <div class="wrapper wrapper-content animated fadeInRight ibox-content">
  7. <form class="form-horizontal m" id="form-post-edit">
  8. <input id="postId" name="postId" type="hidden" th:value="${post.postId}"/>
  9. <div class="form-group">
  10. <label class="col-sm-3 control-label ">岗位编码:</label>
  11. <div class="col-sm-8">
  12. <input class="form-control" type="text" name="postCode" id="postCode" th:value="${post.postCode}"/>
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="col-sm-3 control-label">岗位名称:</label>
  17. <div class="col-sm-8">
  18. <input class="form-control" type="text" name="postName" id="postName" th:value="${post.postName}">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="col-sm-3 control-label">显示顺序:</label>
  23. <div class="col-sm-8">
  24. <input class="form-control" type="text" name="postSort" id="postSort" th:value="${post.postSort}">
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label class="col-sm-3 control-label">岗位状态:</label>
  29. <div class="col-sm-8" th:with="type=${@dictService.selectDictData('sys_normal_disable')}">
  30. <div th:each="dict : ${type}" th:class="${dict['cssClass']}">
  31. <input type="radio" th:id="${dict['dictCode']}" name="status" th:value="${dict['dictValue']}" th:field="*{post.status}">
  32. <label th:for="${dict['dictCode']}" th:text="${dict['dictLabel']}"></label>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="col-sm-3 control-label">备注:</label>
  38. <div class="col-sm-8">
  39. <input id="remark" name="remark" class="form-control" type="text" th:value="${post.remark}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <div class="form-control-static col-sm-offset-9">
  44. <button type="submit" class="btn btn-primary">提交</button>
  45. <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. <div th:include="include::footer"></div>
  51. <script th:src="@{/ruoyi/system/post/edit.js}"></script>
  52. </body>
  53. </html>