Bladeren bron

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

wangaidan 8 jaren geleden
bovenliggende
commit
579d9dbd85
2 gewijzigde bestanden met toevoegingen van 15 en 15 verwijderingen
  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,11 +27,11 @@
27 27
                    <!-- <div class="workselectbox floatL timeType" onclick="showSelect('timeType','timeOption','tim')"> -->
28 28
                    <div class="workselectbox floatL timeType selcet4">
29 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 31
                        <div class="timeOption option4" style="display:none;">
32 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 35
	                            <li tim="2" class="cur">按完成时间排序</li> 
36 36
	                       </ul>
37 37
                        </div>
@ -73,11 +73,11 @@
73 73
                   <!--  <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')"> -->
74 74
                     <div class="workselectbox floatL timeType2 selcet2">
75 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 77
                        <div class="timeOption2 option2" style="display:none;">
78 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 81
	                            <li class="" tim="2">按完成时间排序</li> 
82 82
	                       </ul> 
83 83
                        </div>

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

@ -1055,11 +1055,11 @@ function clickConsultBtn(lookall){
1055 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 1060
						consultPullDownMenu();
1061 1061
						//回复
1062
						getMyData(pageSize,1,true,0,0,0);
1062
						getMyData(pageSize,1,true,0,1,0);
1063 1063
				        //回复点击下拉菜单
1064 1064
				        myRequirePullDownMenu();
1065 1065
						
@ -1073,12 +1073,12 @@ function clickConsultBtn(lookall){
1073 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 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 1083
				        myRequirePullDownMenu();
1084 1084
			    		
@ -1087,7 +1087,7 @@ function clickConsultBtn(lookall){
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 1093
					consultPullDownMenu();
@ -1106,7 +1106,7 @@ function clickConsultBtn(lookall){
1106 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 1111
				        myRequirePullDownMenu();
1112 1112
						
@ -1115,7 +1115,7 @@ function clickConsultBtn(lookall){
1115 1115
					/*else {
1116 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 1121
						 consultPullDownMenu();
@ -1132,7 +1132,7 @@ function clickConsultBtn(lookall){
1132 1132
							
1133 1133
							//收到咨询
1134 1134
							pageSize =5;
1135
							getConsultData(pageSize,1,true,0,0,0);
1135
							getConsultData(pageSize,1,true,0,1,0);
1136 1136
							//点击下拉菜单
1137 1137
							consultPullDownMenu();
1138 1138
							
@ -1148,7 +1148,7 @@ function clickConsultBtn(lookall){
1148 1148
							
1149 1149
		 					//回复
1150 1150
							pageSize =5;
1151
					        getMyData(pageSize,1,true,0,0,0);
1151
					        getMyData(pageSize,1,true,0,1,0);
1152 1152
					        //点击下拉菜单
1153 1153
					        myRequirePullDownMenu();
1154 1154