Browse Source

咨询,默认按最后回复排列

wangaidan 8 years ago
parent
commit
579d9dbd85
2 changed files with 15 additions and 15 deletions
  1. 6 6
      src/main/webapp/consult.html
  2. 9 9
      src/main/webapp/js/consult.js

+ 6 - 6
src/main/webapp/consult.html

27
                    <!-- <div class="workselectbox floatL timeType" onclick="showSelect('timeType','timeOption','tim')"> -->
27
                    <!-- <div class="workselectbox floatL timeType" onclick="showSelect('timeType','timeOption','tim')"> -->
28
                    <div class="workselectbox floatL timeType selcet4">
28
                    <div class="workselectbox floatL timeType selcet4">
29
                    	<input type="text" id="timeTypeId" value="" style="display:none;">
29
                    	<input type="text" id="timeTypeId" value="" style="display:none;">
30
                        <span  id="showTimeSort" class="workselectmenu" tim="0">按发起时间排序</span>
30
                        <span  id="showTimeSort" class="workselectmenu" tim="1">按最后回复时间排序</span>
31
                        <div class="timeOption option4" style="display:none;">
31
                        <div class="timeOption option4" style="display:none;">
32
	                        <ul id="downbox1" class="workdropdown workdropdown2" > 
32
	                        <ul id="downbox1" class="workdropdown workdropdown2" > 
33
	                            <li tim="0" class="cur workcurrent">按发起时间排序</li> 
34
	                            <li tim="1" class="cur">按最后回复时间排序</li> 
33
	                            <li tim="0" class="cur">按发起时间排序</li> 
34
	                            <li tim="1" class="cur workcurrent">按最后回复时间排序</li> 
35
	                            <li tim="2" class="cur">按完成时间排序</li> 
35
	                            <li tim="2" class="cur">按完成时间排序</li> 
36
	                       </ul>
36
	                       </ul>
37
                        </div>
37
                        </div>
73
                   <!--  <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')"> -->
73
                   <!--  <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')"> -->
74
                     <div class="workselectbox floatL timeType2 selcet2">
74
                     <div class="workselectbox floatL timeType2 selcet2">
75
                    	<input type="text" id="timeTypeId2" value="" style ="display:none;">
75
                    	<input type="text" id="timeTypeId2" value="" style ="display:none;">
76
                        <span id="showTimeSort2" class="workselectmenu" tim="0">按发起时间排序</span>
76
                        <span id="showTimeSort2" class="workselectmenu" tim="1">按最后回复时间排序</span>
77
                        <div class="timeOption2 option2" style="display:none;">
77
                        <div class="timeOption2 option2" style="display:none;">
78
	                        <ul id="downbox1" class="workdropdown workdropdown2"> 
78
	                        <ul id="downbox1" class="workdropdown workdropdown2"> 
79
	                            <li class=" workcurrent" tim="0">按发起时间排序</li> 
80
	                            <li class="" tim="1">按最后回复时间排序</li> 
79
	                            <li class="" tim="0">按发起时间排序</li> 
80
	                            <li class="workcurrent" tim="1">按最后回复时间排序</li> 
81
	                            <li class="" tim="2">按完成时间排序</li> 
81
	                            <li class="" tim="2">按完成时间排序</li> 
82
	                       </ul> 
82
	                       </ul> 
83
                        </div>
83
                        </div>

+ 9 - 9
src/main/webapp/js/consult.js

1055
						$(".workcontit .worksamlltit3").eq(1).removeClass("worksamlltitnow");
1055
						$(".workcontit .worksamlltit3").eq(1).removeClass("worksamlltitnow");
1056
						
1056
						
1057
						//收到咨询
1057
						//收到咨询
1058
				        getConsultData(pageSize,1,true,0,0,0);
1058
				        getConsultData(pageSize,1,true,0,1,0);
1059
						//咨询点击下拉菜单
1059
						//咨询点击下拉菜单
1060
						consultPullDownMenu();
1060
						consultPullDownMenu();
1061
						//回复
1061
						//回复
1062
						getMyData(pageSize,1,true,0,0,0);
1062
						getMyData(pageSize,1,true,0,1,0);
1063
				        //回复点击下拉菜单
1063
				        //回复点击下拉菜单
1064
				        myRequirePullDownMenu();
1064
				        myRequirePullDownMenu();
1065
						
1065
						
1073
						$(".workcontit .worksamlltit3").eq(1).addClass("worksamlltitnow");
1073
						$(".workcontit .worksamlltit3").eq(1).addClass("worksamlltitnow");
1074
						
1074
						
1075
						//收到咨询
1075
						//收到咨询
1076
				        getConsultData(pageSize,1,true,0,0,0);
1076
				        getConsultData(pageSize,1,true,0,1,0);
1077
						//咨询点击下拉菜单
1077
						//咨询点击下拉菜单
1078
						consultPullDownMenu();
1078
						consultPullDownMenu();
1079
						
1079
						
1080
						//回复
1080
						//回复
1081
						getMyData(pageSize,1,true,0,0,0);
1081
						getMyData(pageSize,1,true,0,1,0);
1082
				        //回复点击下拉菜单
1082
				        //回复点击下拉菜单
1083
				        myRequirePullDownMenu();
1083
				        myRequirePullDownMenu();
1084
			    		
1084
			    		
1087
			    		
1087
			    		
1088
			    	
1088
			    	
1089
					//收到咨询
1089
					//收到咨询
1090
			        getConsultData(pageSize,1,true,0,0,0);
1090
			        getConsultData(pageSize,1,true,0,1,0);
1091
			        
1091
			        
1092
					//咨询点击下拉菜单
1092
					//咨询点击下拉菜单
1093
					consultPullDownMenu();
1093
					consultPullDownMenu();
1106
						$(".workcontit .worksamlltit3").eq(1).addClass("worksamlltitnow");
1106
						$(".workcontit .worksamlltit3").eq(1).addClass("worksamlltitnow");
1107
						
1107
						
1108
						//回复
1108
						//回复
1109
						getMyData(pageSize,1,true,0,0,0);
1109
						getMyData(pageSize,1,true,0,1,0);
1110
				        //回复点击下拉菜单
1110
				        //回复点击下拉菜单
1111
				        myRequirePullDownMenu();
1111
				        myRequirePullDownMenu();
1112
						
1112
						
1115
					/*else {
1115
					/*else {
1116
//						alert("有咨询")
1116
//						alert("有咨询")
1117
						//显示咨询
1117
						//显示咨询
1118
						 getConsultData(pageSize,1,true,0,0,0);
1118
						 getConsultData(pageSize,1,true,0,1,0);
1119
				        
1119
				        
1120
				        //
1120
				        //
1121
						 consultPullDownMenu();
1121
						 consultPullDownMenu();
1132
							
1132
							
1133
							//收到咨询
1133
							//收到咨询
1134
							pageSize =5;
1134
							pageSize =5;
1135
							getConsultData(pageSize,1,true,0,0,0);
1135
							getConsultData(pageSize,1,true,0,1,0);
1136
							//点击下拉菜单
1136
							//点击下拉菜单
1137
							consultPullDownMenu();
1137
							consultPullDownMenu();
1138
							
1138
							
1148
							
1148
							
1149
		 					//回复
1149
		 					//回复
1150
							pageSize =5;
1150
							pageSize =5;
1151
					        getMyData(pageSize,1,true,0,0,0);
1151
					        getMyData(pageSize,1,true,0,1,0);
1152
					        //点击下拉菜单
1152
					        //点击下拉菜单
1153
					        myRequirePullDownMenu();
1153
					        myRequirePullDownMenu();
1154
		 					
1154