SGjgztHealthplaninfoAdd.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('健康报告列表新增')" />
  5. <th:block th:include="include :: ztree-css" />
  6. </head>
  7. <body class="white-bg">
  8. <div class="wrapper wrapper-content animated fadeInRight ibox-content">
  9. <form id="form-role-add" class="customize-search-form">
  10. <div class="customize-form-group-container">
  11. <div class="customize-form-group">
  12. <label>健康方案ID:</label>
  13. <input name="healthPlanId" placeholder="健康方案ID" id="healthPlanId" class="styled-input" type="text">
  14. </div>
  15. <div class="customize-form-group">
  16. <label>健康方案名称:</label>
  17. <input name="healthPlanName" placeholder="健康方案名称" id="healthPlanName" class="styled-input" type="text" maxlength="255" >
  18. </div>
  19. <div class="customize-form-group">
  20. <label>连锁用户ID:</label>
  21. <input name="chainUserId" id="chainUserId" class="styled-input" type="text" maxlength="255" >
  22. </div>
  23. <div class="customize-form-group">
  24. <label>用户姓名:</label>
  25. <input name="userName" id="userName" class="styled-input" type="text" maxlength="255" >
  26. </div>
  27. <div class="customize-form-group">
  28. <label>填写人:</label>
  29. <input name="filler" id="filler" class="styled-input" type="text" maxlength="255" >
  30. </div>
  31. <div class="customize-form-group">
  32. <label>填写人手机号:</label>
  33. <input name="fillerPhoneNumber" id="fillerPhoneNumber" class="styled-input" type="text" maxlength="255" >
  34. </div>
  35. <div class="customize-form-group">
  36. <label>填写来源:</label>
  37. <input name="fillSource" id="fillSource" class="styled-input" type="text" maxlength="255" >
  38. </div>
  39. <div class="customize-form-group">
  40. <label>连锁名称:</label>
  41. <input name="chainName" id="chainName" class="styled-input" type="text" maxlength="255" >
  42. </div>
  43. <div class="customize-form-group">
  44. <label>报告生成时间:</label>
  45. <input name="reportGenerationTime" id="reportGenerationTime" class="styled-input" type="text" maxlength="255" >
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. <th:block th:include="include :: footer" />
  51. <th:block th:include="include :: ztree-js" />
  52. <script type="text/javascript">
  53. function submitHandler() {
  54. if ($.validate.form()) {
  55. add();
  56. }
  57. }
  58. function add() {
  59. var data = $("#form-role-add").serializeArray();
  60. $.ajax({
  61. cache : true,
  62. type : "POST",
  63. url : ctx + "gjgzt/sgjgzthealthplaninfo/sGjgztHealthplaninfoAdd",
  64. data : data,
  65. async : false,
  66. error : function(request) {
  67. $.modal.alertError("系统错误");
  68. },
  69. success : function(data) {
  70. $.operate.successCallback(data);
  71. }
  72. });
  73. }
  74. </script>
  75. </body>
  76. </html>