Explorar el Código

留言记录区分思念,杜康

miaofuhao %!s(int64=6) %!d(string=hace) años
padre
commit
ac83992ab9
Se han modificado 1 ficheros con 23 adiciones y 19 borrados
  1. 23 19
      CallCenterWeb.UI/TelCall/VoiceMail.html

+ 23 - 19
CallCenterWeb.UI/TelCall/VoiceMail.html

@@ -12,12 +12,12 @@
12 12
         <script src="../css/laydate/laydate.js"></script>
13 13
         <style>
14 14
         	.LY:hover{
15
-	color: #fff;
16
-	
17
-}
18
-.LY:active{
19
-	color: #fff!important;
20
-}
15
+				color: #fff;
16
+				
17
+			}
18
+			.LY:active{
19
+				color: #fff!important;
20
+			}
21 21
         </style>
22 22
 	</head>
23 23
 	<body class="gray-bg">
@@ -66,10 +66,6 @@
66 66
 							<th data-field="F_Phone" data-align="center">来电号码</th>
67 67
 							<th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
68 68
 							<th data-field="F_LeaveTime" data-align="center">留言时间</th>
69
-                            <!--<th data-field="F_UserName" data-align="center">处理人</th>
70
-                            <th data-field="F_DealContent" data-align="center">处理结果</th>
71
-							<th data-field="F_Status" data-align="center" data-formatter="clzt">处理状态</th>
72
-                            <th data-field="F_DealTime" data-align="center">处理时间</th>-->
73 69
 						</tr>
74 70
 					</thead>
75 71
 				</table>
@@ -91,7 +87,7 @@
91 87
                 </div>
92 88
             </div>
93 89
         </div>
94
-        
90
+        <div style="display: none;" class="seatsText"></div>
95 91
 		<script>
96 92
             $(document).ready(function () {
97 93
                 /*日期选择*/
@@ -103,22 +99,28 @@
103 99
                     festival: true, //显示节日
104 100
 
105 101
                 });
106
-//              //处理时间
107
-//              laydate({
108
-//                  elem: '#clsj',
109
-//                  festival: true, //显示节日
110
-//                  event: 'focus'
111
-//              });
102
+                $.ajax({
103
+					type: "get",
104
+					url: huayi.config.callcenter_url + "CallInScreen/GetCurrUserDep",
105
+					dataType: 'json',
106
+					async: false,
107
+					data: {
108
+						token: $.cookie("token")
109
+					},
110
+					success: function(data) {
111
+						if(data.state.toLowerCase() == 'success') {
112
+							$('.seatsText').text(data.data.groname);
113
+						}
114
+					}
115
+				});
112 116
                 /*查询*/
113 117
                 $(".seach").click(function () {
114 118
                     initTable();
115 119
                 });
116
-
117 120
                 $(".setwin").click(function () {
118 121
                     $(".t-shade").removeClass("cx");
119 122
                     $('audio')[0].pause();
120 123
                 });
121
-
122 124
                 /*删除内容*/
123 125
                 $(".remove").click(function () {
124 126
                     var ids = $.map($('#list').bootstrapTable('getSelections'),
@@ -152,6 +154,7 @@
152 154
 
153 155
                 initTable();
154 156
             })
157
+            
155 158
             function initTable() {
156 159
                 //先销毁表格
157 160
                 $('#list').bootstrapTable('destroy');
@@ -178,6 +181,7 @@
178 181
                             pagesize: params.pageSize,
179 182
                             tel: $("#tel").val(),
180 183
                             settime: $("#lysj").val(),
184
+                            groname:$('.seatsText').text(),
181 185
                             status:-1,
182 186
                             token: $.cookie("token")
183 187
                         };