Browse Source

接口报错修改

liuzhihui 2 years ago
parent
commit
7258133224

+ 5 - 2
SystemManager/js/addOrEditUserManage.js

@@ -15,14 +15,17 @@ $(function() {
15 15
 	//获取项目
16 16
 	//helper.getDropList.getProlistDrop($('#projectid'));
17 17
 	projectName($('#projectid'))
18
-	getDepartname($('#administrative'),'',Ids)
18
+	if(Ids) {
19
+		getUserDetails(Ids);
20
+	}	
21
+//	getDepartname($('#administrative'),'',Ids)
19 22
 //	$('#projectid').on('change', function() {
20 23
 //		getDepartname($('#administrative'),'',Ids)
21 24
 //		//		GetRoleName($('#administrative'))
22 25
 //	});
23 26
 	//获取角色
24 27
 	getRoleName($('#role_id'));
25
-	getSeatGroup($('#seat_group')); //坐席组下拉
28
+//	getSeatGroup($('#seat_group')); //坐席组下拉
26 29
 
27 30
 	imgEditor(); //头像裁剪
28 31
 

+ 2 - 2
equipmentOperationManage/template/seeFloorQRcode.html

@@ -42,8 +42,8 @@
42 42
 			<!--startprint-->
43 43
 			<div class="codeBox" style="margin: 0 auto; width: 380px; height: 410px; text-align: center;">
44 44
 				<!-- <p style="font-size: 24px; font-family:微软雅黑; color: #000;margin-top: 26px;margin-bottom: 5px;letter-spacing: 6px;">需维修请微信扫码</p> -->
45
-				<p style="font-size: 24px; font-family:微软雅黑; color: #000;margin-top: 26px;margin-bottom: 5px;letter-spacing: 28px;margin-left:28px">请微信扫码</p>
46
-				<p style="font-size: 12px; font-family:微软雅黑; color: #000;margin-top: 2px;margin-bottom: 10px;letter-spacing: 0px;">(首次扫码时请先关注公众号后再进行扫码)</p>
45
+				<p style="font-size: 24px; font-family:微软雅黑; color: #000;margin-top: 26px;margin-bottom: 5px;letter-spacing: 15px;margin-left:28px">请使用APP扫码</p>
46
+				<p style="font-size: 12px; font-family:微软雅黑; color: #000;margin-top: 2px;margin-bottom: 10px;letter-spacing: 0px;">(首次扫码时请先下载APP后再进行扫码)</p>
47 47
 				<div id="codeHtml" style="z-index: 9999999;position: relative;">
48 48
 					<div id="code"></div>
49 49
 				</div>

+ 20 - 20
js/chat.js

@@ -171,26 +171,26 @@ $('.con').click(function(e) {
171 171
 })
172 172
 //通知
173 173
 function getInforNotice() {
174
-	$.ajax({
175
-		type: "get",
176
-		url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/getonlineserviceifhave",
177
-		async: true,
178
-		dataType: 'json',
179
-		data: {
180
-			userCode: userCode
181
-		},
182
-		success: function(res) {
183
-			console.log(res)
184
-			if(res.data == 0) {
185
-				//				debugger
186
-				$('audio').remove();
187
-				audioElementHovertree = document.createElement('audio');
188
-				audioElementHovertree.setAttribute('src', 'js/video/info.mp3');
189
-				audioElementHovertree.setAttribute('autoplay', 'autoplay'); //打开自动播放
190
-				$('.mark').css('display', 'block');
191
-			}
192
-		}
193
-	});
174
+//	$.ajax({
175
+//		type: "get",
176
+//		url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/getonlineserviceifhave",
177
+//		async: true,
178
+//		dataType: 'json',
179
+//		data: {
180
+//			userCode: userCode
181
+//		},
182
+//		success: function(res) {
183
+//			console.log(res)
184
+//			if(res.data == 0) {
185
+//				//				debugger
186
+//				$('audio').remove();
187
+//				audioElementHovertree = document.createElement('audio');
188
+//				audioElementHovertree.setAttribute('src', 'js/video/info.mp3');
189
+//				audioElementHovertree.setAttribute('autoplay', 'autoplay'); //打开自动播放
190
+//				$('.mark').css('display', 'block');
191
+//			}
192
+//		}
193
+//	});
194 194
 }
195 195
 //判断消息状态
196 196
 function getNoneInfor() {