|
@ -159,30 +159,59 @@ function ResourceApply(){
|
159
|
159
|
var PopHtml="";
|
160
|
160
|
PopHtml += '<div class="blackcover">';
|
161
|
161
|
PopHtml += '<div class="resouapply"><form class="resoufrm">';
|
162
|
|
PopHtml += '<div class="resoutit">资源信息</div>';
|
163
|
|
PopHtml += '<table class="resoutab"><tr class="timelo">';
|
164
|
|
PopHtml += '<th class="resouinfotype" scope="row">合作编号</th>';
|
165
|
|
PopHtml += '<td class="contration">00001109</td>';
|
166
|
|
PopHtml += '<td rowspan="5"><div class="resouimg" ><img src="" width="100%" height="100%"></div></td>';
|
|
162
|
|
|
163
|
/*//资源申请模块*/
|
|
164
|
PopHtml += '<div class="applyblock"><div class="resoutit">资源申请<div class="stateinfor">申请中</div></div>';
|
|
165
|
PopHtml += '<div class="resoubox"><table class="resoutab">';
|
|
166
|
//合作编号在申请的时候还未生成,不显示;申请完成之后产生,在申请确认是显示
|
|
167
|
PopHtml += '<tr class="timelo"><th class="resouinfotype" scope="row">合作编号</th>';
|
|
168
|
PopHtml += '<td><div class="resouinforcon contration">00001109</div></td>';
|
|
169
|
//资源申请信息
|
|
170
|
PopHtml += '<td rowspan="5"><div class="resouinforcon"><div class="resouimg" ><img src="" width="100%" height="100%"></div></div></td>';
|
167
|
171
|
PopHtml += '</tr>';
|
168
|
|
PopHtml += '<tr class="timelo"><th class="resouinfotype " scope="row">申请时间</th><td class="timelog">2016-08-01</td></tr>';
|
169
|
|
PopHtml += '<tr><th class="resouinfotype " scope="row">需求资源</th><td class="log">xxx检测仪</td> </tr>';
|
170
|
|
PopHtml += '<tr><th class="resouinfotype" scope="row">资源发布者</th><td class="namecon">张三 <a href="" class="worktel">联系ta</a></td></tr>';
|
|
172
|
PopHtml += '<tr class="timelo"><th class="resouinfotype " scope="row">申请时间</th><td><div class="resouinforcon timelog">2016-08-01</div></td></tr>';
|
|
173
|
PopHtml += '<tr><th class="resouinfotype " scope="row">需求资源</th><td><div class="resouinforcon log">xxx检测仪</div></td> </tr>';
|
|
174
|
PopHtml += '<tr><th class="resouinfotype" scope="row">资源发布者</th><td><div class="resouinforcon namecon">张三 <a href="" class="worktel">联系ta</a></div></td></tr>';
|
171
|
175
|
PopHtml += '<tr><th class="resouinfotype" scope="row">需求方</th><td>';
|
172
|
|
PopHtml += '<select class="frmtype"><option>本人</option><option>所属机构</option></select>';
|
|
176
|
PopHtml += '<div class="resouinforcon"><select class="frmtype"><option>本人</option><option>所属机构</option></select></div>';
|
173
|
177
|
PopHtml += '</td></tr>';
|
174
|
|
PopHtml += '<tr><th class="resouinfotype" scope="row">具体需求</th><td colspan="2"><textarea class="frmtype detail"></textarea></td></tr>';
|
175
|
|
PopHtml += ' <tr><th class="resouinfotype" scope="row">相关文件</th><td colspan="2" ><a href="" class="updownbtn" >点击下载</a></td></tr>';
|
176
|
|
PopHtml += '<tr><th class="resouinfotype " scope="row">交付时间:</th><td colspan="2"class="dealTime">2016-09-01</td></tr></table>';
|
177
|
|
PopHtml += '<table class="resoutab btnboxup"><tr><td colspan="3"><div class="addrebtn" style="text-align:center;">';
|
178
|
|
PopHtml += '<input type="button" value="确认,下一步" class="frmtype frmbtn"id="nextStep"><input type="button" value="联系ta" class="frmtype frmbtn"><input type="button" value="直接拒绝" class="frmtype frmbtn frmrbtn"id="refuses"></div></td></tr></table>';
|
|
178
|
PopHtml += '<tr><th class="resouinfotype" scope="row">具体需求</th><td colspan="2"><div class="resouinforcon"><textarea class="frmtype detail"></textarea></div></td></tr>';
|
|
179
|
PopHtml += '<tr><th class="resouinfotype " scope="row">交付时间</th><td colspan="2"><div class="resouinforcon dealTime"><input type="text" class="dealTime"></div></td></tr></table>';
|
|
180
|
//相关文件上传
|
|
181
|
PopHtml += '<div class="filebox"> ';
|
|
182
|
PopHtml += '<div class="worktit">相关文件<div class="uploadbtn">上传文件</div></div>';
|
|
183
|
PopHtml += '<div class="fileitem clearfix"> ';
|
|
184
|
PopHtml += '<em class="fileicon floatL"></em><div class="filename floatL">323333333333333</div> ';
|
|
185
|
PopHtml += '<div class="filebtnbox floatR"><a class="filebtn filedownbtn">下载</a><a class="filebtn">删除</a></div> ';
|
|
186
|
PopHtml += '</div></div> ';
|
|
187
|
//发送申请按钮
|
|
188
|
PopHtml += '<div class="btntab applybtn btnboxdown"><div class="addrebtn" style="text-align:center;">';
|
|
189
|
PopHtml += '<input type="button" value="发送" class="frmtype frmbtn"></div></div>';
|
|
190
|
//确认申请按钮
|
|
191
|
PopHtml += '<div class="btntab btnboxup"><div class="addrebtn" style="text-align:center;">';
|
|
192
|
PopHtml += '<input type="button" value="确认,下一步" class="frmtype frmbtn"id="nextStep"><input type="button" value="直接拒绝" class="frmtype frmbtn frmrbtn"id="refuses"></div></div>';
|
|
193
|
PopHtml += '</div></div>';
|
|
194
|
|
|
195
|
|
|
196
|
/*//发送报价模块*/
|
|
197
|
PopHtml += '<div class="applyblock applysure"><div class="resoutit">发送报价<div class="stateinfor">报价中</div></div>';
|
|
198
|
PopHtml += '<div class="resoubox"><table class="resoutab applysure">';
|
|
199
|
PopHtml += '<tr><th class="resouinfotype" scope="row">付款方式</th><td><div class="resouinforcon"><input type="text" class="frmtype" id="payMethod"></div></td><td ><div class="resouinforcon"></div></td></tr>';
|
|
200
|
PopHtml += '<tr><th class="resouinfotype" scope="row">费用</th><td><div class="resouinforcon"><input type="text" class="frmtype" id="dealPrice"></div></td><td ><div class="resouinforcon"></div></td></tr>';
|
|
201
|
PopHtml += '<tr><th class="resouinfotype" scope="row">备注</th><td colspan="2"><div class="resouinforcon"><textarea class="frmtype" id="consultContent"></textarea></div></td></tr></table>';
|
|
202
|
PopHtml += '</table>';
|
|
203
|
//文件
|
|
204
|
PopHtml += '<div class="filebox"> ';
|
|
205
|
PopHtml += '<div class="worktit">相关文件<div class="uploadbtn">上传文件</div></div>';
|
|
206
|
PopHtml += '<div class="fileitem clearfix"> ';
|
|
207
|
PopHtml += '<em class="fileicon floatL"></em><div class="filename floatL">323333333333333</div> ';
|
|
208
|
PopHtml += '<div class="filebtnbox floatR"><a class="filebtn filedownbtn">下载</a><a class="filebtn">删除</a></div> ';
|
|
209
|
PopHtml += '</div></div> ';
|
|
210
|
//发送报价按钮
|
|
211
|
PopHtml += '<div class="btntab btnboxdown"><div class="addrebtn" style="text-align:center;"><input type="button" value="发送" id="del" class="frmtype frmbtn"><input type="button" value="返回" class="frmtype frmbtn frmrbtn "id="cooperation"></div></div>';
|
179
|
212
|
|
180
|
|
PopHtml += '<table class="resoutab applysure"><tr><th class="resouinfotype" scope="row">付款方式</th><td colspan="2" ><input type="text" class="frmtype" id="payMethod"></td></tr>';
|
181
|
|
PopHtml += '<tr><th class="resouinfotype" scope="row">费用</th><td colspan="2"><input type="text" class="frmtype" id="dealPrice" ></td></tr>';
|
182
|
|
PopHtml += '<tr><th class="resouinfotype" scope="row">合作协议</th><td colspan="2"><a class="updownbtn" href="">点击上传</a></td></tr>';
|
183
|
|
PopHtml += '<tr><th class="resouinfotype" scope="row">备注</th><td colspan="2"><textarea class="frmtype" id="consultContent"></textarea></td></tr></table>';
|
184
|
|
PopHtml += '<table class="resoutab btnboxdown"> <tr><td colspan="3"><div class="addrebtn" style="text-align:center;"><input type="button" value="发送" id="del" class="frmtype frmbtn"><input type="button" value="返回" class="frmtype frmbtn frmrbtn "id="cooperation"></div></td></tr>';
|
185
|
|
PopHtml += '</table></form><span class="workclose">关闭</span></div>';
|
|
213
|
PopHtml += '</div></div>';
|
|
214
|
PopHtml += '</form><span class="workclose">关闭</span></div>';
|
186
|
215
|
PopHtml += '</div>';
|
187
|
216
|
|
188
|
217
|
//必须先将html添加到body,再设置Css样式
|
|
@ -392,3 +421,169 @@ function PaymentInfo() {
|
392
|
421
|
});
|
393
|
422
|
}
|
394
|
423
|
// 款项记录//
|
|
424
|
|
|
425
|
|
|
426
|
//详细信息
|
|
427
|
function DetailInfo(){
|
|
428
|
var PopHtml="";
|
|
429
|
PopHtml += '<div class="blackcover">';
|
|
430
|
PopHtml += '<div class="resoudetailinfo"><form class="resoufrm">';
|
|
431
|
//****************************************************
|
|
432
|
/*//资源申请模块*/
|
|
433
|
PopHtml += '<div class="resoutit">详细信息<div class="stateinfor">合作进行中</div></div>';
|
|
434
|
PopHtml += '<div class="resoubox">';
|
|
435
|
PopHtml += '<div class="resoupricebox">';
|
|
436
|
PopHtml += '<table class="resoutab1">';
|
|
437
|
|
|
438
|
//合作编号在申请的时候还未生成,不显示;申请完成之后产生,在申请确认是显示
|
|
439
|
PopHtml += '<tr><th class="resouinfotype" scope="row">合作编号</th>';
|
|
440
|
PopHtml += '<td><div class="resouinforcon contration">00001109</div></td>';
|
|
441
|
//资源申请信息
|
|
442
|
PopHtml += '<td rowspan="5"><div class="resouinforcon"><div class="resoushowimg1" ><img src="" width="100%" height="100%"></div></div></td>';
|
|
443
|
PopHtml += '</tr>';
|
|
444
|
PopHtml += '<tr class="timelo"><th class="resouinfotype " scope="row">申请时间</th><td><div class="resouinforcon timelog">2016-08-01</div></td></tr>';
|
|
445
|
PopHtml += '<tr><th class="resouinfotype " scope="row">需求资源</th><td><div class="resouinforcon log">xxx检测仪</div></td> </tr>';
|
|
446
|
PopHtml += '<tr><th class="resouinfotype" scope="row">资源发布者</th><td><div class="resouinforcon namecon">张三 <a href="" class="worktel">联系ta</a></div></td></tr>';
|
|
447
|
PopHtml += '<tr><th class="resouinfotype" scope="row">需求方</th><td>';
|
|
448
|
PopHtml += '<div class="resouinforcon">李四</div>';
|
|
449
|
PopHtml += '</td></tr>';
|
|
450
|
PopHtml += '<tr><th class="resouinfotype" scope="row">具体需求</th><td colspan="2"><div class="resouinforcon"> 89fufhyury8fruijkfhjhdf </div></td></tr>';
|
|
451
|
PopHtml += '<tr><th class="resouinfotype " scope="row">交付时间</th><td colspan="2"><div class="resouinforcon dealTime">2016-10-30</div></td></tr>';
|
|
452
|
|
|
453
|
/*//报价模块*/
|
|
454
|
//PopHtml += '<table class="resoutab1 applysure">';
|
|
455
|
PopHtml += '<tr><th class="resouinfotype" scope="row">付款方式</th><td><div class="resouinforcon">一次性付清</div></td><td ><div class="resouinforcon"></div></td></tr>';
|
|
456
|
PopHtml += '<tr><th class="resouinfotype" scope="row">费用</th><td><div class="resouinforcon">¥10000</div></td><td ><div class="resouinforcon"></div></td></tr>';
|
|
457
|
PopHtml += '<tr><th class="resouinfotype" scope="row">备注</th><td colspan="2"><div class="resouinforcon">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvin</div></td></tr></table>';
|
|
458
|
PopHtml += '</table>';
|
|
459
|
//文件
|
|
460
|
PopHtml += '<div class="filebox"> ';
|
|
461
|
PopHtml += '<div class="worktit">相关文件<div class="uploadbtn">上传文件</div></div>';
|
|
462
|
PopHtml += '<div class="fileitem clearfix"> ';
|
|
463
|
PopHtml += '<em class="fileicon floatL"></em><div class="filename floatL">323333333333333</div> ';
|
|
464
|
PopHtml += '<div class="filebtnbox floatR"><a class="filebtn filedownbtn">下载</a><a class="filebtn">删除</a></div> ';
|
|
465
|
PopHtml += '</div></div></div></div> ';
|
|
466
|
|
|
467
|
//****************************************************
|
|
468
|
//款项记录
|
|
469
|
PopHtml += '<div class="resoupayinfo">';
|
|
470
|
PopHtml += '<div class="worktit">款项记录</div>';
|
|
471
|
/*添加款项记录*/
|
|
472
|
PopHtml += '<div class="payaddbox1">';
|
|
473
|
PopHtml += '<table><tr>';
|
|
474
|
PopHtml += '<th><div class="resouinforcon">付款方</div></th>';
|
|
475
|
PopHtml += '<td><div class="resouinforcon"><input type="text" class="frmtype"></div></td>';
|
|
476
|
PopHtml += '<th><div class="resouinforcon">支付方式</div></th>';
|
|
477
|
PopHtml += '<td><div class="resouinforcon"><input type="text" class="frmtype"></div></td>';
|
|
478
|
PopHtml += '</tr>';
|
|
479
|
|
|
480
|
PopHtml += '<tr>';
|
|
481
|
PopHtml += '<th><div class="resouinforcon">金额</div></th>';
|
|
482
|
PopHtml += '<td><div class="resouinforcon"><input type="number" class="frmtype"></div></td>';
|
|
483
|
PopHtml += '<th><div class="resouinforcon">状态</div></th>';
|
|
484
|
PopHtml += '<td><div class="resouinforcon"><input type="text" class="frmtype"></div></td>';
|
|
485
|
PopHtml += '</tr>';
|
|
486
|
|
|
487
|
PopHtml += '<tr>';
|
|
488
|
PopHtml += '<th><div class="resouinforcon">备注</div></th>';
|
|
489
|
PopHtml += '<td colspan="2"><div class="resouinforcon"><textarea class="frmtype"></textarea></div></td>';
|
|
490
|
PopHtml += '<td><div class="resouinforcon"><div class="addrebtn" style="text-align:center;"><input type="button" value="添加" class="frmtype frmbtn"> </div></div></td>';
|
|
491
|
PopHtml += ' </tr></table></div>';
|
|
492
|
/*款项记录*/
|
|
493
|
PopHtml += '<div class="paymentbox1"> ';
|
|
494
|
PopHtml += '<table><tr>';
|
|
495
|
PopHtml += '<th><div class="resouinforcon">总费用</div></th>';
|
|
496
|
PopHtml += '<td><div class="resouinforcon">¥10000</div></td>';
|
|
497
|
PopHtml += '<th><div class="resouinforcon">实收费用</div></th>';
|
|
498
|
PopHtml += '<td><div class="resouinforcon">¥2000</div></td>';
|
|
499
|
PopHtml += '<th><div class="resouinforcon">剩余费用</div></th>';
|
|
500
|
PopHtml += '<td><div class="resouinforcon">¥8000</div></td>';
|
|
501
|
PopHtml += '</tr></table>';
|
|
502
|
|
|
503
|
PopHtml += '<table>';
|
|
504
|
PopHtml += '<tr class="paytit">';
|
|
505
|
PopHtml += '<th width="140"><div class="resouinforcon">时间</div></th>';
|
|
506
|
PopHtml += '<th width="100"><div class="resouinforcon">付款方</div></th>';
|
|
507
|
PopHtml += '<th width="120"><div class="resouinforcon">支付方式</div></th>';
|
|
508
|
PopHtml += '<th width="120"><div class="resouinforcon">金额</div></th>';
|
|
509
|
PopHtml += '<th width="120"><div class="resouinforcon">状态</div></th>';
|
|
510
|
PopHtml += '<th width="200"><div class="resouinforcon">备注</div></th>';
|
|
511
|
PopHtml += '</tr>';
|
|
512
|
|
|
513
|
PopHtml += '<tr class="payitem">';
|
|
514
|
PopHtml += '<td><div class="resouinforcon">2016-08-10 08:00</div></td>';
|
|
515
|
PopHtml += '<td><div class="resouinforcon">张三</div></td>';
|
|
516
|
PopHtml += '<td><div class="resouinforcon">线下</div></td>';
|
|
517
|
PopHtml += '<td><div class="resouinforcon">¥1000</div></td>';
|
|
518
|
PopHtml += '<td><div class="resouinforcon">确认收款</div></td>';
|
|
519
|
PopHtml += '<td><div class="resouinforcon">之后尾款另行支付</div></td>';
|
|
520
|
PopHtml += '</tr>';
|
|
521
|
PopHtml += '</table></div></div>';
|
|
522
|
|
|
523
|
//****************************************************
|
|
524
|
//合作动态
|
|
525
|
PopHtml += '<div class="liuyaninfo">';
|
|
526
|
PopHtml += '<div class="worktit">留言板</div>';
|
|
527
|
PopHtml += '<div class="guestbookcon"><div class="resouinforcon"><textarea class="frmtype"></textarea></div>';
|
|
528
|
PopHtml += '<div class="resouinforcon"><div class="wordlimit">字数限制为5~200个</div></div>';
|
|
529
|
PopHtml += '<div class="addrebtn" style="text-align:right;"> <input type="button" value="留言" class="frmtype frmbtn"></div></div>';
|
|
530
|
PopHtml += '<div class="guestcon"><div class="guestconitem">';
|
|
531
|
PopHtml += '<div class="lefteva"> <a href="" class="evaimg"><img src="images/default-photo.jpg" width="100%" height="100%"></a> </div>';
|
|
532
|
PopHtml += ' <div class="righteva">';
|
|
533
|
PopHtml += '<ul class="evasort"> <li class="guestname"><span>李四</span><span class="guesttime">2016-09-06 08:00</span></li></ul>';
|
|
534
|
PopHtml += '<p class="evabrief">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo co Proin gravida dolor sit amet lacus accumsan etiverra justo co Proin gravida dolor sit amet lacus accumsan et iverra justo co Proin gravida dolor sit amet lacus accumsan et iverra justo co Proin gravida dolor sit amet lacus accumsan et </p>';
|
|
535
|
PopHtml += '</div></div> </div></div>';
|
|
536
|
|
|
537
|
//****************************************************
|
|
538
|
//评价
|
|
539
|
PopHtml += '<div class="pingjiainfo">';
|
|
540
|
|
|
541
|
/*查看评价信息*/
|
|
542
|
PopHtml += '<div class="worktit">评价信息</div>';
|
|
543
|
PopHtml += '<div class="commentbox"><table class="commentcon">';
|
|
544
|
//双方都评价
|
|
545
|
PopHtml += '<tr><td> <div class="teamwork">';
|
|
546
|
PopHtml += '<div class="lefteva"> <a href="" class="evaimg"><img src="images/default-photo.jpg" width="100%" height="100%"></a><p>专家姓名</p><p>职称,职位</p><p>XXX学校,XXX机222222222222222构</p></div>';
|
|
547
|
PopHtml += '<div class="righteva">';
|
|
548
|
PopHtml += '<ul class="evasort"><li class="teamname"><span>XXXXXX资源的合作</span><span class="teamtime">2016-09-06</span></li></ul>';
|
|
549
|
PopHtml += '<div class="evastarbox"><span class="evastar"></span><span class="evastar"></span><span class="evastar"></span><span class="evastar"></span><span class="evastar"></span></div>';
|
|
550
|
PopHtml += '<p class="evabrief">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo co Proin gravida dolor sit amet lacus accumsan etiverra justo co Proin gravida dolor sit amet lacus accumsan et iverra justo co Proin gravida dolor sit amet lacus accumsan et iverra justo co Proin gravida dolor sit amet lacus accumsan et </p>';
|
|
551
|
PopHtml += '</div></div>';
|
|
552
|
//对方未评价
|
|
553
|
PopHtml += '<tr><td> <div class="teamwork">';
|
|
554
|
PopHtml += '<div class="lefteva"> <a href="" class="evaimg"><img src="images/default-photo.jpg" width="100%" height="100%"></a><p>专家姓名</p><p>职称,职位</p><p>XXX学校,XXX机222222222222222构</p></div>';
|
|
555
|
PopHtml += '<div class="righteva"><div class="noconmment">对方还未评价</div></div>';
|
|
556
|
//您本人未评价
|
|
557
|
PopHtml += '<tr><td> <div class="teamwork">';
|
|
558
|
PopHtml += '<div class="lefteva"> <a href="" class="evaimg"><img src="images/default-photo.jpg" width="100%" height="100%"></a><p>专家姓名</p><p>职称,职位</p><p>XXX学校,XXX机222222222222222构</p></div>';
|
|
559
|
PopHtml += '<div class="righteva"><div class="noconmment">您还未进行评价,<a class="combtn">现在去评价!</a></div>';
|
|
560
|
|
|
561
|
PopHtml += '</td></tr> </table></div> </div> ';
|
|
562
|
|
|
563
|
//****************************************************
|
|
564
|
//关闭按钮
|
|
565
|
PopHtml += '</div></div>';
|
|
566
|
PopHtml += '</form><span class="workclose">关闭</span></div>';
|
|
567
|
PopHtml += '</div>';
|
|
568
|
|
|
569
|
|
|
570
|
//必须先将html添加到body,再设置Css样式
|
|
571
|
$("body").before(PopHtml);
|
|
572
|
$("body").css("overflow-y","hidden");
|
|
573
|
|
|
574
|
var _widht = $(".blackcover").width();
|
|
575
|
var _height = $(".blackcover").height();
|
|
576
|
var boxWidth = $(".resoudetailinfo").width();
|
|
577
|
var boxHeight = $(".resoudetailinfo").height();
|
|
578
|
|
|
579
|
//让提示框居中
|
|
580
|
$(".resoudetailinfo").css({ top:"40px", left: (_widht - boxWidth) / 2 + "px" });
|
|
581
|
|
|
582
|
|
|
583
|
//关闭按钮
|
|
584
|
$(".workclose").click(function(){
|
|
585
|
$(".blackcover").remove();
|
|
586
|
$("body").css("overflow","auto");
|
|
587
|
});
|
|
588
|
}
|
|
589
|
|