jack 7 years ago
parent
commit
37380ab5ae
1 changed files with 6 additions and 6 deletions
  1. 6 6
      js/articalShow.js

+ 6 - 6
js/articalShow.js

187
						$itemlist = $(itemlist);
187
						$itemlist = $(itemlist);
188
						$("#relevantExperts").append($itemlist);
188
						$("#relevantExperts").append($itemlist);
189
						if(data.data.title) {
189
						if(data.data.title) {
190
							if(data.data.department) {
191
								$itemlist.find("#usertitle").text(data.data.title +" , "+ data.data.department);
190
							if(data.data.orgName) {
191
								$itemlist.find("#usertitle").text(data.data.title +" , "+ data.data.orgName);
192
							}else{
192
							}else{
193
								$itemlist.find("#usertitle").text(data.data.title);
193
								$itemlist.find("#usertitle").text(data.data.title);
194
							}
194
							}
195
						}else{
195
						}else{
196
							if(data.data.office) {
196
							if(data.data.office) {
197
								if(data.data.department) {
198
									$itemlist.find("#usertitle").text(data.data.office +" , "+ data.data.department);
197
								if(data.data.orgName) {
198
									$itemlist.find("#usertitle").text(data.data.office +" , "+ data.data.orgName);
199
								}else{
199
								}else{
200
									$itemlist.find("#usertitle").text(data.data.office);
200
									$itemlist.find("#usertitle").text(data.data.office);
201
								}
201
								}
202
							}else{
202
							}else{
203
								if(data.data.department) {
204
									$itemlist.find("#usertitle").text(data.data.department);
203
								if(data.data.orgName) {
204
									$itemlist.find("#usertitle").text(data.data.orgName);
205
								}
205
								}
206
							}
206
							}
207
						}
207
						}