jack 7 years ago
parent
commit
3ffcea49a9
2 changed files with 0 additions and 4 deletions
  1. 0 3
      app/js/searchListNew2.js
  2. 0 1
      app/js/searchfirst.js

+ 0 - 3
app/js/searchListNew2.js

467
					}
467
					}
468
				}
468
				}
469
				for(var i = 0; i < $data.length; i++) {
469
				for(var i = 0; i < $data.length; i++) {
470
					console.log(JSON.stringify($data[i]));
471
					var li = document.createElement("li");
470
					var li = document.createElement("li");
472
					li.setAttribute("data-id", $data[i].id);
471
					li.setAttribute("data-id", $data[i].id);
473
					li.className = "mui-table-view-cell";
472
					li.className = "mui-table-view-cell";
1005
					if(obj.pt != searchval) {
1004
					if(obj.pt != searchval) {
1006
						obj.pt = searchval;
1005
						obj.pt = searchval;
1007
					}
1006
					}
1008
					console.log(obj.pt);
1009
					console.log(searchval);
1010
					flag = 1;
1007
					flag = 1;
1011
					pageNo.pt = 1;
1008
					pageNo.pt = 1;
1012
					search.oAjaxGet(baseUrl + "/ajax/ppatent/pq", {
1009
					search.oAjaxGet(baseUrl + "/ajax/ppatent/pq", {

+ 0 - 1
app/js/searchfirst.js

25
				timeout: 10000, //超时时间设置为10秒;
25
				timeout: 10000, //超时时间设置为10秒;
26
				traditional: true,
26
				traditional: true,
27
				success: function(data) {
27
				success: function(data) {
28
					console.log(JSON.stringify(data));
29
					if(data.success) {
28
					if(data.success) {
30
						setTimeout(function() {
29
						setTimeout(function() {
31
							document.getElementById("searchval").focus()
30
							document.getElementById("searchval").focus()