jack 7 年 前
コミット
66db92b611
共有1 個のファイルを変更した2 個の追加8 個の削除を含む
  1. 2 8
      app/js/articleShow.js

+ 2 - 8
app/js/articleShow.js

@ -638,19 +638,13 @@ mui.plusReady(function() {
638 638
		if(oCurren.userid == oArticleModule.oWner) {
639 639
			document.getElementById('attBtn').style.display = "none";
640 640
		}
641
		if(oArticleModule.oFlag == 1) {
642
			/*查询是否关注专家*/
643
		oArticleModule.oAjaxGet(baseUrl + "/ajax/watch/hasWatch", {
644
			"watchObject": oArticleModule.oWner,
645
			'orgId': oCurren.userid
646
		}, "get", oArticleModule.attentionGetExpert);
647
		}else{
641
		
648 642
			/*查询是否关注专家*/
649 643
		oArticleModule.oAjaxGet(baseUrl + "/ajax/watch/hasWatch", {
650 644
			"watchObject": oArticleModule.oWner,
651 645
			'professorId': oCurren.userid
652 646
		}, "get", oArticleModule.attentionGetExpert);
653
		}
647
		
654 648
		oArticleModule.oAjaxGet(baseUrl + "/ajax/article/isAgree", {
655 649
			"articleId": oArticleModule.articleId,
656 650
			'operateId': oCurren.userid