jack 7 years ago
parent
commit
50753a7755
3 changed files with 6 additions and 6 deletions
  1. 1 1
      app/js/cmpInforShow-article.js
  2. 1 1
      app/js/cmpInforShow-resources.js
  3. 4 4
      app/js/cmpInforShow.js

+ 1 - 1
app/js/cmpInforShow-article.js

@ -31,7 +31,7 @@ mui.ready(function() {
31 31
				dataType: "json",
32 32
				data: {
33 33
					"orgId": orgId,
34
					"pageSize": 1000,
34
					"pageSize": 100,
35 35
					"pageNo": 1
36 36
				},
37 37
				success: function(data) {

+ 1 - 1
app/js/cmpInforShow-resources.js

@ -47,7 +47,7 @@ mui.ready(function() {
47 47
				data: {
48 48
					"orgId": orgId,
49 49
					"pageNo": 1,
50
					"pageSize": 1000,
50
					"pageSize": 100,
51 51
				},
52 52
				success: function(data) {
53 53
					console.log(JSON.stringify(data))

+ 4 - 4
app/js/cmpInforShow.js

@ -149,7 +149,7 @@ mui.ready(function() {
149 149
				dataType: "json",
150 150
				data: {
151 151
					"orgId": orgId,
152
					"pageSize": 1000,
152
					"pageSize": 10,
153 153
					"pageNo": 1
154 154
				},
155 155
				success: function(data) {
@ -157,7 +157,7 @@ mui.ready(function() {
157 157
					if(data.success) {
158 158
						var obj = data.data.data;
159 159
						if(obj.length>0){
160
							document.getElementById("resourceNum").innerText = obj.length;
160
							document.getElementById("resourceNum").innerText = data.data.total;
161 161
							if(obj.length>2){
162 162
								obj.length =2;
163 163
								document.getElementById("seeMoreResource").classList.remove("displayNone");
@ -196,7 +196,7 @@ mui.ready(function() {
196 196
				dataType: "json",
197 197
				data: {
198 198
					"orgId": orgId,
199
					"pageSize": 1000,
199
					"pageSize": 10,
200 200
					"pageNo": 1
201 201
				},
202 202
				success: function(data) {
@ -204,7 +204,7 @@ mui.ready(function() {
204 204
					if(data.success) {
205 205
						var obj = data.data.data;
206 206
						if(obj.length>0){
207
							document.getElementById("articalNum").innerText = obj.length;
207
							document.getElementById("articalNum").innerText = data.data.total;
208 208
							if(obj.length>2){
209 209
								obj.length =2;
210 210
								document.getElementById("seeMoreArtical").classList.remove("displayNone");