|
@ -109,6 +109,11 @@ $(function() {
|
109
|
109
|
|
110
|
110
|
})
|
111
|
111
|
$(".moreBuUl").on("click","li:not('.rightbtn')",function(){//获取关注对象类型标志
|
|
112
|
$("#item8user").find(".js-load-more").unbind();
|
|
113
|
$("#item8user").find(".js-load-more").remove();
|
|
114
|
$("#item8user").find("ul").each(function () {
|
|
115
|
$(this).html("");
|
|
116
|
});
|
112
|
117
|
watchType=$(this).attr("data-num");
|
113
|
118
|
console.log($(".moreBuUl li:not('.rightbtn')").index(this))
|
114
|
119
|
$("#item8user>.coninfobox").eq($(".moreBuUl li:not('.rightbtn')").index(this)).show().siblings().hide();
|
|
@ -116,14 +121,11 @@ $(function() {
|
116
|
121
|
if(watchType==0){
|
117
|
122
|
attentMy()
|
118
|
123
|
}else if(watchType == 9) {
|
119
|
|
document.getElementById("attendAnswer").innerHTML="";
|
120
|
|
$("#attendAnswer").parent().find(".js-load-more").unbind();
|
121
|
124
|
getMyWatchA(userid,true)
|
122
|
125
|
}else if(watchType == 8) {
|
123
|
|
document.getElementById("attendQuestion").innerHTML="";
|
124
|
|
$("#attendQuestion").parent().find(".js-load-more").unbind();
|
125
|
126
|
getMyWatchQ(userid, true);
|
126
|
127
|
}else{
|
|
128
|
|
127
|
129
|
collAttent(10,1,true);
|
128
|
130
|
}
|
129
|
131
|
})
|
|
@ -773,6 +775,15 @@ $(function() {
|
773
|
775
|
"pageSize": pageSize,
|
774
|
776
|
"pageNo": pageNo
|
775
|
777
|
},
|
|
778
|
beforeSend: function() {
|
|
779
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
|
780
|
$("#proResource").parent().find(".js-load-more").attr("disabled",true);
|
|
781
|
$("#proResource").parent().find(".js-load-more").addClass("active");
|
|
782
|
},
|
|
783
|
complete:function () {
|
|
784
|
$("#proResource").parent().find(".js-load-more").removeAttr("disabled");
|
|
785
|
$("#proResource").parent().find(".js-load-more").removeClass("active");
|
|
786
|
},
|
776
|
787
|
"success": function(data) {
|
777
|
788
|
console.log(data);
|
778
|
789
|
if(data.success) {
|
|
@ -807,19 +818,29 @@ $(function() {
|
807
|
818
|
}
|
808
|
819
|
//分页
|
809
|
820
|
if(isbind==true){
|
810
|
|
$("#proResource").siblings(".tcdPageCode").off("click").createPage({
|
811
|
|
pageCount: Math.ceil(data.data.total / 10),
|
812
|
|
current: data.data.pageNo,
|
813
|
|
backFn: function(p) {
|
814
|
|
$("#proResource").html("");
|
815
|
|
getResource(10, p,false);
|
816
|
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
817
|
|
}
|
818
|
|
});
|
|
821
|
// $("#proResource").siblings(".tcdPageCode").off("click").createPage({
|
|
822
|
// pageCount: Math.ceil(data.data.total / 10),
|
|
823
|
// current: data.data.pageNo,
|
|
824
|
// backFn: function(p) {
|
|
825
|
// $("#proResource").html("");
|
|
826
|
// getResource(10, p,false);
|
|
827
|
// document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
828
|
// }
|
|
829
|
// });
|
|
830
|
$("#proResource").parent().find(".js-load-more").on("click", function () {
|
|
831
|
getResource(10,++pageNo,false);
|
|
832
|
});
|
819
|
833
|
}
|
|
834
|
if (pageNo >= Math.ceil(data.data.total / 10)) {
|
|
835
|
$("#proResource").parent().find(".js-load-more").unbind("click");
|
|
836
|
$("#proResource").parent().find(".js-load-more").hide();
|
|
837
|
}
|
820
|
838
|
}else{
|
821
|
839
|
$("#proResource + .nodatabox").show();
|
822
|
840
|
$("#proResource + .nodatabox").find(".noContip").text("用户尚未发布任何资源");
|
|
841
|
if(isbind == true) {
|
|
842
|
$("#proResource").parent().find(".js-load-more").hide();
|
|
843
|
}
|
823
|
844
|
}
|
824
|
845
|
}
|
825
|
846
|
},
|
|
@ -839,6 +860,15 @@ $(function() {
|
839
|
860
|
"pageSize": pageSize,
|
840
|
861
|
"pageNo": pageNo
|
841
|
862
|
},
|
|
863
|
beforeSend: function() {
|
|
864
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
|
865
|
$("#proArticel").parent().find(".js-load-more").attr("disabled",true);
|
|
866
|
$("#proArticel").parent().find(".js-load-more").addClass("active");
|
|
867
|
},
|
|
868
|
complete:function () {
|
|
869
|
$("#proArticel").parent().find(".js-load-more").removeAttr("disabled");
|
|
870
|
$("#proArticel").parent().find(".js-load-more").removeClass("active");
|
|
871
|
},
|
842
|
872
|
timeout: 10000, //超时设置
|
843
|
873
|
success: function(data) {
|
844
|
874
|
if(data.success) {
|
|
@ -888,19 +918,29 @@ $(function() {
|
888
|
918
|
}
|
889
|
919
|
//分页
|
890
|
920
|
if(isbind==true){
|
891
|
|
$("#proArticel").siblings(".tcdPageCode").off("click").createPage({
|
892
|
|
pageCount: Math.ceil(data.data.total / 10),
|
893
|
|
current: data.data.pageNo,
|
894
|
|
backFn: function(p) {
|
895
|
|
$("#proArticel").html("");
|
896
|
|
getArticle(10, p,false);
|
897
|
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
898
|
|
}
|
899
|
|
});
|
|
921
|
// $("#proArticel").siblings(".tcdPageCode").off("click").createPage({
|
|
922
|
// pageCount: Math.ceil(data.data.total / 10),
|
|
923
|
// current: data.data.pageNo,
|
|
924
|
// backFn: function(p) {
|
|
925
|
// $("#proArticel").html("");
|
|
926
|
// getArticle(10, p,false);
|
|
927
|
// document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
928
|
// }
|
|
929
|
// });
|
|
930
|
$("#proArticel").parent().find(".js-load-more").on("click", function () {
|
|
931
|
getArticle(10,++pageNo,false);
|
|
932
|
});
|
900
|
933
|
}
|
|
934
|
if (pageNo >= Math.ceil(data.data.total / 10)) {
|
|
935
|
$("#proArticel").parent().find(".js-load-more").unbind("click");
|
|
936
|
$("#proArticel").parent().find(".js-load-more").hide();
|
|
937
|
}
|
901
|
938
|
}else{
|
902
|
939
|
$("#proArticel + .nodatabox").show();
|
903
|
940
|
$("#proArticel + .nodatabox").find(".noContip").text("用户尚未发布任何文章");
|
|
941
|
if(isbind==true) {
|
|
942
|
$("#proArticel").parent().find(".js-load-more").hide();
|
|
943
|
}
|
904
|
944
|
}
|
905
|
945
|
|
906
|
946
|
|
|
@ -923,6 +963,15 @@ $(function() {
|
923
|
963
|
"pageSize": pageSize,
|
924
|
964
|
"pageNo": pageNo
|
925
|
965
|
},
|
|
966
|
beforeSend: function() {
|
|
967
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
|
968
|
$("#proPatent").parent().find(".js-load-more").attr("disabled",true);
|
|
969
|
$("#proPatent").parent().find(".js-load-more").addClass("active");
|
|
970
|
},
|
|
971
|
complete:function () {
|
|
972
|
$("#proPatent").parent().find(".js-load-more").removeAttr("disabled");
|
|
973
|
$("#proPatent").parent().find(".js-load-more").removeClass("active");
|
|
974
|
},
|
926
|
975
|
timeout: 10000, //超时设置
|
927
|
976
|
success: function(data) {
|
928
|
977
|
if(data.success) {
|
|
@ -958,19 +1007,30 @@ $(function() {
|
958
|
1007
|
}
|
959
|
1008
|
//分页
|
960
|
1009
|
if(isbind==true){
|
961
|
|
$("#proPatent").siblings(".tcdPageCode").off("click").createPage({
|
962
|
|
pageCount: Math.ceil(data.data.total / 10),
|
963
|
|
current: data.data.pageNo,
|
964
|
|
backFn: function(p) {
|
965
|
|
$("#proPatent").html("");
|
966
|
|
getPatent(10, p,false);
|
967
|
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
968
|
|
}
|
969
|
|
});
|
|
1010
|
// $("#proPatent").siblings(".tcdPageCode").off("click").createPage({
|
|
1011
|
// pageCount: Math.ceil(data.data.total / 10),
|
|
1012
|
// current: data.data.pageNo,
|
|
1013
|
// backFn: function(p) {
|
|
1014
|
// $("#proPatent").html("");
|
|
1015
|
// getPatent(10, p,false);
|
|
1016
|
// document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
1017
|
// }
|
|
1018
|
// });
|
|
1019
|
$("#proPatent").parent().find(".js-load-more").on("click", function () {
|
|
1020
|
getPatent(10,++pageNo,false);
|
|
1021
|
});
|
970
|
1022
|
}
|
|
1023
|
if (pageNo >= Math.ceil(data.data.total / 10)) {
|
|
1024
|
console.log("xmtt");
|
|
1025
|
$("#proPatent").parent().find(".js-load-more").unbind("click");
|
|
1026
|
$("#proPatent").parent().find(".js-load-more").hide();
|
|
1027
|
}
|
971
|
1028
|
}else{
|
972
|
1029
|
$("#proPatent + .nodatabox").show();
|
973
|
1030
|
$("#proPatent + .nodatabox").find(".noContip").text("用户尚未发布任何专利");
|
|
1031
|
if(isbind==true) {
|
|
1032
|
$("#proPatent").parent().find(".js-load-more").hide();
|
|
1033
|
}
|
974
|
1034
|
}
|
975
|
1035
|
}
|
976
|
1036
|
},
|
|
@ -990,6 +1050,15 @@ $(function() {
|
990
|
1050
|
"pageSize": pageSize,
|
991
|
1051
|
"pageNo": pageNo
|
992
|
1052
|
},
|
|
1053
|
beforeSend: function() {
|
|
1054
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
|
1055
|
$("#proPaper").parent().find(".js-load-more").attr("disabled",true);
|
|
1056
|
$("#proPaper").parent().find(".js-load-more").addClass("active");
|
|
1057
|
},
|
|
1058
|
complete:function () {
|
|
1059
|
$("#proPaper").parent().find(".js-load-more").removeAttr("disabled");
|
|
1060
|
$("#proPaper").parent().find(".js-load-more").removeClass("active");
|
|
1061
|
},
|
993
|
1062
|
timeout: 10000, //超时设置
|
994
|
1063
|
success: function(data) {
|
995
|
1064
|
if(data.success) {
|
|
@ -1034,19 +1103,29 @@ $(function() {
|
1034
|
1103
|
}
|
1035
|
1104
|
//分页
|
1036
|
1105
|
if(isbind==true){
|
1037
|
|
$("#proPaper").siblings(".tcdPageCode").off("click").createPage({
|
1038
|
|
pageCount: Math.ceil(data.data.total / 10),
|
1039
|
|
current: data.data.pageNo,
|
1040
|
|
backFn: function(p) {
|
1041
|
|
$("#proPaper").html("");
|
1042
|
|
getPaper(10, p,false);
|
1043
|
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
1044
|
|
}
|
1045
|
|
});
|
|
1106
|
// $("#proPaper").siblings(".tcdPageCode").off("click").createPage({
|
|
1107
|
// pageCount: Math.ceil(data.data.total / 10),
|
|
1108
|
// current: data.data.pageNo,
|
|
1109
|
// backFn: function(p) {
|
|
1110
|
// $("#proPaper").html("");
|
|
1111
|
// getPaper(10, p,false);
|
|
1112
|
// document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
1113
|
// }
|
|
1114
|
// });
|
|
1115
|
$("#proPaper").parent().find(".js-load-more").on("click", function () {
|
|
1116
|
getPaper(10,++pageNo,false);
|
|
1117
|
});
|
1046
|
1118
|
}
|
|
1119
|
if (pageNo >= Math.ceil(data.data.total / 10)) {
|
|
1120
|
$("#proPaper").parent().find(".js-load-more").unbind("click");
|
|
1121
|
$("#proPaper").parent().find(".js-load-more").hide();
|
|
1122
|
}
|
1047
|
1123
|
}else{
|
1048
|
1124
|
$("#proPaper + .nodatabox").show();
|
1049
|
1125
|
$("#proPaper + .nodatabox").find(".noContip").text("用户尚未发布任何论文");
|
|
1126
|
if(isbind) {
|
|
1127
|
$("#proPaper").parent().find(".js-load-more").hide();
|
|
1128
|
}
|
1050
|
1129
|
}
|
1051
|
1130
|
}
|
1052
|
1131
|
},
|
|
@ -1195,12 +1274,12 @@ $(function() {
|
1195
|
1274
|
},
|
1196
|
1275
|
beforeSend: function() {
|
1197
|
1276
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
1198
|
|
$("#attendQuestion").parent().find(".js-load-more").attr("disabled",true);
|
1199
|
|
$("#attendQuestion").parent().find(".js-load-more").addClass("active");
|
|
1277
|
$("#item8user").find(".js-load-more").attr("disabled",true);
|
|
1278
|
$("#item8user").find(".js-load-more").addClass("active");
|
1200
|
1279
|
},
|
1201
|
1280
|
complete:function () {
|
1202
|
|
$("#attendQuestion").parent().find(".js-load-more").removeAttr("disabled");
|
1203
|
|
$("#attendQuestion").parent().find(".js-load-more").removeClass("active");
|
|
1281
|
$("#item8user").find(".js-load-more").removeAttr("disabled");
|
|
1282
|
$("#item8user").find(".js-load-more").removeClass("active");
|
1204
|
1283
|
},
|
1205
|
1284
|
success: function(data) {
|
1206
|
1285
|
if(data.success) {
|
|
@ -1227,13 +1306,14 @@ $(function() {
|
1227
|
1306
|
}
|
1228
|
1307
|
}
|
1229
|
1308
|
if(isbind==true){
|
1230
|
|
$("#attendQuestion").parent().find(".js-load-more").on("click", function () {
|
|
1309
|
$("#item8user").append('<button class="js-load-more"></button>');
|
|
1310
|
$("#item8user").find(".js-load-more").on("click", function () {
|
1231
|
1311
|
getMyWatchQ(id,false);
|
1232
|
1312
|
});
|
1233
|
1313
|
}
|
1234
|
1314
|
if (dataStr.length < rows) {
|
1235
|
|
$("#attendQuestion").parent().find(".js-load-more").unbind("click");
|
1236
|
|
$("#attendQuestion").parent().find(".js-load-more").hide();
|
|
1315
|
$("#item8user").parent().find(".js-load-more").unbind("click");
|
|
1316
|
$("#item8user").parent().find(".js-load-more").hide();
|
1237
|
1317
|
}
|
1238
|
1318
|
}else{
|
1239
|
1319
|
$("#attendQuestion + .nodatabox").show();
|
|
@ -1260,12 +1340,12 @@ $(function() {
|
1260
|
1340
|
},
|
1261
|
1341
|
beforeSend: function() {
|
1262
|
1342
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
1263
|
|
$("#attendAnswer").parent().find(".js-load-more").attr("disabled",true);
|
1264
|
|
$("#attendAnswer").parent().find(".js-load-more").addClass("active");
|
|
1343
|
$("#item8user").find(".js-load-more").attr("disabled",true);
|
|
1344
|
$("#item8user").find(".js-load-more").addClass("active");
|
1265
|
1345
|
},
|
1266
|
1346
|
complete:function () {
|
1267
|
|
$("#attendAnswer").parent().find(".js-load-more").removeAttr("disabled");
|
1268
|
|
$("#attendAnswer").parent().find(".js-load-more").removeClass("active");
|
|
1347
|
$("#item8user").find(".js-load-more").removeAttr("disabled");
|
|
1348
|
$("#item8user").find(".js-load-more").removeClass("active");
|
1269
|
1349
|
},
|
1270
|
1350
|
success: function(data) {
|
1271
|
1351
|
if(data.success) {
|
|
@ -1283,13 +1363,14 @@ $(function() {
|
1283
|
1363
|
answer(dataStr[i], listLi);
|
1284
|
1364
|
}
|
1285
|
1365
|
if(isbind==true){
|
1286
|
|
$("#attendAnswer").parent().find(".js-load-more").on("click", function () {
|
|
1366
|
$("#item8user").append('<button class="js-load-more"></button>');
|
|
1367
|
$("#item8user").find(".js-load-more").on("click", function () {
|
1287
|
1368
|
getMyWatchA(id,false);
|
1288
|
1369
|
});
|
1289
|
1370
|
}
|
1290
|
1371
|
if (dataStr.length < rows) {
|
1291
|
|
$("#attendAnswer").parent().find(".js-load-more").unbind("click");
|
1292
|
|
$("#attendAnswer").parent().find(".js-load-more").hide();
|
|
1372
|
$("#item8user").parent().find(".js-load-more").unbind("click");
|
|
1373
|
$("#item8user").parent().find(".js-load-more").hide();
|
1293
|
1374
|
}
|
1294
|
1375
|
}else{
|
1295
|
1376
|
$("#attendAnswer + .nodatabox").show();
|
|
@ -1646,6 +1727,15 @@ $(function() {
|
1646
|
1727
|
"pageNo": pageNo,
|
1647
|
1728
|
"pageSize":pageSize
|
1648
|
1729
|
},
|
|
1730
|
beforeSend: function() {
|
|
1731
|
// $(".table-body").append('<img src="../images/loading.gif" class="loading" />');
|
|
1732
|
$("#item8user").find(".js-load-more").attr("disabled",true);
|
|
1733
|
$("#item8user").find(".js-load-more").addClass("active");
|
|
1734
|
},
|
|
1735
|
complete:function () {
|
|
1736
|
$("#item8user").find(".js-load-more").removeAttr("disabled");
|
|
1737
|
$("#item8user").find(".js-load-more").removeClass("active");
|
|
1738
|
},
|
1649
|
1739
|
timeout: 10000, //超时设置
|
1650
|
1740
|
success: function(data) {
|
1651
|
1741
|
console.log(data)
|
|
@ -1653,8 +1743,7 @@ $(function() {
|
1653
|
1743
|
if(data.success && data.data.data != "") {
|
1654
|
1744
|
var datalist = data.data.data;
|
1655
|
1745
|
if(num==1){
|
1656
|
|
tcdPage=$("#attendPro").parent().find(".tcdPageCode");
|
1657
|
|
document.getElementById("attendPro").innerHTML="";
|
|
1746
|
// document.getElementById("attendPro").innerHTML="";
|
1658
|
1747
|
for(var i = 0; i < datalist.length; i++) {
|
1659
|
1748
|
var liItem = document.createElement("li");
|
1660
|
1749
|
liItem.className="mui-table-view-cell";
|
|
@ -1662,49 +1751,72 @@ $(function() {
|
1662
|
1751
|
detailPro(datalist[i],liItem);
|
1663
|
1752
|
}
|
1664
|
1753
|
}else if(num==2){
|
1665
|
|
tcdPage=$("#attendRes").parent().find(".tcdPageCode");
|
1666
|
1754
|
detailRes(datalist);
|
1667
|
1755
|
}else if(num==3){
|
1668
|
|
tcdPage=$("#attendArt").parent().find(".tcdPageCode");
|
1669
|
1756
|
detailArt(datalist);
|
1670
|
1757
|
}else if(num==4){
|
1671
|
|
tcdPage=$("#attendPatent").parent().find(".tcdPageCode");
|
1672
|
1758
|
detailPat(datalist);
|
1673
|
1759
|
}else if(num==5){
|
1674
|
|
tcdPage=$("#attendPaper").parent().find(".tcdPageCode");
|
1675
|
1760
|
detailPer(datalist);
|
1676
|
1761
|
}else if(num==6){
|
1677
|
|
tcdPage=$("#attendCmp").parent().find(".tcdPageCode");
|
1678
|
1762
|
detailCmp(datalist);
|
1679
|
1763
|
}else if(num==7){
|
1680
|
|
tcdPage=$("#attendDemand").parent().find(".tcdPageCode");
|
1681
|
1764
|
detailDemand(datalist);
|
1682
|
1765
|
}
|
1683
|
1766
|
if(isbind==true){
|
1684
|
|
tcdPage.off("click").createPage({
|
1685
|
|
pageCount: Math.ceil(data.data.total / 10),
|
1686
|
|
current: data.data.pageNo,
|
1687
|
|
backFn: function(p) {
|
1688
|
|
collAttent(10, p,false,num);
|
1689
|
|
document.body.scrollTop = document.documentElement.scrollTop = 0;
|
1690
|
|
}
|
1691
|
|
});
|
|
1767
|
// tcdPage.off("click").createPage({
|
|
1768
|
// pageCount: Math.ceil(data.data.total / 10),
|
|
1769
|
// current: data.data.pageNo,
|
|
1770
|
// backFn: function(p) {
|
|
1771
|
// collAttent(10, p,false,num);
|
|
1772
|
// document.body.scrollTop = document.documentElement.scrollTop = 0;
|
|
1773
|
// }
|
|
1774
|
// });
|
|
1775
|
$("#item8user").append('<button class="js-load-more"></button>');
|
|
1776
|
$("#item8user").find(".js-load-more").on("click", function () {
|
|
1777
|
collAttent(10,++pageNo,false,num);
|
|
1778
|
});
|
1692
|
1779
|
}
|
|
1780
|
if (pageNo >= Math.ceil(data.data.total / 10)) {
|
|
1781
|
$("#item8user").find(".js-load-more").unbind("click");
|
|
1782
|
$("#item8user").find(".js-load-more").hide();
|
|
1783
|
}
|
1693
|
1784
|
}else{
|
1694
|
1785
|
if(num==1){
|
1695
|
1786
|
document.getElementById("attendPro").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1787
|
if(isbind==true) {
|
|
1788
|
$("#attendPro").parent().find(".js-load-more").hide()
|
|
1789
|
}
|
1696
|
1790
|
}else if(num==2){
|
1697
|
1791
|
document.getElementById("attendRes").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1792
|
if(isbind==true) {
|
|
1793
|
$("#attendRes").parent().find(".js-load-more").hide()
|
|
1794
|
}
|
1698
|
1795
|
}else if(num==3){
|
1699
|
1796
|
document.getElementById("attendArt").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1797
|
if(isbind==true) {
|
|
1798
|
$("#attendArt").parent().find(".js-load-more").hide()
|
|
1799
|
}
|
1700
|
1800
|
}else if(num==4){
|
1701
|
1801
|
document.getElementById("attendPatent").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1802
|
if(isbind==true) {
|
|
1803
|
$("#attendPatent").parent().find(".js-load-more").hide()
|
|
1804
|
}
|
1702
|
1805
|
}else if(num==5){
|
1703
|
1806
|
document.getElementById("attendPaper").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1807
|
if(isbind==true) {
|
|
1808
|
$("#attendPaper").parent().find(".js-load-more").hide()
|
|
1809
|
}
|
1704
|
1810
|
}else if(num==6){
|
1705
|
1811
|
document.getElementById("attendCmp").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1812
|
if(isbind==true) {
|
|
1813
|
$("#attendCmp").parent().find(".js-load-more").hide()
|
|
1814
|
}
|
1706
|
1815
|
}else if(num==7){
|
1707
|
1816
|
document.getElementById("attendDemand").parentNode.querySelector(".nodatabox").classList.remove("displayNone");
|
|
1817
|
if(isbind==true) {
|
|
1818
|
$("#attendDemand").parent().find(".js-load-more").hide()
|
|
1819
|
}
|
1708
|
1820
|
}
|
1709
|
1821
|
}
|
1710
|
1822
|
},
|
|
@ -1749,7 +1861,7 @@ $(function() {
|
1749
|
1861
|
liItem.innerHTML = strAdd
|
1750
|
1862
|
}
|
1751
|
1863
|
function detailCmp(datalist) {
|
1752
|
|
document.getElementById("attendCmp").innerHTML="";
|
|
1864
|
// document.getElementById("attendCmp").innerHTML="";
|
1753
|
1865
|
var arr=[];
|
1754
|
1866
|
for(var i in datalist) {
|
1755
|
1867
|
arr[i]=datalist[i].watchObject;
|
|
@ -1791,7 +1903,7 @@ $(function() {
|
1791
|
1903
|
});
|
1792
|
1904
|
}
|
1793
|
1905
|
function detailPat(datalist) {
|
1794
|
|
document.getElementById("attendPatent").innerHTML="";
|
|
1906
|
// document.getElementById("attendPatent").innerHTML="";
|
1795
|
1907
|
if(datalist.length<0){
|
1796
|
1908
|
$("#attendPatent + .nodatabox").removeClass("displayNone");
|
1797
|
1909
|
return;
|
|
@ -1832,7 +1944,7 @@ $(function() {
|
1832
|
1944
|
});
|
1833
|
1945
|
}
|
1834
|
1946
|
function detailPer(datalist) {
|
1835
|
|
document.getElementById("attendPaper").innerHTML="";
|
|
1947
|
// document.getElementById("attendPaper").innerHTML="";
|
1836
|
1948
|
var arr=[];
|
1837
|
1949
|
for(var i in datalist) {
|
1838
|
1950
|
arr[i]=datalist[i].watchObject;
|
|
@ -1881,7 +1993,7 @@ $(function() {
|
1881
|
1993
|
});
|
1882
|
1994
|
}
|
1883
|
1995
|
function detailRes(datalist) {
|
1884
|
|
document.getElementById("attendRes").innerHTML="";
|
|
1996
|
// document.getElementById("attendRes").innerHTML="";
|
1885
|
1997
|
for(var i = 0; i < datalist.length; i++) {
|
1886
|
1998
|
var dataStr = datalist[i].resource;
|
1887
|
1999
|
var namepo, userType;
|
|
@ -1918,7 +2030,7 @@ $(function() {
|
1918
|
2030
|
}
|
1919
|
2031
|
}
|
1920
|
2032
|
function detailArt(datalist) {
|
1921
|
|
document.getElementById("attendArt").innerHTML="";
|
|
2033
|
// document.getElementById("attendArt").innerHTML="";
|
1922
|
2034
|
for(var i = 0; i < datalist.length; i++) {
|
1923
|
2035
|
var dataItem = datalist[i].article;
|
1924
|
2036
|
var arImg = "../images/default-artical.jpg";
|
|
@ -1954,7 +2066,7 @@ $(function() {
|
1954
|
2066
|
}
|
1955
|
2067
|
}
|
1956
|
2068
|
function detailDemand(datalist) {
|
1957
|
|
document.getElementById("attendDemand").innerHTML="";
|
|
2069
|
// document.getElementById("attendDemand").innerHTML="";
|
1958
|
2070
|
var arr=[];
|
1959
|
2071
|
for(var i in datalist) {
|
1960
|
2072
|
arr[i]=datalist[i].watchObject;
|