Browse Source

修正需求

LIPENGTAO1313 6 years ago
parent
commit
c5aeefbc04

+ 4 - 1
cmp-portal/js/cmp-needList.js

@ -63,8 +63,11 @@ $(document).ready(function() {
63 63
			type: "GET",
64 64
			timeout: 10000,
65 65
			dataType: "json",
66
			traditional: true,
66 67
			data: {
67
				"oid": id,
68
				"state":[1],
69
    			'oname':$.cookie('orgName'),
70
				"uid":id,
68 71
				"pageNo": pageNo,
69 72
				"pageSize": pageSize
70 73
			},

+ 6 - 5
cmp-portal/js/cmpInformation.js

@ -79,6 +79,7 @@ $(function() {
79 79
				} else {
80 80
					$("#proName").text($info.name);
81 81
				}
82
				demandListVal(true,$info.name);
82 83
				commerceInfo($info.name);//工商信息
83 84
				if($info.authStatus == "3") {
84 85
					$("#proAuth").addClass("authicon-com-ok");
@ -218,10 +219,11 @@ $(function() {
218 219
				}
219 220
			});
220 221
		},
221
       	demandListVal=function(isbind) {
222
       	demandListVal=function(isbind,par) {
222 223
			oAjax("/ajax/demand/pq",{
223
				"state":'1',
224
				"oid":orgId,
224
				"state":[1],
225
    			'oname':par,
226
				"uid":orgId,
225 227
				"pageSize":5
226 228
			}, "get", function(data){
227 229
				var $info = data.data.data;
@ -246,7 +248,7 @@ $(function() {
246 248
							strCon+='<ul class="showli clearfix h3Font">'
247 249
							
248 250
							if($data.city){ strCon+='<li>所在城市:'+$data.city+'</li>' }
249
							if($data.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
251
							if($data.duration!=0){ strCon+='<li>预计周期:'+demandDuration[$data.duration]+'</li>' }
250 252
							if($data.cost!=0){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
251 253
							if($data.invalidDay){ strCon+='<li>有效期至:'+TimeTr($data.invalidDay)+'</li>' }
252 254
							
@ -612,7 +614,6 @@ $(function() {
612 614
	
613 615
	queryPubCount();
614 616
	getCmpInfo(); //获取详细信息
615
	demandListVal(true);
616 617
	articalListVal(true);
617 618
	bindClickFun();
618 619
	

+ 7 - 42
demandModify.html

@ -96,9 +96,9 @@
96 96
								<span></span>
97 97
							</li>
98 98
							<li class="floatR col-w-6 postChild">
99
								<p class="demandTit">预期时长</p>
99
								<p class="demandTit">预计合作周期</p>
100 100
								<select class="frmcontype fColor" id="budget" onchange="seleCo(this)">
101
									<option value="0">请选择预期时长</option>
101
									<option value="0">请选择预计合作周期</option>
102 102
									<option value="1">1个月内</option>
103 103
									<option value="2">1-3个月</option>
104 104
									<option value="3">3-6个月</option>
@ -121,6 +121,10 @@
121 121
								<span></span>
122 122
							</li>
123 123
							<li class="floatR col-w-6 postChild">
124
								<p class="demandTit">您所在的企业名称<em class="requiredcon">*</em><span class="frmconmsg" style="display: none;">50字以内</span></p>
125
								<input type="text" placeholder="建议填写与营业执照一致的企业名称" class="frmcontype" maxlength="50" id="org"/>
126
							</li>
127
							<li class=" col-w-6 postChild">
124 128
								<p class="demandTit">联系电话<em class="requiredcon">*</em><span class="frmconmsg" style="display: none;">50字以内</span></p>
125 129
								<input type="text" placeholder="请填写您的联系电话,以便客服与您联系" class="frmcontype fColor" maxlength="50" id="phone" />
126 130
							</li>
@ -132,46 +136,7 @@
132 136
							<span class="lastDemand" id="closeDemand" style="cursor:pointer;">关闭该需求</span>
133 137
						</div>
134 138
					</div>
135
					<div class="rightconBox floatR">
136
						<div class="conItem conItemG alignCenter" id="enterprise" style="border:none;">
137
							<a href="javascript:" class="qiyego">
138
								<div class="madiaHead cmpHead" id="Qimg">
139
									<div class="boxBlock">
140
										<img class="boxBlockimg" src="" id="companyImg">
141
									</div>
142
								</div>
143
							</a>
144
							<div class="proInfo">
145
								<div class="h3Font clearfix">
146
									<a class="h1Font qiyego" id="Qname">
147

148
										
149
									</a>
150
									<span class="authiconNew "  id="QauthFlag"></span>
151
								</div>
152
							</div>
153
							<div class="form-item otherBlock currentBlock">
154
								<div class="aboutTit">联系人</div>
155
								<div class="form-result addexpertRe" style="margin-top:0">
156
									<ul class="addexpert" id="expertli">
157
										<li class="flexCenter">
158
											<div class="madiaHead useHead" id="proImg">
159

160
											</div>
161
											<div class="madiaInfo" style="padding-right:0 ;">
162
												<p class="ellipsisSty">
163
													<span class="h1Font" id="proName"></span>
164
													<em class="authiconNew " id="auth"></em>
165
												</p>
166
												<p class="h2Font ellipsisSty" id="brief"></p>
167
											</div>
168
										</li>
169
									</ul>
170
								</div>
171
							</div>
172
						</div>
173

174
					</div>
139
					
175 140
				</div>
176 141
			</div>
177 142
		</div>

+ 1 - 1
demandShow.html

@ -62,7 +62,7 @@
62 62
						<a class="h1Font qiyego" id="Qname"></a>
63 63
						<span class="authiconNew" id="QauthFlag"></span>
64 64
					</div>
65
					<div class="goSpan">
65
					<div class="goSpan displayNone">
66 66
						<span class="attenSpan">关注</span>
67 67
					</div>
68 68
					<div class="form-item otherBlock currentBlock">

+ 7 - 5
js/cmpInforShow.js

@ -79,6 +79,7 @@ $(function() {
79 79
				} else {
80 80
					$("#proName").text($info.name);
81 81
				}
82
				demandListVal(true, $info.name);
82 83
				commerceInfo($info.name);//工商信息
83 84
				if($info.authStatus == "3") {
84 85
					$("#proAuth").addClass("authicon-com-ok");
@ -218,10 +219,11 @@ $(function() {
218 219
				}
219 220
			});
220 221
		},
221
       	demandListVal=function(isbind) {
222
       	demandListVal=function(isbind, par) {
222 223
			oAjax("/ajax/demand/pq",{
223
				"state":'1',
224
				"oid":orgId,
224
				"state":[1],
225
    			'oname':par,
226
				"uid":orgId,
225 227
				"pageSize":5
226 228
			}, "get", function(data){
227 229
				var $info = data.data.data;
@ -246,7 +248,7 @@ $(function() {
246 248
							strCon+='<ul class="showli clearfix h3Font">'
247 249
							
248 250
							if($data.city){ strCon+='<li>所在城市:'+$data.city+'</li>' }
249
							if($data.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
251
							if($data.duration!=0){ strCon+='<li>预计周期:'+demandDuration[$data.duration]+'</li>' }
250 252
							if($data.cost!=0){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
251 253
							if($data.invalidDay){ strCon+='<li>有效期至:'+TimeTr($data.invalidDay)+'</li>' }
252 254
							
@ -723,7 +725,7 @@ $(function() {
723 725
	queryPubCount();
724 726
	getCmpInfo(); //获取详细信息
725 727
	ifcollectionAbout(orgId,$(".goSpan").find(".attenSpan"),6);
726
	demandListVal(true);
728
	
727 729
	articalListVal(true);
728 730
	bindClickFun();
729 731
	

+ 14 - 67
js/demandModify.js

@ -2,7 +2,6 @@ $(document).ready(function() {
2 2
	loginStatus(); //判断个人是否登录
3 3
	valUser();
4 4
	var userid = $.cookie("userid");
5
	personMess()
6 5
	var demandId = GetQueryString("demandId");
7 6
	var a = new Date();
8 7
	var c = a.getFullYear() + "-" + (Number(a.getMonth()) + 1) + "-" + (Number(a.getDate()) + 1);
@ -53,6 +52,7 @@ $(document).ready(function() {
53 52
					$("#budget").val($data.duration);
54 53
					$("#createTime").val(changeTime($data.invalidDay));
55 54
					$("#phone").val($data.contactNum);
55
					$("#org").val($data.orgName);
56 56
					if($data.cost == 0) {
57 57
						$("#spendCost").css("color", "#999");
58 58
					}
@ -105,10 +105,17 @@ $(document).ready(function() {
105 105
				return;
106 106
			}
107 107
		}
108
		if($("#phone").val().trim() == "") {
108
		if($("#org").val().trim() == "") {
109
			$.MsgBox.Alert('提示', '请填写您所在的企业名称');
110
			return;
111
		} else if($("#org").val().length > 50) {
112
			$.MsgBox.Alert('提示', '您所在的企业名称不得超过50个字');
113
			return;
114
		}
115
		if($("#org").val().trim() == "") {
109 116
			$.MsgBox.Alert('提示', '请填写联系电话');
110 117
			return;
111
		} else if($("#phone").val().length > 50) {
118
		} else if($("#org").val().length > 50) {
112 119
			$.MsgBox.Alert('提示', '联系电话不得超过50个字');
113 120
			return;
114 121
		}
@ -203,7 +210,9 @@ $(document).ready(function() {
203 210
				"invalidDay": st6($("#createTime").val()),
204 211
				"contactNum": $("#phone").val(),
205 212
				"modifier": userid,
206
				"id": demandId
213
				"id": demandId,
214
			    'orgName': $('#org').val(),
215
			    'source': 'ekexiuWeb'
207 216
			},
208 217
			"contentType": "application/x-www-form-urlencoded",
209 218
			"traditional": true,
@ -218,66 +227,4 @@ $(document).ready(function() {
218 227
			}
219 228
		});
220 229
	}
221
	/*查询企业信息*/
222
	function queryOrg(orgId) {
223
		$.ajax({
224
			"url": "/ajax/org/" + orgId,
225
			"type": "GET",
226
			"traditional": true,
227
			"dataType": "json",
228
			"success": function(data) {
229
				if(data.success) {
230
					var $data = data.data;
231
					if($data.isJoin == 1) {
232
						if($data.forShort) {
233
							$("#Qname").text($data.forShort)
234
						} else {
235
							$("#Qname").text($data.name)
236
						}
237
						//$("#Qname,.qiyego").attr("href", "cmpInforShow.html?orgId=" + $data.id);
238
						if($data.authStatus == 3) {
239
							$("#QauthFlag").addClass("authicon-com-ok").attr("title", "科袖认证企业");
240
						}
241
						if($data.hasOrgLogo) {
242
							$("#companyImg").attr("src", "/images/org/" + $data.id + ".jpg");
243
						} else {
244
							$("#companyImg").attr("src", "/images/default-icon.jpg");
245
						}
246
					} else {
247
						$("#Qname").text($data.name);
248
						$("#companyImg").attr("src", "/images/default-icon.jpg");
249
					}
250
				}
251
			},
252
			"error": function() {
253
				$.MsgBox.Alert('提示', '服务器连接超时');
254
			}
255
		});
256
	}
257

258
	function personMess() {
259
		$.ajax({
260
			"url": "/ajax/professor/baseInfo/" + userid,
261
			"type": "GET",
262
			"traditional": true,
263
			"dataType": "json",
264
			"success": function(data) {
265
				if(data.success) {
266
					var $data = data.data;
267
					var userType = autho($data.authType, $data.orgAuth, $data.authStatus);
268
					$("#auth").attr("title", userType.title).addClass(userType.sty);
269
					$("#proName").text($data.name);
270
					if($data.hasHeadImage) {
271
						$("#proImg").attr("style", "background-image: url(/images/head/" + $data.id + "_l.jpg);");
272
					}
273
					var oT = ($data.title) ? $data.title : ($data.office ? $data.office : "");
274
					$("#brief").text(oT);
275
					queryOrg($data.orgId);
276
				}
277
			},
278
			"error": function() {
279
				$.MsgBox.Alert('提示', '服务器连接超时');
280
			}
281
		});
282
	}
283
})
230
});

+ 33 - 22
js/demandShow.js

@ -77,7 +77,7 @@ $(document).ready(function() {
77 77
					document.title = demandTit;
78 78
					var strCon="";
79 79
					if($da.city){ strCon+='<li>所在城市:'+$da.city+'</li>' }
80
					if($da.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$da.duration]+'</li>' }
80
					if($da.duration!=0){ strCon+='<li>预计周期:'+demandDuration[$da.duration]+'</li>' }
81 81
					if($da.cost!=0){ strCon+='<li>费用预算:'+demandCost[$da.cost]+'</li>' }
82 82
					if($da.invalidDay){ strCon+='<li>有效期至:'+TimeTr($da.invalidDay)+'</li>' }
83 83
					$(strCon).appendTo($("#demandInf"));
@ -95,7 +95,7 @@ $(document).ready(function() {
95 95
					}else if($da.state==3){
96 96
						$(".showStatus").html('已关闭');
97 97
					}
98
					cmpFun($da.orgId);
98
					cmpFun($da.orgName);
99 99
					userFun($da.creator);
100 100
					
101 101
					consuId = $da.creator;
@ -110,31 +110,42 @@ $(document).ready(function() {
110 110
		
111 111
	}
112 112
	/*企业用户信息*/
113
	function cmpFun(id) {
113
	function cmpFun(par) {
114 114
		$.ajax({
115
			"url": "/ajax/org/" + id,
115
			"url": "/ajax/org/queryByName",
116
			'data': {
117
				name: par
118
			},
116 119
			"type": "get",
117 120
			"async": true,
118 121
			"success": function(data) {
119 122
				if(data.success && data.data) {
120
					if(data.data.forShort) {
121
						$("#Qname").text(data.data.forShort);
122
					}else{
123
						$("#Qname").text(data.data.name);
124
					}
125
					var img="/images/default-icon.jpg";
126
					if(data.data.hasOrgLogo==1){
127
						img="/images/org/" + data.data.id + ".jpg";
128
					}
129
					$("#companyImg").attr("src",img);
130
					$("#companyImg").parents(".cmpHead").attr("href","cmpInforShow.html?orgId="+data.data.id);
131
					$("#companyImg").parents(".cmpHead").attr("data-id",data.data.id);
132
					$("#Qname").attr("href","cmpInforShow.html?orgId="+data.data.id);
133
					if(data.data.authStatus==3){
134
						$("#QauthFlag").addClass("authicon-com-ok").attr("title","科袖认证企业")
135
					}
136
					if(userid){
137
						ifcollectionAbout(data.data.id,$(".goSpan").find(".attenSpan"), 6)
123
					if(data.data.name) {
124
						$(".goSpan").show();
125
						if(data.data.forShort) {
126
							$("#Qname").text(data.data.forShort);
127
						}else{
128
							$("#Qname").text(data.data.name);
129
						}
130
						var img="/images/default-icon.jpg";
131
						if(data.data.hasOrgLogo==1){
132
							img="/images/org/" + data.data.id + ".jpg";
133
						}
134
						$("#companyImg").attr("src",img);
135
						$("#companyImg").parents(".cmpHead").attr("href","cmpInforShow.html?orgId="+data.data.id);
136
						$("#companyImg").parents(".cmpHead").attr("data-id",data.data.id);
137
						$("#Qname").attr("href","cmpInforShow.html?orgId="+data.data.id);
138
						if(data.data.authStatus==3){
139
							$("#QauthFlag").addClass("authicon-com-ok").attr("title","科袖认证企业")
140
						}
141
						if(userid){
142
							ifcollectionAbout(data.data.id,$(".goSpan").find(".attenSpan"), 6)
143
						}
144
					} else {
145
						$("#companyImg").attr("src",'/images/default-icon.jpg');
146
						$("#Qname").text(par);
147
						$("#companyImg").parents(".cmpHead").removeAttr("href");
148
						$("#Qname").parents(".cmpHead").removeAttr("href");
138 149
					}
139 150
				}
140 151
			},

+ 2 - 83
js/index.js

@ -43,68 +43,9 @@ $(function(){
43 43
	$("#postNow").click(function(){
44 44
		if(userid=="null"||userid==undefined){
45 45
			location.href="login.html";
46
			return;
46 47
		}
47
		var $status=["0","1"];
48
		$.ajax({//查询是否有发布中和已过期的需求
49
			url:"/ajax/demand/qc",
50
			type:"get",
51
			data:{
52
				state:$status,
53
				uid:userid
54
			},
55
			async:true,
56
			datatype:"json",
57
			traditional: true,
58
			success:function(data){
59
				console.log(data)
60
				var statusN=data.data;
61
				if(statusN){
62
					window.open("postDemand.html");
63
				}else{
64
					$(".blackcover2").fadeIn();
65
					var btnOk='<input class="mb_btn mb_btnOk mb_btnOkpub" type="button" disabled value="确定">'
66
					$(".modelContain").show(); $("body").addClass("modelOpen");
67
					$(".mb-listL").remove();$("#promotTh").prepend(sureOrg);
68
					$(".mb_btnOk").remove(); $("#promotGt").prepend(btnOk);
69
					
70
					$.ajax({
71
						"url": "/ajax/professor/editBaseInfo/" + userid,
72
						"type": "get",
73
						"async": true,
74
						"datatype":"json",
75
						"success": function(data) {
76
							if(data.success && data.data) {
77
								if(data.data.orgName!=""){
78
									$(".setTimeBlock .sureOrg").val(data.data.orgName);
79
									$("#oldName").val(data.data.orgName);
80
								}
81
								if($(".setTimeBlock .sureOrg").val().length>0){
82
									$(".setTimeBlock").find(".mb_btnOkpub").removeAttr("disabled");
83
								}
84
							}
85
						}
86
					});
87
					
88
					$(".setTimeBlock").on("click",".mb_btnOkpub", function() {
89
						$(".blackcover2").fadeOut();
90
						$(".modelContain").hide();
91
						$("body").removeClass("modelOpen");
92
						var newName=$(".setTimeBlock .sureOrg").val();
93
						if(newName.length<50){
94
							if(newName == $("#oldName").val()){
95
								location.href="postDemand.html";
96
							}else{
97
								updateOrgName(newName);
98
							}
99
						}else{
100
							$.MsgBox.Alert("提示", "机构名称不得超过50个字");
101
						}
102
						
103
					})
104
				}
105
			}
106
		});
107
		
48
	    window.open("postDemand.html");
108 49
	})
109 50
	/*我是专家*/
110 51
	$("#JoinKeXiu").click(function(){
@ -113,28 +54,6 @@ $(function(){
113 54
		}
114 55
		location.href="expert-authentication.html"
115 56
	})
116
	function updateOrgName(newName){
117
		$.ajax({
118
			"url": "/ajax/professor/org",
119
			"type": "POST",
120
			"async": true,
121
			"data":{
122
				"id":userid,
123
				"name":newName
124
			},
125
			"success": function(data) {
126
				if(data.success && data.data) {
127
					console.log(data)
128
					$.MsgBox.Confirm("提示", "机构名称修改成功",function(){
129
						location.href="postDemand.html";
130
					});
131
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
132
				}
133
			}
134
		});
135
	}
136
	
137
	
138 57
	mouseIn()
139 58
	ruZhuCmp()
140 59
	resShare()

+ 1 - 1
js/needList.js

@ -75,7 +75,7 @@ $(document).ready(function() {
75 75
			strCon+='<ul class="showli clearfix h3Font">'
76 76
			
77 77
			if($data.city){ strCon+='<li>所在城市:'+$data.city+'</li>' }
78
			if($data.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
78
			if($data.duration!=0){ strCon+='<li>预计周期:'+demandDuration[$data.duration]+'</li>' }
79 79
			if($data.cost!=0){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
80 80
			if($data.invalidDay){ strCon+='<li>有效期至:'+TimeTr($data.invalidDay)+'</li>' }
81 81
			

+ 12 - 47
js/postDemand.js

@ -93,6 +93,13 @@ $(document).ready(function() {
93 93
			$.MsgBox.Alert('提示', '请选择需求有效期');
94 94
			return;
95 95
		}
96
		if($("#org").val().trim() == "") {
97
			$.MsgBox.Alert('提示', '您所在的企业名称');
98
			return;
99
		} else if($("#org").val().length > 50) {
100
			$.MsgBox.Alert('提示', '您所在的企业名称不得超过50个字');
101
			return;
102
		}
96 103
		if($("#phone").val().trim() == "") {
97 104
			$.MsgBox.Alert('提示', '请填写联系电话');
98 105
			return;
@ -128,7 +135,8 @@ $(document).ready(function() {
128 135
				"invalidDay": st6($("#createTime").val()),
129 136
				"contactNum": $("#phone").val(),
130 137
				"creator": userid,
131
				"orgId": orgId
138
    			'orgName': $("#org").val(),
139
    			'source': 'ekexiuWeb'
132 140
			},
133 141
			"contentType": "application/x-www-form-urlencoded",
134 142
			"traditional": true,
@ -143,42 +151,6 @@ $(document).ready(function() {
143 151
			}
144 152
		});
145 153
	}
146
	/*查询企业信息*/
147
	function queryOrg() {
148
		$.ajax({
149
			"url": "/ajax/org/" + orgId,
150
			"type": "GET",
151
			"traditional": true,
152
			"dataType": "json",
153
			"success": function(data) {
154
				if(data.success) {
155
					var $data = data.data;
156
					if($data.isJoin == 1) {
157
						if($data.forShort) {
158
							$("#Qname").text($data.forShort)
159
						} else {
160
							$("#Qname").text($data.name)
161
						}
162
//						$("#Qname,.qiyego").attr("href", "cmpInforShow.html?orgId=" + $data.id);
163
						if($data.authStatus == 3) {
164
							$("#QauthFlag").addClass("authicon-com-ok").attr("title", "科袖认证企业");
165
						}
166
						if($data.hasOrgLogo) {
167
							$("#companyImg").attr("src", "/images/org/" + $data.id + ".jpg");
168
						} else {
169
							$("#companyImg").attr("src", "/images/default-icon.jpg");
170
						}
171
					} else {
172
						$("#Qname").text($data.name);
173
						$("#companyImg").attr("src", "/images/default-icon.jpg");
174
					}
175
				}
176
			},
177
			"error": function() {
178
				$.MsgBox.Alert('提示', '服务器连接超时');
179
			}
180
		});
181
	}
182 154
	personMess()
183 155

184 156
	function personMess() {
@ -190,15 +162,7 @@ $(document).ready(function() {
190 162
			"success": function(data) {
191 163
				if(data.success) {
192 164
					var $data = data.data;
193
					var userType = autho($data.authType, $data.orgAuth, $data.authStatus);
194
					$("#auth").attr("title", userType.title).addClass(userType.sty);
195 165
					$("#proName").text($data.name);
196
					if($data.hasHeadImage) {
197
						$("#proImg").attr("style", "background-image: url(/images/head/" + $data.id + "_l.jpg);");
198
					}
199
					var oT = ($data.title) ? $data.title : ($data.office ? $data.office : "");
200
					$("#brief").text(oT);
201
					
202 166
					if($data.province) {
203 167
						$("#oprovince").text($data.province)
204 168
					}
@ -222,8 +186,9 @@ $(document).ready(function() {
222 186
					if($data.phone) {
223 187
						$('#phone').val($data.phone)
224 188
					}
225
					orgId = $data.orgId;
226
					queryOrg();
189
					if($data.orgName) {
190
						$('#org').val($data.orgName);
191
					}
227 192
				}
228 193
			},
229 194
			"error": function() {

+ 1 - 1
js/userInforShow.js

@ -466,7 +466,7 @@ $(function() {
466 466
							strCon+='<ul class="showli clearfix h3Font">'
467 467
							
468 468
							if($data.city){ strCon+='<li>所在城市:'+$data.city+'</li>' }
469
							if($data.duration!=0){ strCon+='<li>预期时长:'+demandDuration[$data.duration]+'</li>' }
469
							if($data.duration!=0){ strCon+='<li>预计周期:'+demandDuration[$data.duration]+'</li>' }
470 470
							if($data.cost!=0){ strCon+='<li>费用预算:'+demandCost[$data.cost]+'</li>' }
471 471
							if($data.invalidDay){ strCon+='<li>有效期至:'+TimeTr($data.invalidDay)+'</li>' }
472 472
							

+ 6 - 41
postDemand.html

@ -110,9 +110,9 @@
110 110
								<span></span>
111 111
							</li>
112 112
							<li class="floatR col-w-6 postChild">
113
								<p class="demandTit">预期时长</p>
113
								<p class="demandTit">预计合作周期</p>
114 114
								<select class="frmcontype fColor" onchange="seleCo(this)" id="budget">
115
									<option value="0">请选择预期时长</option>
115
									<option value="0">请选择预计合作周期</option>
116 116
									<option value="1">1个月内</option>
117 117
									<option value="2">1-3个月</option>
118 118
									<option value="3">3-6个月</option>
@ -135,6 +135,10 @@
135 135
								<span></span>
136 136
							</li>
137 137
							<li class="floatR col-w-6 postChild">
138
								<p class="demandTit">您所在的企业名称<em class="requiredcon">*</em><span class="frmconmsg" style="display: none;">50字以内</span></p>
139
								<input type="text" placeholder="建议填写与营业执照一致的企业名称" class="frmcontype" maxlength="50" id="org"/>
140
							</li>
141
							<li class="floatL col-w-6 postChild">
138 142
								<p class="demandTit">联系电话<em class="requiredcon">*</em><span class="frmconmsg" style="display: none;">50字以内</span></p>
139 143
								<input type="text" placeholder="请填写您的联系电话,以便客服与您联系" class="frmcontype" maxlength="50" id="phone"/>
140 144
							</li>
@ -142,45 +146,6 @@
142 146
143 147
						<div class="postCenter"><button class="btnModel posted">发布</button></div>
144 148
					</div>
145
					<div class="rightconBox floatR">
146
						<div class="conItem conItemG alignCenter" id="enterprise" style="border:none;">
147
							<a href="javascript:;" class="qiyego" style="cursor:default">
148
								<div class="madiaHead cmpHead" id="Qimg">
149
									<div class="boxBlock">
150
										<img class="boxBlockimg" src="" id="companyImg">
151
									</div>
152
								</div>
153
							</a>
154
							<div class="proInfo">
155
								<div class="h3Font clearfix">
156
									<a class="h1Font qiyego" id="Qname">
157
158
									</a>
159
									<span class="authiconNew "  id="QauthFlag"></span>
160
								</div>
161
							</div>
162
							<div class="form-item otherBlock currentBlock">
163
								<div class="aboutTit">联系人</div>
164
								<div class="form-result addexpertRe" style="margin-top:0">
165
									<ul class="addexpert" id="expertli">
166
										<li class="flexCenter">
167
											<div class="madiaHead useHead" id="proImg">
168
169
											</div>
170
											<div class="madiaInfo" style="padding-right:0 ;">
171
												<p class="ellipsisSty">
172
													<span class="h1Font" id="proName"></span>
173
													<em class="authiconNew "  id="auth"></em>
174
												</p>
175
												<p class="h2Font ellipsisSty" id="brief"></p>
176
											</div>
177
										</li>
178
									</ul>
179
								</div>
180
							</div>
181
						</div>
182
183
					</div>
184 149
				</div>
185 150
			</div>
186 151
		</div>