Browse Source

修改不同身份需求跳转页面bug
去掉console
动态获取document.title中文章,资源,企业

luyanan 8 years ago
parent
commit
0526b16ffe

+ 7 - 7
js/account-set.js

@ -227,12 +227,12 @@ $(function(){
227 227
	//判断邮箱是否绑定
228 228
	function userRegisterOk(){
229 229
		var email = $("#email").val();
230
		console.log(email);
230
		//console.log(email);
231 231
		$.ajax("/ajax/isReg?key="+email,{
232 232
			type:"GET",
233 233
			async: false,
234 234
			success:function($data){ 
235
				console.log($data);
235
				//console.log($data);
236 236
			    if($data.data==true){
237 237
			    	 $(".msg11").text("");
238 238
			    	 emailOk = true;
@ -275,7 +275,7 @@ $(function(){
275 275
				type:"get",
276 276
				async: true,
277 277
				success:function(data){ 
278
					console.log(data)
278
					//console.log(data)
279 279
					 $.MsgBox.Alert('消息提醒','邮箱绑定成功')
280 280
					 var emaild = data.data.email;
281 281
					 emailhome(emaild);
@ -300,9 +300,9 @@ $(function(){
300 300
					type:"GET",
301 301
					async: false,
302 302
					success:function(data){ 
303
						console.log(data);
303
						//console.log(data);
304 304
						if(data.success){
305
							console.log(data);
305
							//console.log(data);
306 306
							if(data.data == true){
307 307
								//$.cookie('userEmail',email); 
308 308
								$(".cover").hide();
@ -336,7 +336,7 @@ $(function(){
336 336
			type:"GET",
337 337
			async: false,
338 338
			success:function($data){ 
339
				console.log($data);
339
				//console.log($data);
340 340
			    if($data.data==true){
341 341
			    	 $(".msg12").text("");
342 342
			    	 phonePass = true;
@ -390,7 +390,7 @@ $(function(){
390 390
					type:"GET",
391 391
					 async: false,
392 392
					success:function(data){ 
393
						console.log(data);
393
						//console.log(data);
394 394
						if(data.success){
395 395
							if(data.data == null){
396 396
								$(".msg13").text("验证码发送失败,请确认手机号码正确!");

+ 6 - 1
js/articalInfo.js

@ -145,6 +145,11 @@ $(document).ready(function() {
145 145
							})(i);
146 146
						}
147 147
					}
148
					
149
					var articletitle = $info.articleTitle + "-科袖网";
150
					window.setInterval(function() {
151
						document.title = articletitle;
152
					}, 500);
148 153
				}
149 154
//				//留言分享操作栏				
150 155
//				var height=$(".resTop").height()-$(window).height();
@ -273,7 +278,7 @@ $(document).ready(function() {
273 278
			type: 'GET', //http请求类型
274 279
			timeout: 10000, //超时设置
275 280
			success: function(data) {
276
				console.log(data);
281
				//console.log(data);
277 282
				if(data.success && data.data) {
278 283
					if(data.data.hasHeadImage==1){
279 284
					$("#limg").attr("src","/images/head/" + data.data.id + "_l.jpg")

+ 1 - 1
js/cmp-staffReg.js

@ -70,7 +70,7 @@ $(function() {
70 70
		$.ajax("/ajax/inviteStaff/" + sc, {
71 71
			type: "POST",
72 72
			success: function($data) {
73
				console.log($data)
73
				//console.log($data)
74 74
				if($data.success) {
75 75
					$(".cmpOrgName").text($data.data.orgName);
76 76
					$(".companyEmail").val($data.data.email);

+ 3 - 4
js/consult.js

@ -231,7 +231,6 @@ function unreadConsultFn(senderId, consultId, i) {
231 231
		data: params,
232 232
		success: function(response) {
233 233
			unreadCount = response["data"];
234
			console.log()
235 234
			if(unreadCount == 0) {
236 235
				style = "display:none;"
237 236
			} else {
@ -300,7 +299,7 @@ function consultPullDownMenu() { //点击下拉菜单
300 299
		$(".getConsultPage").remove();
301 300
		$("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>');
302 301
303
		console.log(status + timeType + sortType);
302
		//console.log(status + timeType + sortType);
304 303
305 304
		getConsultData(pageSize, 1, true, status, timeType, sortType);
306 305
@ -315,7 +314,7 @@ function consultPullDownMenu() { //点击下拉菜单
315 314
		$(".getConsultPage").remove();
316 315
		$("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>');
317 316
318
		console.log(status + timeType + sortType);
317
		//console.log(status + timeType + sortType);
319 318
320 319
		getConsultData(pageSize, 1, true, status, timeType, sortType);
321 320
	});
@ -341,7 +340,7 @@ function consultPullDownMenu() { //点击下拉菜单
341 340
		$(".getConsultPage").remove();
342 341
		$("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>');
343 342
344
		console.log(status + timeType + sortType);
343
		//console.log(status + timeType + sortType);
345 344
346 345
		getConsultData(pageSize, 1, true, status, timeType, sortType);
347 346
	});

+ 2 - 2
js/consultSure.js

@ -47,7 +47,7 @@ $(function() {
47 47
		} else {
48 48
			newtemp = temp.concat([frmtype]);
49 49
		}
50
		console.log(JSON.stringify(newtemp))
50
		//console.log(JSON.stringify(newtemp))
51 51
		if(newtemp == "") {
52 52
			$.MsgBox.Alert('提示', "至少选择一个或输入谢绝缘由");
53 53
		} else {
@ -70,7 +70,7 @@ function okconsufun(consultId, sendId, professorId) {
70 70
		async: false,
71 71
		success: function(data) {
72 72
			if(data.success) {
73
				console.log(JSON.stringify(data.success));
73
				//console.log(JSON.stringify(data.success));
74 74
				window.location.href = "diloags.html?sendId=" + sendId + "&attrParams=" + professorId + "&consultId=" + consultId;
75 75
			}
76 76
		},

+ 2 - 2
js/dialogs.js

@ -14,7 +14,7 @@ var pageNo, isbind, status, timeType, sortType;
14 14
//返回按钮
15 15
$("#backBtn").on("click", function() {
16 16
	if(attrParams == 'consultId') {
17
		window.location.href = "demand.html";
17
		window.location.href = "myConsult.html";
18 18
	} else {
19 19
		window.location.href = "consult.html";
20 20
	}
@ -426,7 +426,7 @@ function finishFn(consultId, thanksStatus) {
426 426
			"consultStatus": "1", //咨询状态 0-进行中,1-已完成
427 427
		},
428 428
		success: function(response) {
429
			console.log(response);
429
			//console.log(response);
430 430
			$(".blackcover").remove();
431 431
			$("body").css("position", "");
432 432
			assessFn2(consultId, "consultId", thanksStatus);

+ 1 - 1
js/information-add.js

@ -63,7 +63,7 @@ $("#saveProfessor").on("click",	function() {
63 63
	}
64 64
	$data.id = id;
65 65
	$data.authentication = $(".boxnav li.set span").attr("data-num");//用户角色
66
	console.log($data);
66
	//console.log($data);
67 67
	if(orgPass&&namePass){
68 68
			$.ajax({"url" : "../ajax/professor",
69 69
				"type" :  "POST",

+ 4 - 4
js/information.brow.js

@ -319,7 +319,7 @@ $(function() {
319 319
		});
320 320
		$("#researchAreaShow").on("click", ".list-browse,.like-num", function() {
321 321
			var cap = $(this).attr("caption");
322
			console.log(cap.length);
322
			//console.log(cap.length);
323 323
			$.ajax({
324 324
				url: "/ajax/researchAreaLog/ql",
325 325
				dataType: 'json', //数据格式类型
@ -432,7 +432,7 @@ $(function() {
432 432
433 433
		$.get("/ajax/professor/info/" + professorId, function($data) {
434 434
			if($data.success) {
435
				console.log($data);
435
				//console.log($data);
436 436
				var $info = $data.data;
437 437
				if($info) {
438 438
					if($info.authType == 1) {
@ -461,13 +461,13 @@ $(function() {
461 461
						var qoffice = "";
462 462
					}
463 463
464
					var llqtitle = $info.name + qtitle + qoffice + " - " + $info.orgName + " - 科袖网";
464
					var llqtitle = $info.name + qtitle + qoffice + "-" + $info.orgName + "-科袖网";
465 465
					window.setInterval(function() {
466 466
						document.title = llqtitle;
467 467
					}, 500);
468 468
469 469
					//展示专家的信息
470
					console.log($data);
470
					//console.log($data);
471 471
					if($info.authType) {
472 472
						$(".modify").addClass("authicon authicon-cu");
473 473
					} else {

+ 12 - 12
js/information.js

@ -504,14 +504,14 @@ $(function() {
504 504
			//获取数据,填充页面
505 505
		$.get("/ajax/professor/info/" + userid, function($data) {
506 506
			if($data.success) {
507
				console.log($data);
507
				//console.log($data);
508 508
				var $info = $data.data;
509 509
				if($info) {
510 510
					//展示专家的信息
511 511
					$("#nameS").text($info.name);
512 512
					nameD = $info.name;
513 513
					authSD = $info.authStatus;
514
					console.log($info.authStatus)
514
					//console.log($info.authStatus)
515 515
					orgD = $info.orgName;
516 516
					if($info.authType == 1) {
517 517
						$(".yesshow,.xslyshow,.yyhyshow").show();
@ -590,7 +590,7 @@ $(function() {
590 590
					$("#officeRevise").val($info.office);
591 591
					//省
592 592
					//$("#Province input[name=cho_Province]").val($info.province);
593
					console.log($info.province);
593
					//console.log($info.province);
594 594
					if(!$info.province) {
595 595
						$info.province = ""
596 596
					}
@ -600,7 +600,7 @@ $(function() {
600 600
					$("#Province .mr_show").text($info.province);
601 601
					//市
602 602
					//$("#City input[name=cho_City]").val($info.address);
603
					console.log($info.address)
603
					//console.log($info.address)
604 604
					$("#City .mr_show").text($info.address);
605 605
					//$("#addressRevise").val($info.address);
606 606
					if($info.descp) {
@ -608,7 +608,7 @@ $(function() {
608 608
					} else {
609 609
						$("#descpS").css("min-height", "0px");
610 610
					}
611
					console.log($info.authentication);
611
					//console.log($info.authentication);
612 612

613 613
					if($info.subject) {
614 614
						subjectShow($info.subject);
@ -709,7 +709,7 @@ $(function() {
709 709
	//头像旁保存
710 710
	$("#saveProfessor").on("click", function() {
711 711
		var length1 = trim($("#name").val());
712
		console.log(length1)
712
		//console.log(length1)
713 713
		var length2 = trim($("#orgName").val());
714 714
		var loginName=$("#mobilePhone").val();
715 715
		if(trim(loginName)){
@ -891,12 +891,12 @@ $(function() {
891 891
									$("#officeRevise").val($info.office);
892 892
									//$("#addressRevise").val($info.address);
893 893
									//省
894
									console.log($info.province);
894
									//console.log($info.province);
895 895
									$("#Province .mr_show").text("");
896 896
									$("#Province input[name=cho_Province]").val($info.province);
897 897
									$("#Province .mr_show").text($info.province);
898 898
									//市
899
									console.log($info.address);
899
									//console.log($info.address);
900 900
									$("#City .mr_show").text("");
901 901
									$("#City input[name=cho_City]").val($info.address);
902 902
									$("#City .mr_show").text($info.address);
@ -1469,7 +1469,7 @@ $(function() {
1469 1469
				"data": $id ? JSON.stringify($data) : $data,
1470 1470
				"contentType": $id ? "application/json" : "application/x-www-form-urlencoded",
1471 1471
				beforeSend: function() {
1472
					console.log(this.data)
1472
					//console.log(this.data)
1473 1473
				},
1474 1474
				"success": function($data) {
1475 1475
					if($data.success) {
@ -1604,7 +1604,7 @@ $(function() {
1604 1604
			}
1605 1605
			var $data = {};
1606 1606
			var $id = $(this).parents(".txtExpForm").find(".projectId").val();
1607
			console.log($id);
1607
			//console.log($id);
1608 1608
			if($id) {
1609 1609
				$data.id = $id;
1610 1610
			}
@ -1999,7 +1999,7 @@ $(function() {
1999 1999
			$data.year = $(this).parents(".txtExpForm").find(".honorYear").val();
2000 2000
			$data.name = $(this).parents(".txtExpForm").find(".honorName").val();
2001 2001
			$data.descp = $(this).parents(".txtExpForm").find(".patentDescp").val();
2002
			console.log($data.descp);
2002
			//console.log($data.descp);
2003 2003
			$.ajax({
2004 2004
				"url": "../ajax/honor",
2005 2005
				"type": $id ? "PUT" : "POST",
@ -2037,7 +2037,7 @@ $(function() {
2037 2037
			}
2038 2038
			var add = "";
2039 2039
			if(data.success) {
2040
				console.log(data);
2040
				//console.log(data);
2041 2041
				for(var i = 0; i < data.data.length; i++) {
2042 2042
					add = '<div class="sharesrc">'
2043 2043
					add += '<div class="shareshow">'

+ 3 - 3
js/invite-friends.js

@ -92,7 +92,7 @@ $(function(){
92 92
			async: false,
93 93
			timeout: 10000, //超时设置
94 94
			success: function(data) {
95
				console.log(data);
95
				//console.log(data);
96 96
				if(data.success) {
97 97
					state = data.data;
98 98
					doClick();
@ -138,7 +138,7 @@ $(function(){
138 138
			type: 'POST', //http请求类型
139 139
			timeout: 10000, //超时设置
140 140
			success: function(data) {
141
				console.log(data.success);
141
				//console.log(data.success);
142 142
				if(data.success) {
143 143
					if(data.data==false) {
144 144
						bombox("验证码不正确");
@ -149,7 +149,7 @@ $(function(){
149 149
						return;
150 150
					}
151 151
				}else{
152
					console.log(data.msg);
152
					//console.log(data.msg);
153 153
					if(data.msg=="验证超时"){
154 154
						bombox("验证码超时");
155 155
						return;

+ 1 - 1
js/login-invite-code.js

@ -58,7 +58,7 @@
58 58
					type:"POST",
59 59
					 async: false,
60 60
					success:function(data){  
61
						console.log(data)
61
						//console.log(data)
62 62
						if(data.success){
63 63
							if(data.data != "null" && data.data != null){
64 64
								if(data.data.auth == true){

+ 2 - 2
js/my-attention.js

@ -79,7 +79,7 @@ $(function(){
79 79
			timeout: 10000,
80 80
			async: false,
81 81
			success: function(data) {
82
				console.log(data.success)
82
				//console.log(data.success)
83 83
				if(data.success) {
84 84
					returnId = data.data;
85 85
					$(".attentBtn").addClass('attented');
@ -106,7 +106,7 @@ $(function(){
106 106
			timeout: 10000,
107 107
			async: true,
108 108
			success: function(data) {
109
				console.log(data.success)
109
				//console.log(data.success)
110 110
				if(data.success) {
111 111
					$(".attentBtn").removeClass('attented');
112 112
					$('.attentBtn i').text('关注');

+ 30 - 5
js/demand.js

@ -226,7 +226,6 @@ function unreadConsultFn(senderId, consultId, i) {
226 226
		data: params,
227 227
		success: function(response) {
228 228
			unreadCount = response["data"];
229
			console.log()
230 229
			if(unreadCount == 0) {
231 230
				style = "display:none;"
232 231
			} else {
@ -297,7 +296,7 @@ function myRequirePullDownMenu() {
297 296
		$(".getReplyPage").remove();
298 297
		$("#wode").append('<div class="tcdPageCode getReplyPage"></div>');
299 298
300
		console.log(status + timeType + sortType);
299
		//console.log(status + timeType + sortType);
301 300
302 301
		getMyData(pageSize, 1, true, status, timeType, sortType);
303 302
	});
@ -312,7 +311,7 @@ function myRequirePullDownMenu() {
312 311
		$(".getReplyPage").remove();
313 312
		$("#wode").append('<div class="tcdPageCode getReplyPage"></div>');
314 313
315
		console.log(status + timeType + sortType);
314
		//console.log(status + timeType + sortType);
316 315
317 316
		getMyData(pageSize, 1, true, status, timeType, sortType);
318 317
	});
@ -340,7 +339,7 @@ function myRequirePullDownMenu() {
340 339
		$(".getReplyPage").remove();
341 340
		$("#wode").append('<div class="tcdPageCode getReplyPage"></div>');
342 341
343
		console.log(status + timeType + sortType);
342
		//console.log(status + timeType + sortType);
344 343
		getMyData(pageSize, 1, true, status, timeType, sortType);
345 344
	});
346 345
};
@ -348,4 +347,30 @@ function myRequirePullDownMenu() {
348 347
//咨询和回复中点击查看或者回复
349 348
function clickLookBtn2(sendId, attrParams, consultId, consultStatus, assessStatus, thanksStatus) {
350 349
	window.location.href = "diloags.html?sendId=" + sendId + "&attrParams=" + attrParams + "&consultId=" + consultId + "&consultStatus=" + consultStatus + "&assessStatus=" + assessStatus + "&thanksStatus=" + thanksStatus;
351
}
350
}
351
/*点击需求跳转不同页面*/
352
$("#odemand").on("click",function(){
353
	$.ajax({
354
		url:"/ajax/professor/auth",
355
		dataType: 'json', //数据格式类型
356
		type: 'GET', //http请求类型
357
		timeout: 10000, //超时设置
358
		data: {
359
			"id": userid
360
		},
361
		success: function(data) {
362
			if(data.success) {
363
				var $data = data.data;
364
				if($data.authType){
365
					location.href="needList.html"
366
				}else{
367
					location.href="myDemand.html"
368
				}
369
			}
370
		},
371
		error: function() {
372
			plus.nativeUI.toast("服务器链接超时", toastStyle);
373
			return;
374
		}
375
	});
376
})

+ 1 - 1
js/myDemand.js

@ -308,7 +308,7 @@ $(document).ready(function() {
308 308
			arr[i] = oSuin[i].innerText;
309 309
		}
310 310
		for(var j = 0; j < oin.length; j++, i++) {
311
			console.log(oin[j].innerText);
311
			//console.log(oin[j].innerText);
312 312
			arr[i] = oin[j].innerText;
313 313
		}
314 314
		$.ajax({

+ 1 - 1
js/needList.js

@ -16,7 +16,7 @@ $(document).ready(function() {
16 16
			beforeSend: function() {},
17 17
			success: function(data, textState) {
18 18
				if(data.success) {
19
					console.log(data);
19
					//console.log(data);
20 20
					$("#demandList").html(" ");
21 21
					var $info = data.data.data;
22 22
					demandHtml($info);

+ 1 - 1
js/needShow.js

@ -14,7 +14,7 @@ $(document).ready(function(){
14 14
			beforeSend: function() {},
15 15
			success: function(data, textState) {
16 16
				if(data.success) {
17
					console.log(data);
17
					//console.log(data);
18 18
					var $data = data.data;
19 19
					var oTime, oDemandType;
20 20
					$("#dialog_consultTitle").text($data.demandTitle);

+ 1 - 1
js/needSure.js

@ -93,7 +93,7 @@ $(document).ready(function() {
93 93
			},
94 94
			success: function(data, textState) {
95 95
				if(data.success) {
96
					console.log(data)
96
					//console.log(data)
97 97
					if(data.data == null) {
98 98
						$.MsgBox.Confirm("消息", "确认回复此需求?", createConsult)
99 99
					} else {

+ 6 - 6
js/news-list.js

@ -44,7 +44,7 @@ $(function() {
44 44
				$("#newsbox").append('<img src="../images/loading.gif" class="loading" />');
45 45
			},
46 46
			"success": function(data) {
47
				console.log(data);
47
				//console.log(data);
48 48
				if(data.success) {
49 49
					var add = '';
50 50
					$("#newsbox").html("");
@ -94,10 +94,10 @@ $(function() {
94 94
			"dataType" : "json",
95 95
			"data" :$data,
96 96
			"success" : function(data) {
97
				console.log(data);
97
				//console.log(data);
98 98
				if (data.success){
99 99
					newsname = data.data;
100
					console.log(newsname);
100
					//console.log(newsname);
101 101
					$.MsgBox.Alert("消息","文章发表成功!");	
102 102
					newslist();
103 103
					$(".blackcover").remove();
@ -122,7 +122,7 @@ $(function() {
122 122
				"articleId": articleId
123 123
			},
124 124
			"success" : function($data) {	
125
				console.log($data);
125
				//console.log($data);
126 126
				if ($data.success) {
127 127
					$("#newsName").val($data.data.articleTitle);	
128 128
					industryShow($data.data.subject,"SubjectList","deleteSubject");
@ -177,14 +177,14 @@ $(function() {
177 177
		if(cacheImageKey) {
178 178
			$data.articleImg = cacheImageKey;
179 179
		}
180
		console.log($data);
180
		//console.log($data);
181 181
	    $.ajax({
182 182
			"url" : "/ajax/article/updateArt",
183 183
			"type" : "POST",
184 184
			"dataType" : "json",
185 185
			"data" :$data,
186 186
			"success" : function($data) {	
187
				console.log($data);
187
				//console.log($data);
188 188
				if ($data.success) {
189 189
					newslist();
190 190
					$(".blackcover").remove();

+ 3 - 6
js/newsciresource.js

@ -1,7 +1,4 @@
1 1
$(function() {
2
	//alert("sciresouser");
3
	//var ue;
4

5 2
	var userid = $.cookie("userid");
6 3
	var name = $.cookie("userName");
7 4
	var flag;
@ -208,7 +205,7 @@ $(function() {
208 205
			$data.industry = captiureSubInd("industryList .deleteIndustry");
209 206
			$data.descp = ue.getContent();
210 207
			if(cacheImageKey) {
211
				console.log(cacheImageKey);
208
				//console.log(cacheImageKey);
212 209
				$data.fn = cacheImageKey;
213 210
			}
214 211
			if(resourceID) {
@ -216,14 +213,14 @@ $(function() {
216 213
				$data.resourceId = resourceID;
217 214

218 215
			}
219
			console.log($data);
216
			//console.log($data);
220 217

221 218
			function getDataput() {
222 219
				$.ajax({
223 220
					"url": "ajax/resource/updateResource",
224 221
					"type": "post",
225 222
					"success": function(rdata) {
226
						console.log(rdata);
223
						//console.log(rdata);
227 224
						if(rdata.success) {
228 225
							getDataResource();
229 226
							$(".blackcover").remove();

+ 2 - 2
js/popup.js

@ -259,7 +259,7 @@ function ResourceInfo() {
259 259
		cacheImageKey=null;
260 260
		uploader.on( 'uploadSuccess', function(file,data) {
261 261
			cacheImageKey =data.data[0].cacheKey;
262
			console.log(cacheImageKey);
262
			//console.log(cacheImageKey);
263 263
		   // $( '#'+file.id ).addClass('upload-state-done');
264 264
			//$("#filePicker").hide();
265 265
			
@ -1068,7 +1068,7 @@ function newsBombBox() {
1068 1068
		cacheImageKey=null;
1069 1069
		uploader.on( 'uploadSuccess', function(file,data) {
1070 1070
			cacheImageKey =data.data[0].cacheKey;
1071
			console.log(cacheImageKey);
1071
			//console.log(cacheImageKey);
1072 1072
		});
1073 1073
	
1074 1074
}

+ 7 - 1
js/resourceInfo.js

@ -47,7 +47,7 @@ $(document).ready(function() {
47 47
				"async": true,
48 48
				"success": function(info) {
49 49
					if(info.success) {
50
						console.log(info)
50
						//console.log(info)
51 51
						var $info = info.data;
52 52
						if($info.editProfessor.authType) {
53 53
							$("#authFlag").addClass("authicon authicon-cu");
@ -133,6 +133,12 @@ $(document).ready(function() {
133 133
						if($info.editProfessor.hasHeadImage) {
134 134
							$("#headImg").attr("src", "/images/head/" + $info.professorId + "_l.jpg")
135 135
						}
136
						
137
						var resourcetitle = $info.resourceName + "-科袖网";
138
						window.setInterval(function() {
139
							document.title = resourcetitle;
140
						}, 500);
141
						
136 142
						//专家相关资源
137 143
						relevantResource($info.professorId, $info.resourceId)
138 144
					} else {

+ 3 - 3
js/sciresource.js

@ -190,7 +190,7 @@ $(function(){
190 190
								$data.industry=captiureSubInd("industryList .deleteIndustry");
191 191
								$data.descp=$("#descp").val();								
192 192
								if(cacheImageKey){
193
									console.log(cacheImageKey);
193
									//console.log(cacheImageKey);
194 194
									$data.fn=cacheImageKey;
195 195
								}
196 196
								if (resourceID) {
@ -829,7 +829,7 @@ $(".workmysrc").on("click",".drawback",function(){
829 829
	
830 830
	 $("#paytit").on("click",".ret",function(){	
831 831
		 var payStatus=$(this).attr("payStatus");
832
		 console.log(payStatus);
832
		 //console.log(payStatus);
833 833
		if(payStatus==0){
834 834
			payHistoryId=$(this).attr("payhistoryid");
835 835
			getPayhistoryData();
@ -933,7 +933,7 @@ $(".workmysrc").on("click",".payMonety",function(){
933 933
	 discussGetPaidMoney(opo,$price);
934 934
	 $("#paytit").on("click",".ret",function(){	
935 935
		 var payStatus=$(this).attr("payStatus");
936
		 console.log(payStatus);
936
		 //console.log(payStatus);
937 937
		if(payStatus==0){
938 938
			payHistoryId=$(this).attr("payhistoryid");
939 939
			getPayhistoryData();

+ 1 - 1
js/upload.js

@ -20,7 +20,7 @@ $.ajax("/ajax/professor/auth",{
20 20
		var $info = data.data || {};
21 21
		if(data.success && data.data) {
22 22
			authStatus=$info.authStatus;
23
			console.log(authStatus)
23
			//console.log(authStatus)
24 24
			if($info.authStatus==0){
25 25
				$(".identProcess").text("暂时还未进行身份认证");
26 26
				$(".identBtn").text("现在去认证");

+ 1 - 1
js/workindex.js

@ -27,7 +27,7 @@ $(function() {
27 27
	/*点击未读咨询消息查看*/
28 28
	$("#lookMyConsult").on("click", function() {
29 29
		if(ifuser.authType2 == 0) {
30
			window.location.href = "demand.html";
30
			window.location.href = "myConsult.html";
31 31
		} else {
32 32
			window.location.href = "consult.html";
33 33
		}

+ 2 - 2
js/workspace.js

@ -11,7 +11,7 @@ function gatModule(){
11 11
			"async": true,
12 12
			"data":{"professorId":userid},
13 13
			"success":function(data)
14
			{console.log(data);
14
			{//console.log(data);
15 15
				if(data.success)
16 16
				{
17 17
					if(data.data.length>0)
@ -30,7 +30,7 @@ function gatModule(){
30 30
	"success":function(data)
31 31
		{
32 32
			if(data.success)
33
			{console.log(data);
33
			{//console.log(data);
34 34
				if(data.data.data.length>0)
35 35
				{
36 36
					opNO=true;