123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <div class="workconitem consublock">
- <div class="workcontit">咨询<a class="worksamlltit worksamlltit3 worksamlltitnow" href="#getConsult">收到咨询</a><a class="worksamlltit worksamlltit3" href="#getReply">收到回复</a></div>
- <div class="worksubcon">
- <div class="workmysrc workmysrc3" id="getConsult" style="display:none;">
- <div class="workmenubox clearfix">
- <form class="workmenufrm floatR">
- <div class="workselectbox floatL consultSelect" onclick="showSelect('consultSelect','consultOption','tip')">
- <input type="text" id="consultSelectId" value="0" style="display:none;">
- <span id="" class="workselectmenu" tip="0">全部</span>
- <div class="consultOption" style="display:none;">
- <ul id="downbox" class="workdropdown" >
- <li class="workcurrent" tip="0">全部</li>
- <li class="" tip="1">进行中</li>
- <li class="" tip="2">待感谢</li>
- <li class="" tip="3">待评价</li>
- <li class="" tip="4">完成的</li>
- </ul>
- </div>
- </div>
-
- <div class="workselectbox floatL timeType" onclick="showSelect('timeType','timeOption','tim')">
- <input type="text" id="timeTypeId" value="0" style="display:none;">
- <span id="" class="workselectmenu" tim="0">按发起时间排序</span>
- <div class="timeOption" style="display:none;">
- <ul id="downbox1" class="workdropdown workdropdown2" >
- <li tim="0" class="cur workcurrent">按发起时间排序</li>
- <li tim="1" class="cur">按最后回复时间排序</li>
- <li tim="2" class="cur">按完成时间排序</li>
- </ul>
- </div>
-
- </div>
- <input id="timeSortId" type="text" value="0" style="display:none;">
- <div class="workselectbox floatL">
- <div class="orderedbtn"><div></div></div>
- </div>
-
- </form>
- </div>
-
- <div class="workselectcon" id="workContainer">
-
- <div class="tcdPageCode"><span class="disabled">上一页</span><span class="current">1</span><a href="javascript:;" class="tcdNumber">2</a><a href="javascript:;" class="tcdNumber">3</a><a href="javascript:;" class="tcdNumber">4</a><span>...</span><a href="javascript:;" class="tcdNumber">26</a><a href="javascript:;" class="nextPage">下一页</a></div>
- </div>
- </div>
-
- <div class="workmysrc workmysrc3" id="getReply" style="display: none; ">
- <div class="workmenubox clearfix">
- <form class="workmenufrm floatR">
- <div class="workselectbox floatL replySelect" onclick="showSelect('replySelect','replyOption','tip')" >
- <input id="replySelectId" type="text" value="0" style ="display:none;"/>
- <span id="" class="workselectmenu" tip="0">全部</span>
- <div class="replyOption" style="display:none;">
- <ul id="downbox" class="workdropdown" >
- <li class=" workcurrent" tip="0">全部</li>
- <li class="" tip="1">进行中</li>
- <li class="" tip="2">待感谢</li>
- <li class="" tip="3">待评价</li>
- <li class="" tip="4">完成的</li>
- </ul>
- </div>
- </div>
-
- <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')">
- <input type="text" id="timeTypeId2" value="0" style ="display:none;">
- <span id="" class="workselectmenu" tim="0">按发起时间排序</span>
- <div class="timeOption2" style="display:none;">
- <ul id="downbox1" class="workdropdown workdropdown2">
- <li class=" workcurrent" tim="0">按发起时间排序</li>
- <li class="" tim="1">按最后回复时间排序</li>
- <li class="" tim="2">按完成时间排序</li>
- </ul>
- </div>
-
- </div>
- <input id="timeSortId2" type="text" value="0" style ="display:none;">
- <div class="workselectbox floatL">
- <div class="orderedbtn" id="replyArrow"><div></div></div>
- </div>
-
- </form>
- </div>
-
- <div class="workselectcon" id="workContainer2">
-
- <div class="tcdPageCode"><a href="javascript:;" class="disabled">上一页</a><span class="current">1</span><a href="javascript:;" class="tcdNumber">2</a><a href="javascript:;" class="tcdNumber">3</a><a href="javascript:;" class="tcdNumber">4</a><span>...</span><a href="javascript:;" class="tcdNumber">26</a><a href="javascript:;" class="nextPage">下一页</a></div>
- </div>
- </div>
-
- </div>
- </div>
- <script type="text/javascript">
-
-
-
- $.ajax({
- "url":"diloags.html",
- "dataType":"html",
- "success":function(result){
- //console.log(data);
-
- $(".workcon").html(result);
-
- //调取页面成功后,根据咨询id ajax
- $.ajax({
- "url" : "/ajax/consult",
- "type" : "get",
- //传值:
- "data" : "",
- "contentType" : "application/x-www-form-urlencoded",
- "success" : function(response) {
- console.log(response);
- },
- "complete":function(){
-
- },
- "beforeSend":function(){console.log(this.data)},
- "dataType" : "json"
-
- });
-
- }
-
- });
-
- }) */
-
- alert($(this).attr("id"));
-
- $.ajax({
- "url":"diloags.html",
- "dataType":"html",
- "success":function(result){
- //console.log(data);
-
- $(".workcon").html(result);
-
-
- }
-
- })
-
- }) */
-
- $(".moreopert").click(function(){
- $(".moreopertbtn").eq($(".moreopert").index(this)).toggle();
-
- })
-
-
- var index = $(this).index();
- $(this).addClass("workcurrent").siblings().removeClass("workcurrent");
- });
- function $$$$$(_sId){
- return document.getElementById(_sId);
- }
- function hide(_sId){
- $$$$$(_sId).style.display = $$$$$(_sId).style.display == "none" ? "" : "none";
- }
- function pick(v) {
- $('#showbox').text(v);
- hide('downbox');
- }
- function pick1(v) {
- $('#showbox1').text(v);
- hide('downbox1');
- } */
-
-
-
- var index = $(this).index();
- $(this).addClass("worksamlltitnow").siblings().removeClass("worksamlltitnow");
- $(".workmysrc3").eq(index).show().siblings().hide();
- }); */
-
- </script>
|