| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link href="../css/init.css" rel="stylesheet" />
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <script src="../Script/Common/huayi.http.js"></script>
- <link href="../css/WorkOrder/Search.css" rel="stylesheet">
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
- <link rel="stylesheet" href="../css/WorkOrder/jquery.editable-select.css" />
- <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
- <link href="../css/init.css" rel="stylesheet" />
- <title>跟进工单</title>
- <style>
- .boxCon {
- width: 100%;
-
- text-align: center;
- padding: 10px 15px;
- height: auto;
- overflow-y: auto;
- }
-
- .boxCon>div {
- padding: 15px 0;
- }
-
- .boxCon table th {
- padding: 5px 8px 5px 0;
- text-align: right;
- width: 32%;
- }
-
- .boxCon table td {
- padding: 6px 0 5px 10px;
- text-align: left;
- color: #717171;
- line-height: 200%;
- }
- .boxCon table td input{
- width: 50%;
- }
- .boxCon table td textarea{
- width: 80%;
- }
- </style>
- </head>
- <body class="gray-bg" style="background: #FFFFFF;">
- <div class="clearfix wrapper wrapper-content animated fadeInRight">
- <div class="boxCon">
- <table>
- <tbody>
- <tr>
- <th>跟进业务:</th>
- <td>
- <div class="form-group">
- <input type="text" class="form-control" id="VoIP" />
- </div>
- </td>
- </tr>
- <tr>
- <th>跟进内容:</th>
- <td colspan="5">
- <textarea name="" rows="5" cols="" placeholder="" id="content"></textarea>
- </td>
- </tr>
- <tr>
- <td colspan="6" style="text-align: center;">
- <button class="btns customerSubmit">保 存</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <script src="../js/zTree/jquery.ztree.core.js"></script>
- <script src="../js/kindeditor/kindeditor.js"></script>
- <script src="../js/kindeditor/lang/zh_CN.js"></script>
- <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
- <script src="../js/comboSelect/jquery.combo.select.js"></script>
- <script src="../js/laydate/laydate.js"></script>
- <script src="../js/WorkOrder/jquery.editable-select.js"></script>
- <script type="text/javascript">
- var id = helper.request.queryString("id");
-
- $('.customerSubmit').click(function() {
- follow();
- });
- function follow() {
- $.ajax({
- type: "post",
- url: huayi.config.callcenter_url + "WorkOrder/FllowWorkOrder",
- dataType: 'json',
- async: true,
- data: {
- token: $.cookie("token"),
- workid: id,
- title: $('#VoIP').val(), //姓名
- content:$('#content').val(), //事件描述
- },
- success: function(data) {
- if(data.state.toLowerCase() == 'success') {
- layer.msg("保存成功!");
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- parent.layer.close(index); //再执行关闭
- parent.$('#workorderlist').bootstrapTable('refresh');
- parent.layer.msg("跟进成功!");
- //clear();
- }
- }
- });
-
- }
- </script>
- </body>
- </html>
|