liuyifan 5 lat temu
rodzic
commit
f75af0bb07

+ 6 - 22
CallCenterWeb.UI/callScreen/call.js

7
     //获取省
7
     //获取省
8
     getProvinceCounty($("#formProvince"), 0, "请选择省")
8
     getProvinceCounty($("#formProvince"), 0, "请选择省")
9
     getProvinceCounty($("#customerProvince"), 0, "请选择省")
9
     getProvinceCounty($("#customerProvince"), 0, "请选择省")
10
-    //获取当前登录人
11
-    getCurrentLoginInformation()
10
+    //根据当前登录人坐席组,判断字段
11
+    currentLogInAgentGroup()
12
     //来电弹屏
12
     //来电弹屏
13
     // laydate.skin('molv'); 
13
     // laydate.skin('molv'); 
14
     laydate({
14
     laydate({
723
     });
723
     });
724
 }
724
 }
725
 
725
 
726
-//获取当前登陆人信息
727
-function getCurrentLoginInformation(){
728
-	$.ajax({
729
-		type: "get",
730
-		url: huayi.config.callcenter_url + 'UserAccount/GetNowUser',
731
-		async: true,
732
-		dataType: 'json',
733
-		data: {
734
-			"token": $.cookie("token")
735
-		},
736
-		success: function(data) {
737
-            seartGroup = data.data.user.F_SeartGroup;
738
-            currentLogInAgentGroup();
739
-		}
740
-	});
741
-}
742
-
743
 //当前登陆人判断字段
726
 //当前登陆人判断字段
744
 function currentLogInAgentGroup() {
727
 function currentLogInAgentGroup() {
745
-    if (seartGroup === "劳动仲裁智慧话务") {
728
+    var seatGroupCode = $.cookie("seatGroupCode")
729
+    if (seatGroupCode === "LDZCZ") {
746
         $(".citizenClassificationWrapper").hide();
730
         $(".citizenClassificationWrapper").hide();
747
         $(".putRecordWrapper").hide();
731
         $(".putRecordWrapper").hide();
748
-    } else if (seartGroup === "劳动监察智慧话务") {
732
+    } else if (seatGroupCode === "LDJCZ") {
749
         $(".citizenClassificationWrapper").show();
733
         $(".citizenClassificationWrapper").show();
750
         $(".putRecordWrapper").hide();
734
         $(".putRecordWrapper").hide();
751
-    } else if (seartGroup === "工伤智慧话务") {
735
+    } else if (seatGroupCode === "GSHWZ") {
752
         $(".citizenClassificationWrapper").hide();
736
         $(".citizenClassificationWrapper").hide();
753
         $(".putRecordWrapper").show();
737
         $(".putRecordWrapper").show();
754
     } else {
738
     } else {

+ 6 - 5
CallCenterWeb.UI/registrationManagement/registrationList/js/addRegistrationList.js

17
     getComplaintUndertaker();
17
     getComplaintUndertaker();
18
     //咨询问题级别
18
     //咨询问题级别
19
     getQuestionLevel();
19
     getQuestionLevel();
20
-    //获取当前坐席组
21
-    getCurrentLoginInformation();
20
+    //根据当前登录人坐席组,判断字段
21
+    currentLogInAgentGroup()
22
 })
22
 })
23
 
23
 
24
 //点击获取用户档案
24
 //点击获取用户档案
334
 
334
 
335
 //当前登陆人判断字段
335
 //当前登陆人判断字段
336
 function currentLogInAgentGroup() {
336
 function currentLogInAgentGroup() {
337
-    if (seartGroup === "劳动仲裁智慧话务") {
337
+    var seatGroupCode = $.cookie("seatGroupCode")
338
+    if (seatGroupCode === "LDZCZ") {
338
         $(".citizenClassificationWrapper").hide();
339
         $(".citizenClassificationWrapper").hide();
339
         $(".putRecordWrapper").hide();
340
         $(".putRecordWrapper").hide();
340
-    } else if (seartGroup === "劳动监察智慧话务") {
341
+    } else if (seatGroupCode === "LDJCZ") {
341
         $(".citizenClassificationWrapper").show();
342
         $(".citizenClassificationWrapper").show();
342
         $(".putRecordWrapper").hide();
343
         $(".putRecordWrapper").hide();
343
-    } else if (seartGroup === "工伤智慧话务") {
344
+    } else if (seatGroupCode === "GSHWZ") {
344
         $(".citizenClassificationWrapper").hide();
345
         $(".citizenClassificationWrapper").hide();
345
         $(".putRecordWrapper").show();
346
         $(".putRecordWrapper").show();
346
     } else {
347
     } else {

+ 8 - 5
CallCenterWeb.UI/registrationManagement/registrationList/js/edit.js

96
             $("#formCitizenClassification").val(con.F_CitizensType);
96
             $("#formCitizenClassification").val(con.F_CitizensType);
97
             $("#formPutRecord input[name='putRecord'][value='" + con.F_PutRecord +"']").prop("checked","checked"); //登记类型
97
             $("#formPutRecord input[name='putRecord'][value='" + con.F_PutRecord +"']").prop("checked","checked"); //登记类型
98
             seartGroup = con.F_ZXZType;
98
             seartGroup = con.F_ZXZType;
99
-            currentLogInAgentGroup();
99
+            //根据当前登录人坐席组,判断字段
100
+            currentLogInAgentGroup()
100
         }
101
         }
101
     })
