li 7 years ago
parent
commit
2daa5fbd8a
2 changed files with 4 additions and 2 deletions
  1. 3 1
      cmp-portal/js/cmp-serviceIssue.js
  2. 1 1
      cmp-portal/js/serviceList.js

+ 3 - 1
cmp-portal/js/cmp-serviceIssue.js

@ -345,6 +345,8 @@ $(function() {
345 345
		if(pa1) {
346 346
			oUrl = pa1
347 347
		}
348
		console.log(oProfessor)
349
		//return;
348 350
		var $data = {
349 351
			owner: orgId,
350 352
			name: $("#resourceName").val(),
@ -493,7 +495,7 @@ $(function() {
493 495
					var arr1 = [];
494 496
					var oLength = $("#expertli").find("li");
495 497
					for(var i = 0; i < data.data.length; i++) {
496
						arr1.push(data.data[i].id);
498
						arr1.push(data.data[i].professor);
497 499
					}
498 500
					for(var i = 0; i < oLength.length; i++) {
499 501
						arr.push(oLength.eq(i).attr("id"));

+ 1 - 1
cmp-portal/js/serviceList.js

@ -57,7 +57,7 @@ $(document).ready(function() {
57 57
				if(data.success) {
58 58
					$("#resourceList").html("");
59 59
					if(num==1) {
60
						if(data.data.data.length==0) {
60
						if(data.data.total==0) {
61 61
							$("#noresource").removeClass("displayNone");
62 62
							$(".noContip").text("您还未发布任何服务");
63 63
							return;