瀏覽代碼

判断业务员登录

jinquanwu 6 年之前
父節點
當前提交
41a4f866a7

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

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

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

209
 				$(".add_icon").show()
209
 				$(".add_icon").show()
210
 				$(".reminder").show();
210
 				$(".reminder").show();
211
 				itype = 1
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
 			}else {
220
 			}else {
213
 				itype = helper.request.queryString("itype");
221
 				itype = helper.request.queryString("itype");
214
 			}
222
 			}

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

208
 				$(".add_icon").show();
208
 				$(".add_icon").show();
209
 				$(".reminder").show();
209
 				$(".reminder").show();
210
 				itype = 1
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
 			}else {
220
 			}else {
212
 				itype = helper.request.queryString("itype");
221
 				itype = helper.request.queryString("itype");
213
 			}
222
 			}

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

468
 				$(".type3").hide();
468
 				$(".type3").hide();
469
 				$(".type4").hide();
469
 				$(".type4").hide();
470
 				$(".type5").hide();
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
 			Ajax();
478
 			Ajax();
473
 			flow();
479
 			flow();

+ 1 - 1
WeChat/fisrt_comprehensive/details.html

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

+ 1 - 1
WeChat/fisrt_comprehensive/inquire.html

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

+ 4 - 0
WeChat/login.html

30
 					window.location.href = "client-side/client_index.html";
30
 					window.location.href = "client-side/client_index.html";
31
 				} else if(UserType == "3") { //监管
31
 				} else if(UserType == "3") { //监管
32
 					window.location.href = "client-side/press_list.html";
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
 //				else if(UserType == "5") { //业主
36
 //				else if(UserType == "5") { //业主
35
 //					helper.cookies.set("usercode", "", -1);
37
 //					helper.cookies.set("usercode", "", -1);
120
 								window.location.href = "client-side/client_index.html";
122
 								window.location.href = "client-side/client_index.html";
121
 							} else if(UserType == "3") { //监管
123
 							} else if(UserType == "3") { //监管
122
 								window.location.href = "client-side/Waiting_list.html";
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
 //							else if(UserType == "5") { //业主
128
 //							else if(UserType == "5") { //业主
125
 //								window.location.href = "user/client_index.html";
129
 //								window.location.href = "user/client_index.html";