SJkglYpwxServiceprojectinfoEdit.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('药品维系服务修改')" />
  5. </head>
  6. <body>
  7. <div class="ui-layout-center">
  8. <form id="form-SJkglYpwxServiceprojectinfo-edit" class="customize-search-form">
  9. <div class="customize-form-group-container">
  10. <input type="hidden" id="id" name="id" th:value="${id}">
  11. <div class="customize-form-group">
  12. <label>创建日期:</label>
  13. <input name="creationDate" placeholder="创建日期" th:value="${creationDate}" class="styled-input" type="text" disabled="true">
  14. </div>
  15. <div class="customize-form-group">
  16. <label>主题:</label>
  17. <input name="theme" placeholder="主题" th:value="${theme}" class="styled-input" type="text">
  18. </div>
  19. <div class="customize-form-group">
  20. <label>包含药品:</label>
  21. <input name="includedMedicines" placeholder="包含药品" th:value="${includedMedicines}" class="styled-input" type="text">
  22. </div>
  23. <div class="customize-form-group">
  24. <label>维系模式:</label>
  25. <input name="maintenanceMode" placeholder="维系模式" th:value="${maintenanceMode}" class="styled-input" type="text">
  26. </div>
  27. <div class="customize-form-group">
  28. <label>服务期数:</label>
  29. <input name="servicePeriods" placeholder="服务期数" th:value="${servicePeriods}" class="styled-input" type="number">
  30. </div>
  31. <div class="customize-form-group">
  32. <label>状态:</label>
  33. <input name="status" placeholder="状态" th:value="${status}" class="styled-input" type="text">
  34. </div>
  35. <div class="customize-form-group">
  36. <label>服务人数:</label>
  37. <input name="servedPeople" placeholder="服务人数" th:value="${servedPeople}" class="styled-input" type="number">
  38. </div>
  39. <div class="customize-form-group">
  40. <label>是否配置短信模板:</label>
  41. <input name="isSmsTemplateConfigured" placeholder="是否配置短信模板" th:value="${isSmsTemplateConfigured}" class="styled-input" type="text">
  42. </div>
  43. <div class="customize-form-group">
  44. <label>数据来源:</label>
  45. <input name="dataSource" placeholder="数据来源" th:value="${dataSource}" class="styled-input" type="text">
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. <div class="main-content">
  51. <div class="col-sm-offset-5 col-sm-10">
  52. </div>
  53. </div>
  54. <th:block th:include="include :: footer" />
  55. </body>
  56. </html>
  57. <script>
  58. function edit() {
  59. var data = $("#form-SJkglYpwxServiceprojectinfo-edit").serializeArray();
  60. $.ajax({
  61. cache : true,
  62. type : "POST",
  63. url : ctx + "jkgl/sjkglypwxserviceprojectinfo/sJkglYpwxServiceprojectinfoEdit",
  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. function submitHandler() {
  75. if ($.validate.form()) {
  76. edit();
  77. }
  78. }
  79. </script>