123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('随访话术管理表新增')" />
- <th:block th:include="include :: ztree-css" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form id="form-SDtpYypzVerbalTrickt-add" class="customize-search-form">
- <div class="customize-form-group-container">
- <div class="customize-form-group">
- <label>话术ID:</label>
- <input name="scriptId" placeholder="话术ID" id="scriptId" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>话术主题:</label>
- <input name="scriptTheme" placeholder="话术主题" id="scriptTheme" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>话术摘要:</label>
- <input name="scriptSummary" placeholder="话术摘要" id="scriptSummary" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>话术内容:</label>
- <input name="scriptContent" placeholder="话术内容" id="scriptContent" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>关键词:</label>
- <input name="keywords" placeholder="关键词,可以存储多个关键词,用逗号分隔" id="keywords" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>权重:</label>
- <input name="weight" placeholder="权重" id="weight" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>状态:</label>
- <input name="status" placeholder="状态:启用,禁用" id="status" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>最后操作时间:</label>
- <input name="lastOperationTime" placeholder="最后操作时间" id="lastOperationTime" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>最后操作人:</label>
- <input name="lastOperator" placeholder="最后操作人" id="lastOperator" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>话术主题ID:</label>
- <input name="themeId" placeholder="话术主题ID" id="themeId" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>话术主题:</label>
- <input name="theme" placeholder="话术主题" id="theme" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>适用药品类型:</label>
- <input name="applicableDrugType" placeholder="适用药品类型" id="applicableDrugType" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>适用随访类型:</label>
- <input name="applicableFollowUpType" placeholder="适用随访类型" id="applicableFollowUpType" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>任务主题:</label>
- <input name="taskTheme" placeholder="任务主题" id="taskTheme" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>最后编辑时间:</label>
- <input name="lastEditTime" placeholder="最后编辑时间" id="lastEditTime" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>最后编辑人:</label>
- <input name="lastEditor" placeholder="最后编辑人" id="lastEditor" class="styled-input" type="text">
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: ztree-js" />
- <script type="text/javascript">
- function submitHandler() {
- if ($.validate.form()) {
- add();
- }
- }
- function add() {
- var data = $("#form-SDtpYypzVerbalTrickt-add").serializeArray();
- $.ajax({
- cache : true,
- type : "POST",
- url : ctx + "dtp/sdtpyypzverbaltrickt/sDtpYypzVerbalTricktAdd",
- data : data,
- async : false,
- error : function(request) {
- $.modal.alertError("系统错误");
- },
- success : function(data) {
- $.operate.successCallback(data);
- }
- });
- }
- </script>
- </body>
- </html>
|