Selaa lähdekoodia

判断业务员登录

jinquanwu 6 vuotta sitten
vanhempi
commit
41a4f866a7

+ 2 - 2
CallCenterWeb.UI/js/WorkOrder/WorkOrder.js

@@ -375,7 +375,7 @@ function formatterOprateDispose(val, row) {
375 375
 	return '<ul class="tool_downs">' +
376 376
 		// '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.ID + '" onclick="btn_delete(\'' + row.ID + '\')" title="删除">删除</a></li>' +
377 377
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_transfer_' + row.ID + '" onclick="btn_transfer(\'' + row.F_ID + '\', false, \''+ row.IsAdminSend +'\')" title="分配">分配</a></li>' +
378
-		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_end_' + row.ID + '" onclick="btn_end(\'' + row.F_ID + '\', false)" title="处理">处理</a></li>' +
378
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_end_' + row.ID + '" onclick="btn_end(\'' + row.F_ID + '\', false)" title="结单">结单</a></li>' +
379 379
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_abnormal_back_' + row.ID + '" onclick="btn_abnormal_back(\'' + row.F_ID + '\')" title="异常退回">异常退回</a></li>' +
380 380
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_abnorm' + row.ID + '" onclick="btn_bacd(\'' + row.F_ID + '\')" title="申请延期">申请延期</a></li>' +
381 381
 		'</ul>';
@@ -538,7 +538,7 @@ function btn_deal(oid, isDeal, isDetail, proid) {
538 538
 function btn_end(oid, isDetail) {
539 539
 	layer.open({
540 540
 		type: 2,
541
-		title: '处理工单',
541
+		title: '工单结单',
542 542
 		maxmin: true, //开启最大化最小化按钮
543 543
 		area: ['80%', '90%'],
544 544
 		content: "../commonTpl/WorkOrderEnd.html?oid=" + oid + "&isDetail=" + isDetail,

+ 8 - 0
WeChat/client-side/Waiting_list.html

@@ -209,6 +209,14 @@
209 209
 				$(".add_icon").show()
210 210
 				$(".reminder").show();
211 211
 				itype = 1
212
+			}else if(UserType==4){
213
+				$(".state4").hide();
214
+				$(".state1").hide();
215
+				$(".state2").hide();
216
+				$(".state3").hide();
217
+				$(".add_icon").show()
218
+				$(".reminder").show();
219
+				itype = 1
212 220
 			}else {
213 221
 				itype = helper.request.queryString("itype");
214 222
 			}

+ 9 - 0
WeChat/client-side/client_index.html

@@ -208,6 +208,15 @@
208 208
 				$(".add_icon").show();
209 209
 				$(".reminder").show();
210 210
 				itype = 1
211
+			}else if(UserType==4){
212
+				$(".add_icon").show();
213
+				$(".state1").show();
214
+				$(".state2").hide();
215
+				$(".reminder").hide();
216
+				$(".state5").hide();
217
+				$(".state6").hide();
218
+				$(".state7").hide();
219
+				$(".state8").hide();
211 220
 			}else {
212 221
 				itype = helper.request.queryString("itype");
213 222
 			}

+ 6 - 0
WeChat/client-side/details.html

@@ -468,6 +468,12 @@
468 468
 				$(".type3").hide();
469 469
 				$(".type4").hide();
470 470
 				$(".type5").hide();
471
+			}else if(UserType==4){
472
+				$(".type1").show();
473
+				$(".type2").hide();
474
+				$(".type3").show();
475
+				$(".type4").hide();
476
+				$(".type5").hide();
471 477
 			}
472 478
 			Ajax();
473 479
 			flow();

+ 1 - 1
WeChat/fisrt_comprehensive/details.html

@@ -426,7 +426,7 @@
426 426
 			var isReply = helper.request.queryString("IsReply"); // 是否已回复 0 未回复 1已回复
427 427
 			var openid = helper.cookies.get("openid");
428 428
 			var UserType = helper.cookies.get("usertype");
429
-			var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
429
+//			var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
430 430
 			if(isReply == 0){
431 431
 				$('.btn_reply').show();
432 432
 			}

+ 1 - 1
WeChat/fisrt_comprehensive/inquire.html

@@ -40,7 +40,7 @@
40 40
 			var Start_data = helper.request.queryString("Start_data"); //开始时间
41 41
 			var End_data = helper.request.queryString("End_data"); //结束时间
42 42
 			var itype = helper.request.queryString("itype");
43
-			var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
43
+//			var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
44 44
 			var page = 1; //页数
45 45
 			var pageSize = 10; //每页显示条目
46 46
 			var total; //数据总条数

+ 4 - 0
WeChat/login.html

@@ -30,6 +30,8 @@
30 30
 					window.location.href = "client-side/client_index.html";
31 31
 				} else if(UserType == "3") { //监管
32 32
 					window.location.href = "client-side/press_list.html";
33
+				} else if(UserType == "4") { //监管
34
+					window.location.href = "client-side/client_index.html";
33 35
 				} 
34 36
 //				else if(UserType == "5") { //业主
35 37
 //					helper.cookies.set("usercode", "", -1);
@@ -120,6 +122,8 @@
120 122
 								window.location.href = "client-side/client_index.html";
121 123
 							} else if(UserType == "3") { //监管
122 124
 								window.location.href = "client-side/Waiting_list.html";
125
+							} else if(UserType == "4") { //监管
126
+								window.location.href = "client-side/client_index.html";
123 127
 							} 
124 128
 //							else if(UserType == "5") { //业主
125 129
 //								window.location.href = "user/client_index.html";