102
     })
102
 }
103
 }
138
             $("#formCitizenClassification").val(con.F_CitizensType);
139
             $("#formCitizenClassification").val(con.F_CitizensType);
139
             $("#formPutRecord input[name='putRecord'][value='" + con.F_PutRecord +"']").prop("checked","checked"); //登记类型
140
             $("#formPutRecord input[name='putRecord'][value='" + con.F_PutRecord +"']").prop("checked","checked"); //登记类型
140
             seartGroup = con.F_ZXZType;
141
             seartGroup = con.F_ZXZType;
141
-            currentLogInAgentGroup();
142
+            //根据当前登录人坐席组,判断字段
143
+            currentLogInAgentGroup()
142
         }
144
         }
143
     })
145
     })
144
 }
146
 }
378
 
380
 
379
 //当前登陆人判断字段
381
 //当前登陆人判断字段
380
 function currentLogInAgentGroup() {
382
 function currentLogInAgentGroup() {
381
-    if (seartGroup === "劳动仲裁智慧话务") {
383
+    var seatGroupCode = $.cookie("seatGroupCode")
384
+    if (seatGroupCode === "LDZCZ") {
382
         $(".citizenClassificationWrapper").hide();
385
         $(".citizenClassificationWrapper").hide();
383
         $(".putRecordWrapper").hide();
386
         $(".putRecordWrapper").hide();
384
-    } else if (seartGroup === "劳动监察智慧话务") {
387
+    } else if (seatGroupCode === "LDJCZ") {
385
         $(".citizenClassificationWrapper").show();
388
         $(".citizenClassificationWrapper").show();
386
         $(".putRecordWrapper").hide();
389
         $(".putRecordWrapper").hide();
387
-    } else if (seartGroup === "工伤智慧话务") {
390
+    } else if (seatGroupCode === "GSHWZ") {
388
         $(".citizenClassificationWrapper").hide();
391
         $(".citizenClassificationWrapper").hide();
389
         $(".putRecordWrapper").show();
392
         $(".putRecordWrapper").show();
390
     } else {
393
     } else {

+ 90 - 67
CallCenterWeb.UI/registrationManagement/registrationList/print.html

8
 		<!--[if lt IE 9]>
8
 		<!--[if lt IE 9]>
9
 	    <meta http-equiv="refresh" content="0;ie.html" />
9
 	    <meta http-equiv="refresh" content="0;ie.html" />
10
 	    <![endif]-->
10
 	    <![endif]-->
11
-		<script src="../Script/Common/huayi.load.js"></script>
12
-		<script src="../Script/Common/huayi.config.js"></script>
13
-		<script src="../js/laydate/laydate.js"></script>
14
-		<link rel="stylesheet" href="../js/layui/css/layui.css" />
15
-		<link rel="stylesheet" href="../css/init.css" />
11
+		<script src="../../Script/Common/huayi.load.js"></script>
12
+		<script src="../../Script/Common/huayi.config.js"></script>
13
+		<script src="../../js/laydate/laydate.js"></script>
14
+		<link rel="stylesheet" href="../../js/layui/css/layui.css" />
15
+		<link rel="stylesheet" href="../../css/init.css" />
16
 		<style>
16
 		<style>
17
 			.zxt-top {
17
 			.zxt-top {
18
 				background: #fefefe;
18
 				background: #fefefe;
208
 	                        <div id="main">
208
 	                        <div id="main">
209
 	                            <div class="alignC headerAlign">
209
 	                            <div class="alignC headerAlign">
210
 	                                <br />
210
 	                                <br />
211
-	                                <h2 style="margin-bottom: 15px;">登记人情况</h2>
211
+	                                <h2 style="margin-bottom: 15px;">登记信息</h2>
212
 	                            </div>
212
 	                            </div>
213
 	                            <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
213
 	                            <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
214
-                                    <tr>
215
-                                        <td height="50px">姓名</td>
216
-                                        <td id="printName" colspan="2"></td>
217
-                                        <td>性别</td>
218
-                                        <td id="printSex" colspan="2"></td>
219
-                                    </tr>
220
-                                    <tr>
221
-                                        <td height="50px">来访日期</td>
222
-                                        <td id="printDateVisit" colspan="2"></td>
223
-                                        <td>身份证号码</td>
224
-                                        <td id="printIDCard" colspan="2"></td>
225
-                                    </tr>
226
-                                    <tr>
227
-                                        <td height="50px">电话</td>
228
-                                        <td id="printPhone" colspan="2"></td>
229
-                                        <td>来访人数</td>
230
-                                        <td id="printNumberVisitors" colspan="2"></td>
231
-                                    </tr>
232
-                                    <tr>
233
-                                        <td height="50px">身份证住址</td>
234
-                                        <td id="printIDCardAddress" colspan="5"></td>
235
-                                    </tr>
236
-                                    <tr>
237
-                                        <td height="50px">随访人姓名</td>
238
-                                        <td id="printFollowerName" colspan="5"></td>
239
-                                    </tr>
240
-                                    <tr>
241
-                                        <td height="220px">主要诉求</td>
242
-                                        <td id="printMainAppeal" colspan="5"></td>
243
-                                    </tr>
244
-                                    <tr>
245
-                                        <td height="150px">处置情况</td>
246
-                                        <td id="printDisposalSituation" colspan="5"></td>
247
-                                    </tr>
248
-                                    <tr>
249
-                                        <td width="15%" height="130px">通知单位</td>
250
-                                        <td id="printNotificationUnit" width="15%"></td>
251
-                                        <td width="15%">被通知单位人员</td>
252
-                                        <td id="printNotifiedUnitPersonnel" width="15%"></td>
253
-                                        <td width="15%">接访人员签名</td>
254
-                                        <td id="printSignatureInterviewer" width="15%"></td>
255
-                                    </tr>
214
+									<tr>
215
+										<td width="20%" height="50px">登记编号</td>
216
+                                        <td width="30%" id="printRegisterCode"></td>
217
+                                        <td width="20%">登记类型</td>
218
+										<td width="30%" id="printType"></td>
219
+									</tr>
220
+									<tr>
221
+										<td>姓名</td>
222
+										<td id="printName"></td>
223
+									</tr>
224
+									<tr>
225
+										<td height="50px">性别</td>
226
+										<td id="printSex"></td>
227
+										<td>省</td>
228
+										<td id="printProvince"></td>
229
+										<td>市</td>
230
+										<td id="printCity"></td>
231
+									</tr>
232
+									<tr>
233
+                                        <td height="50px">县/区</td>
234
+										<td id="printCounty"></td>
235
+										<td>详细地址</td>
236
+                                        <td id="printAddress"></td>
237
+										<td>被投诉单位</td>
238
+										<td id="printComplained"></td>
239
+									</tr>
240
+									<tr>
241
+                                        <td height="50px">被投诉单位所属办事处</td>
242
+										<td id="printComplainedUnitOffice"></td>
243
+										<td>投诉案件承办人</td>
244
+                                        <td id="printComplaintUndertaker"></td>
245
+                                        <td>咨询问题级别</td>
246
+                                        <td id="printQuestionLevel"></td>
247
+									</tr>
248
+									<tr>
249
+										<td height="50px">咨询问题类型</td>
250
+										<td id="printQuestionType"></td>
251
+                                        <td>市民分类</td>
252
+										<td id="printCitizenClassification"></td>
253
+										<td>是否立案</td>
254
+                                        <td id="printPutRecord"></td>
255
+									</tr>
256
+									<tr>
257
+										<td height="50px">登记内容/投诉事项</td>
258
+										<td id="printContent"></td>
259
+										<td >来电备注</td>
260
+                                        <td id="printRemark"></td>
261
+                                        <td>登记人</td>
262
+										<td id="printCreateBy"></td>
263
+									</tr>
264
+									<tr>
265
+										<td height="50px">登记时间</td>
266
+										<td id="printCreateOn"></td>
267
+									</tr>
256
 	                            </table>
268
 	                            </table>
257
                             </div>
269
                             </div>
258
                             <!--endprint1-->
270
                             <!--endprint1-->
264
 	    </div>
276
 	    </div>
265
 	    
277
 	    
266
 	    <script>
278
 	    <script>
267
-            var CallID = helper.request.queryString("CallID");
268
-
279
+			var id = helper.request.queryString("ids");
269
 	        $(document).ready(function () {
280
 	        $(document).ready(function () {
270
-                getRegisterDetailByCallId()
281
+                getRegisterDetailById()
271
             })
282
             })
272
-            //通过callid获取详情
273
-            function getRegisterDetailByCallId() {
274
-                $.get(huayi.config.callcenter_url + 'RegRecords/GetCallidDetails', {
275
-                    callid: CallID,
276
-                    "token": $.cookie("token")
283
+            //通过id获取详情
284
+            function getRegisterDetailById() {
285
+                $.get(huayi.config.callcenter_url + 'RegRecords/GetDetails', {
286
+					"token": $.cookie("token"),
287
+					id: id,
277
                 }, function(result) {
288
                 }, function(result) {
278
                     result = $.parseJSON(result);
289
                     result = $.parseJSON(result);
279
                     if(result.state.toLowerCase() == "success") {
290
                     if(result.state.toLowerCase() == "success") {
280
                         var con = result.data.model;
291
                         var con = result.data.model;
281
-                        var conCus = result.data.cusmodel
282
-                        $("#printName").text(con.F_userName); //姓名
283
-                        $("#printPhone").text(con.F_userPhone); //电话
284
-                        $("#printSex").text(con.F_userSex); //性别
285
-                        $("#printIDCardAddress").text(con.F_userProvince + con.F_userCity + con.F_userArea + con.F_userAddress) //地址
286
-                        $("#printNotificationUnit").text(con.F_Unit); //被投诉单位
287
-                        $("#printMainAppeal").text(con.F_Content); //登记内容/投诉事项
288
-                        $("#printSignatureInterviewer").text(con.F_CreateBy); //登记人
289
-                        $("#printDateVisit").text(con.F_CreateOn); //登记时间
292
+						var conCus = result.data.cusmodel
293
+						$("#printRegisterCode").text(con.F_RecCode)
294
+						$("#printType").text(formatterRegisterType(con.F_Type)); //登记类型
295
+						$("#printName").text(con.F_userName); //姓名
296
+						$("#printPhone").text(con.F_userPhone); //电话
297
+						$("#printSex").text(con.F_userSex); //性别
298
+						$("#printProvince").text(con.F_userProvince); //省
299
+						$("#printCity").text(con.F_userCity); //市
300
+						$("#printCounty").text(con.F_userArea); //县/区
301
+						$("#printAddress").text(con.F_userAddress); //详细地址
302
+						$("#printComplained").text(con.F_Unit); //被投诉单位
303
+						$("#printContent").text(con.F_Content); //登记内容/投诉事项
304
+						$("#printRemark").text(con.F_Remark); //备注
305
+						$("#printCreateBy").text(con.F_CreateBy); //登记人
306
+						$("#printCreateOn").text(con.F_CreateOn); //登记时间
307
+						$("#printComplainedUnitOffice").text(con.F_UnitOffice); //投诉单位办事处
308
+						$("#printComplaintUndertaker").text(con.F_CaseParty); //投诉案件承办人
309
+						$("#printQuestionLevel").text(con.F_CaseParty); //咨询问题级别
310
+						$("#printQuestionType").text(con.F_ProblemTypeB); //咨询问题类型
311
+						$("#printCitizenClassification").text(con.F_CitizensType); //市民分类
312
+						$("#printPutRecord").text(con.F_PutRecord); //是否立案
313
+
314
+                        // $("#printIDCardAddress").text(con.F_userProvince + con.F_userCity + con.F_userArea + con.F_userAddress) //地址
290
                     }
315
                     }
291
                 })
316
                 })
292
             }
317
             }
303
 	            $(".export").attr('href', url);
328
 	            $(".export").attr('href', url);
304
             });
329
             });
305
             function preview(oper) {
330
             function preview(oper) {
306
-				//debugger;
307
 				if(oper < 5) {
331
 				if(oper < 5) {
308
 					bdhtml = window.document.body.innerHTML; //获取当前页的html代码
332
 					bdhtml = window.document.body.innerHTML; //获取当前页的html代码
309
 					sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
333
 					sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
321
 					window.print();
345
 					window.print();
322
 				}
346
 				}
323
 			}
347
 			}
324
-
325
 	    </script>
348
 	    </script>
326
 	</body>
349
 	</body>
327
 
350
 

+ 1 - 1
CallCenterWeb.UI/registrationManagement/registrationList/registrationListTransfer.html

110
                             <th data-field="CreateByName" data-align="center">创建人</th>
110
                             <th data-field="CreateByName" data-align="center">创建人</th>
111
 							<th data-field="F_Remark" data-align="center">备注</th>
111
 							<th data-field="F_Remark" data-align="center">备注</th>
112
 							<th data-field="F_CreateOn" data-align="center">创建时间</th>
112
 							<th data-field="F_CreateOn" data-align="center">创建时间</th>
113
-							<!-- <th data-field="" data-align="center" data-formatter="formatterOperatingTransfer">操作</th> -->
113
+							<th data-field="" data-align="center" data-formatter="formatterOperatingTransfer">操作</th>
114
 						</tr>
114
 						</tr>
115
 					</thead>
115
 					</thead>
116
 				</table>
116
 				</table>