SDtpYypzVerbalTricktAdd.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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-SDtpYypzVerbalTrickt-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="scriptId" placeholder="话术ID" id="scriptId" class="styled-input" type="text">
  14. </div>
  15. <div class="customize-form-group">
  16. <label>话术主题:</label>
  17. <input name="scriptTheme" placeholder="话术主题" id="scriptTheme" class="styled-input" type="text">
  18. </div>
  19. <div class="customize-form-group">
  20. <label>话术摘要:</label>
  21. <input name="scriptSummary" placeholder="话术摘要" id="scriptSummary" class="styled-input" type="text">
  22. </div>
  23. <div class="customize-form-group">
  24. <label>话术内容:</label>
  25. <input name="scriptContent" placeholder="话术内容" id="scriptContent" class="styled-input" type="text">
  26. </div>
  27. <div class="customize-form-group">
  28. <label>关键词:</label>
  29. <input name="keywords" placeholder="关键词,可以存储多个关键词,用逗号分隔" id="keywords" class="styled-input" type="text">
  30. </div>
  31. <div class="customize-form-group">
  32. <label>权重:</label>
  33. <input name="weight" placeholder="权重" id="weight" class="styled-input" type="text">
  34. </div>
  35. <div class="customize-form-group">
  36. <label>状态:</label>
  37. <input name="status" placeholder="状态:启用,禁用" id="status" class="styled-input" type="text">
  38. </div>
  39. <div class="customize-form-group">
  40. <label>最后操作时间:</label>
  41. <input name="lastOperationTime" placeholder="最后操作时间" id="lastOperationTime" class="styled-input" type="text">
  42. </div>
  43. <div class="customize-form-group">
  44. <label>最后操作人:</label>
  45. <input name="lastOperator" placeholder="最后操作人" id="lastOperator" class="styled-input" type="text">
  46. </div>
  47. <div class="customize-form-group">
  48. <label>话术主题ID:</label>
  49. <input name="themeId" placeholder="话术主题ID" id="themeId" class="styled-input" type="text">
  50. </div>
  51. <div class="customize-form-group">
  52. <label>话术主题:</label>
  53. <input name="theme" placeholder="话术主题" id="theme" class="styled-input" type="text">
  54. </div>
  55. <div class="customize-form-group">
  56. <label>适用药品类型:</label>
  57. <input name="applicableDrugType" placeholder="适用药品类型" id="applicableDrugType" class="styled-input" type="text">
  58. </div>
  59. <div class="customize-form-group">
  60. <label>适用随访类型:</label>
  61. <input name="applicableFollowUpType" placeholder="适用随访类型" id="applicableFollowUpType" class="styled-input" type="text">
  62. </div>
  63. <div class="customize-form-group">
  64. <label>任务主题:</label>
  65. <input name="taskTheme" placeholder="任务主题" id="taskTheme" class="styled-input" type="text">
  66. </div>
  67. <div class="customize-form-group">
  68. <label>最后编辑时间:</label>
  69. <input name="lastEditTime" placeholder="最后编辑时间" id="lastEditTime" class="styled-input" type="text">
  70. </div>
  71. <div class="customize-form-group">
  72. <label>最后编辑人:</label>
  73. <input name="lastEditor" placeholder="最后编辑人" id="lastEditor" class="styled-input" type="text">
  74. </div>
  75. </div>
  76. </form>
  77. </div>
  78. <th:block th:include="include :: footer" />
  79. <th:block th:include="include :: ztree-js" />
  80. <script type="text/javascript">
  81. function submitHandler() {
  82. if ($.validate.form()) {
  83. add();
  84. }
  85. }
  86. function add() {
  87. var data = $("#form-SDtpYypzVerbalTrickt-add").serializeArray();
  88. $.ajax({
  89. cache : true,
  90. type : "POST",
  91. url : ctx + "dtp/sdtpyypzverbaltrickt/sDtpYypzVerbalTricktAdd",
  92. data : data,
  93. async : false,
  94. error : function(request) {
  95. $.modal.alertError("系统错误");
  96. },
  97. success : function(data) {
  98. $.operate.successCallback(data);
  99. }
  100. });
  101. }
  102. </script>
  103. </body>
  104. </html>