Browse Source

修改需求确认

jack 8 years ago
parent
commit
1aed8a5e00
2 changed files with 5 additions and 2 deletions
  1. 4 1
      js/needSure.js
  2. 1 1
      needSure.html

+ 4 - 1
js/needSure.js

@ -33,7 +33,7 @@ $(document).ready(function() {
33 33
					} else if($data.demandAim == 3) {
34 34
						oDemandAim = "其他咨询"
35 35
					}
36
					$("#dialog_consultType").text(oDemandAim);
36
					$("#dialt").text(oDemandAim);
37 37
					$("#dialog_consultContent").text($data.demandContent);
38 38
					$("#nameS").text($data.professor.name);
39 39
					if($data.professor.hasHeadImage == 1) {
@ -56,6 +56,9 @@ $(document).ready(function() {
56 56
					var oString = todStr($data.professor.title, $data.professor.office, $data.professor.department);
57 57
					$("#offt").text(oString);
58 58
					consuId = $data.professor.id;
59
					if(userid==$data.professor.id){
60
						$(".basicBtn").hide();
61
					}
59 62
					demandTitle = $data.demandTitle;
60 63
					demandContent = $data.demandContent;
61 64
					demandType = $data.demandAim

+ 1 - 1
needSure.html

@ -83,7 +83,7 @@
83 83
                </div>
84 84
                <div class="dialoginfotype clearfix inline" style="margin-left:50px">
85 85
                	<span class="floatL" id="">需求目的:</span>
86
                	<span class="dialogtit floatL" id="dialog_consultType"></span>
86
                	<span class="dialogtit floatL" id="dialt"></span>
87 87
                </div>
88 88
                <div class="dialoginfotype clearfix" id="dialog_consultContentContainer">
89 89
                	<div class="floatL" id="dialog_consultContentTitle">需求内容:</div>