| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>语音留言</title>
- <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>
- <link href="../css/Table/table1.css" rel="stylesheet" />
- <script src="../css/laydate/laydate.js"></script>
- <style>
- .LY:hover {
- color: #fff;
- }
-
- .LY:active {
- color: #fff!important;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="daoHang clearfix">
- <div class="dhLeft">
- <sapn><i class="syIcon"></i>位置:
- <a href="javaScript:;" id="ReIndex">首页</a>>
- <a href="javaScript:;">话务管理</a>>
- <a href="" style="color: #000;">语音留言</a>
- </sapn>
- </div>
- </div>
- <div class="th-box">
- <div class="th-bar">
- <div class="seach-box fr">
- <ul>
- <li>任务列表:
- <select name="" id="cljg" class="x-color select">
- </select>
- </li>
- <li>问题列表:
- <select name="" id="Wt" class="x-color select">
- </select>
- </li>
- <li>留言时间:<input class="photo x-color laydate-icon" type="text" id="lysj" /></li>
- <li>处理时间:<input class="laydate-icon photo x-color " type="text" id="clsj" /></li>
- <li>
- <a class="sc_btn seach">搜索</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div style="width: 100%;padding: 10px;">
- <table id="list" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="state" data-checkbox="true"></th>
- <th data-field="F_CallId" data-formatter="Code" data-align="center">编号</th>
- <th data-field="F_Phone" data-align="center">来电号码</th>
- <th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
- <th data-field="F_LeaveTime" data-align="center">留言时间</th>
- <th data-field="F_UserName" data-align="center">处理人</th>
- <th data-field="F_DealContent" data-align="center">处理结果</th>
- <th data-field="F_Status" data-align="center" data-formatter="clzt">处理状态</th>
- <th data-field="F_DealTime" data-align="center">处理时间</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
- >
- <script>
- $(document).ready(function() {
- Task();
- Questionnaire();
- $(".sc_btn").click(function(){
- GetColumnList ();
- })
- ///查询条件中获取任务列表
- function Task() {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "Questionnaire/GetTaskList",
- dataType: 'json',
- data: {
- token: $.cookie("token")
- },
- async: true,
- success: function(data) {
- var Count = data.data;
- $("<option value=''>--全部--</option>").appendTo($("#cljg"));
- for(var i = 0; i < Count.length; i++) {
- console.log(Count[i].F_UserName);
- $("<option value='" + Count[i].F_TaskName + "'>" + Count[i].F_TaskName + "</option>").appendTo($("#cljg"));
- }
- console.log(Count)
- }
- });
- }
- ///查询条件问题任务列表
- function Questionnaire() {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "Questionnaire/GetQList",
- dataType: 'json',
- data: {
- token: $.cookie("token")
- },
- async: true,
- success: function(data) {
- var Count = data.data;
- $("<option value=''>--全部--</option>").appendTo($("#Wt"));
- for(var i = 0; i < Count.length; i++) {
- console.log(Count[i].F_UserName);
- $("<option value='" + Count[i].F_Title + "'>" + Count[i].F_Title + "</option>").appendTo($("#Wt"));
- }
- console.log(Count)
- }
- });
- }
- //任务查询获取表头
- function GetColumnList () {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "Questionnaire/GetColumnList",
- dataType: 'json',
- data: {
- taskname:$("#cljg").val(),
- question:$("#Wt").val(),
- token: $.cookie("token")
- },
- async: true,
- success: function(data) {
- var Count = data.data;
-
- console.log(Count)
- }
- });
- }
- })
- //音频
- </script>
- </body>
- </html>
|