|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+
|
|
|
4
|
+ <head>
|
|
|
5
|
+ <meta charset="UTF-8">
|
|
|
6
|
+ <title>语音留言</title>
|
|
|
7
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
8
|
+ <link href="../css/init.css" rel="stylesheet" />
|
|
|
9
|
+ <script src="../Script/Common/huayi.load.js"></script>
|
|
|
10
|
+ <script src="../Script/Common/huayi.config.js"></script>
|
|
|
11
|
+ <link href="../css/Table/table1.css" rel="stylesheet" />
|
|
|
12
|
+ <script src="../css/laydate/laydate.js"></script>
|
|
|
13
|
+ <style>
|
|
|
14
|
+ .LY:hover {
|
|
|
15
|
+ color: #fff;
|
|
|
16
|
+ }
|
|
|
17
|
+
|
|
|
18
|
+ .LY:active {
|
|
|
19
|
+ color: #fff!important;
|
|
|
20
|
+ }
|
|
|
21
|
+ </style>
|
|
|
22
|
+ </head>
|
|
|
23
|
+
|
|
|
24
|
+ <body class="gray-bg">
|
|
|
25
|
+ <div class="wrapper wrapper-content animated fadeInRight">
|
|
|
26
|
+ <div class="daoHang clearfix">
|
|
|
27
|
+ <div class="dhLeft">
|
|
|
28
|
+ <sapn><i class="syIcon"></i>位置:
|
|
|
29
|
+ <a href="javaScript:;" id="ReIndex">首页</a>>
|
|
|
30
|
+ <a href="javaScript:;">话务管理</a>>
|
|
|
31
|
+ <a href="" style="color: #000;">语音留言</a>
|
|
|
32
|
+ </sapn>
|
|
|
33
|
+ </div>
|
|
|
34
|
+ </div>
|
|
|
35
|
+ <div class="th-box">
|
|
|
36
|
+ <div class="th-bar">
|
|
|
37
|
+ <div class="seach-box fr">
|
|
|
38
|
+ <ul>
|
|
|
39
|
+ <li>任务列表:
|
|
|
40
|
+ <select name="" id="cljg" class="x-color select">
|
|
|
41
|
+
|
|
|
42
|
+ </select>
|
|
|
43
|
+ </li>
|
|
|
44
|
+ <li>问题列表:
|
|
|
45
|
+ <select name="" id="Wt" class="x-color select">
|
|
|
46
|
+
|
|
|
47
|
+ </select>
|
|
|
48
|
+ </li>
|
|
|
49
|
+ <li>留言时间:<input class="photo x-color laydate-icon" type="text" id="lysj" /></li>
|
|
|
50
|
+ <li>处理时间:<input class="laydate-icon photo x-color " type="text" id="clsj" /></li>
|
|
|
51
|
+
|
|
|
52
|
+ <li>
|
|
|
53
|
+ <a class="sc_btn seach">搜索</a>
|
|
|
54
|
+ </li>
|
|
|
55
|
+ </ul>
|
|
|
56
|
+ </div>
|
|
|
57
|
+ </div>
|
|
|
58
|
+ </div>
|
|
|
59
|
+ <div style="width: 100%;padding: 10px;">
|
|
|
60
|
+ <table id="list" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
|
61
|
+ <thead>
|
|
|
62
|
+ <tr>
|
|
|
63
|
+ <th data-field="state" data-checkbox="true"></th>
|
|
|
64
|
+ <th data-field="F_CallId" data-formatter="Code" data-align="center">编号</th>
|
|
|
65
|
+ <th data-field="F_Phone" data-align="center">来电号码</th>
|
|
|
66
|
+ <th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
|
|
|
67
|
+ <th data-field="F_LeaveTime" data-align="center">留言时间</th>
|
|
|
68
|
+ <th data-field="F_UserName" data-align="center">处理人</th>
|
|
|
69
|
+ <th data-field="F_DealContent" data-align="center">处理结果</th>
|
|
|
70
|
+ <th data-field="F_Status" data-align="center" data-formatter="clzt">处理状态</th>
|
|
|
71
|
+ <th data-field="F_DealTime" data-align="center">处理时间</th>
|
|
|
72
|
+ </tr>
|
|
|
73
|
+ </thead>
|
|
|
74
|
+ </table>
|
|
|
75
|
+ </div>
|
|
|
76
|
+ </div>
|
|
|
77
|
+ >
|
|
|
78
|
+ <script>
|
|
|
79
|
+ $(document).ready(function() {
|
|
|
80
|
+ Task();
|
|
|
81
|
+ Questionnaire();
|
|
|
82
|
+ $(".sc_btn").click(function(){
|
|
|
83
|
+ GetColumnList ();
|
|
|
84
|
+ })
|
|
|
85
|
+ ///查询条件中获取任务列表
|
|
|
86
|
+ function Task() {
|
|
|
87
|
+ $.ajax({
|
|
|
88
|
+ type: "get",
|
|
|
89
|
+ url: huayi.config.callcenter_url + "Questionnaire/GetTaskList",
|
|
|
90
|
+ dataType: 'json',
|
|
|
91
|
+ data: {
|
|
|
92
|
+ token: $.cookie("token")
|
|
|
93
|
+ },
|
|
|
94
|
+ async: true,
|
|
|
95
|
+ success: function(data) {
|
|
|
96
|
+ var Count = data.data;
|
|
|
97
|
+ $("<option value=''>--全部--</option>").appendTo($("#cljg"));
|
|
|
98
|
+ for(var i = 0; i < Count.length; i++) {
|
|
|
99
|
+ console.log(Count[i].F_UserName);
|
|
|
100
|
+ $("<option value='" + Count[i].F_TaskName + "'>" + Count[i].F_TaskName + "</option>").appendTo($("#cljg"));
|
|
|
101
|
+
|
|
|
102
|
+ }
|
|
|
103
|
+ console.log(Count)
|
|
|
104
|
+ }
|
|
|
105
|
+ });
|
|
|
106
|
+ }
|
|
|
107
|
+ ///查询条件问题任务列表
|
|
|
108
|
+ function Questionnaire() {
|
|
|
109
|
+ $.ajax({
|
|
|
110
|
+ type: "get",
|
|
|
111
|
+ url: huayi.config.callcenter_url + "Questionnaire/GetQList",
|
|
|
112
|
+ dataType: 'json',
|
|
|
113
|
+ data: {
|
|
|
114
|
+ token: $.cookie("token")
|
|
|
115
|
+ },
|
|
|
116
|
+ async: true,
|
|
|
117
|
+ success: function(data) {
|
|
|
118
|
+ var Count = data.data;
|
|
|
119
|
+ $("<option value=''>--全部--</option>").appendTo($("#Wt"));
|
|
|
120
|
+ for(var i = 0; i < Count.length; i++) {
|
|
|
121
|
+ console.log(Count[i].F_UserName);
|
|
|
122
|
+ $("<option value='" + Count[i].F_Title + "'>" + Count[i].F_Title + "</option>").appendTo($("#Wt"));
|
|
|
123
|
+
|
|
|
124
|
+ }
|
|
|
125
|
+ console.log(Count)
|
|
|
126
|
+ }
|
|
|
127
|
+ });
|
|
|
128
|
+ }
|
|
|
129
|
+ //任务查询获取表头
|
|
|
130
|
+ function GetColumnList () {
|
|
|
131
|
+ $.ajax({
|
|
|
132
|
+ type: "get",
|
|
|
133
|
+ url: huayi.config.callcenter_url + "Questionnaire/GetColumnList",
|
|
|
134
|
+ dataType: 'json',
|
|
|
135
|
+ data: {
|
|
|
136
|
+ taskname:$("#cljg").val(),
|
|
|
137
|
+ question:$("#Wt").val(),
|
|
|
138
|
+ token: $.cookie("token")
|
|
|
139
|
+ },
|
|
|
140
|
+ async: true,
|
|
|
141
|
+ success: function(data) {
|
|
|
142
|
+ var Count = data.data;
|
|
|
143
|
+
|
|
|
144
|
+ console.log(Count)
|
|
|
145
|
+ }
|
|
|
146
|
+ });
|
|
|
147
|
+ }
|
|
|
148
|
+ })
|
|
|
149
|
+
|
|
|
150
|
+ //音频
|
|
|
151
|
+ </script>
|
|
|
152
|
+
|
|
|
153
|
+ </body>
|
|
|
154
|
+
|
|
|
155
|
+</html>
|