Ver Código Fonte

留言记录区分思念,杜康

miaofuhao 6 anos atrás
pai
commit
ac83992ab9
1 arquivos alterados com 23 adições e 19 exclusões
  1. 23 19
      CallCenterWeb.UI/TelCall/VoiceMail.html

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

12
         <script src="../css/laydate/laydate.js"></script>
12
         <script src="../css/laydate/laydate.js"></script>
13
         <style>
13
         <style>
14
         	.LY:hover{
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
         </style>
21
         </style>
22
 	</head>
22
 	</head>
23
 	<body class="gray-bg">
23
 	<body class="gray-bg">
66
 							<th data-field="F_Phone" data-align="center">来电号码</th>
66
 							<th data-field="F_Phone" data-align="center">来电号码</th>
67
 							<th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
67
 							<th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
68
 							<th data-field="F_LeaveTime" data-align="center">留言时间</th>
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
 						</tr>
69
 						</tr>
74
 					</thead>
70
 					</thead>
75
 				</table>
71
 				</table>
91
                 </div>
87
                 </div>
92
             </div>
88
             </div>
93
         </div>
89
         </div>
94
-        
90
+        <div style="display: none;" class="seatsText"></div>
95
 		<script>
91
 		<script>
96
             $(document).ready(function () {
92
             $(document).ready(function () {
97
                 /*日期选择*/
93
                 /*日期选择*/
103
                     festival: true, //显示节日
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
                 $(".seach").click(function () {
117
                 $(".seach").click(function () {
114
                     initTable();
118
                     initTable();
115
                 });
119
                 });
116
-
117
                 $(".setwin").click(function () {
120
                 $(".setwin").click(function () {
118
                     $(".t-shade").removeClass("cx");
121
                     $(".t-shade").removeClass("cx");
119
                     $('audio')[0].pause();
122
                     $('audio')[0].pause();
120
                 });
123
                 });
121
-
122
                 /*删除内容*/
124
                 /*删除内容*/
123
                 $(".remove").click(function () {
125
                 $(".remove").click(function () {
124
                     var ids = $.map($('#list').bootstrapTable('getSelections'),
126
                     var ids = $.map($('#list').bootstrapTable('getSelections'),
152
 
154
 
153
                 initTable();
155
                 initTable();
154
             })
156
             })
157
+            
155
             function initTable() {
158
             function initTable() {
156
                 //先销毁表格
159
                 //先销毁表格
157
                 $('#list').bootstrapTable('destroy');
160
                 $('#list').bootstrapTable('destroy');
178
                             pagesize: params.pageSize,
181
                             pagesize: params.pageSize,
179
                             tel: $("#tel").val(),
182
                             tel: $("#tel").val(),
180
                             settime: $("#lysj").val(),
183
                             settime: $("#lysj").val(),
184
+                            groname:$('.seatsText').text(),
181
                             status:-1,
185
                             status:-1,
182
                             token: $.cookie("token")
186
                             token: $.cookie("token")
183
                         };
187
                         };