diff --git a/src/main/webapp/WEB-INF/tags/sys/tableSort.tag b/src/main/webapp/WEB-INF/tags/sys/tableSort.tag
index 06149217d..e3245d1a2 100644
--- a/src/main/webapp/WEB-INF/tags/sys/tableSort.tag
+++ b/src/main/webapp/WEB-INF/tags/sys/tableSort.tag
@@ -10,10 +10,15 @@
$(document).ready(function() {
var orderBy = $("#${id}").val().split(" ");
$(".sort-column").each(function(){
+
if ($(this).hasClass(orderBy[0])){
orderBy[1] = orderBy[1]&&orderBy[1].toUpperCase()=="DESC"?"down":"up";
- $(this).html($(this).html()+" ");
+ $(this).html($(this).html()+" ");
+ }else {
+ $(this).html($(this).html()+" ");
}
+
+
});
$(".sort-column").click(function(){
var order = $(this).attr("class").split(" ");
@@ -23,10 +28,11 @@
}
if (order == sort[0]){
sort = (sort[1]&&sort[1].toUpperCase()=="DESC"?"ASC":"DESC");
- $("#${id}").val(order+" DESC"!=order+" "+sort?"":order+" "+sort);
+ $("#${id}").val(order+" "+sort);
}else{
$("#${id}").val(order+" ASC");
}
+
${callback}
});
});
diff --git a/src/main/webapp/WEB-INF/views/cfg/requestList.jsp b/src/main/webapp/WEB-INF/views/cfg/requestList.jsp
index 75c302e6e..2393a504b 100644
--- a/src/main/webapp/WEB-INF/views/cfg/requestList.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/requestList.jsp
@@ -37,6 +37,8 @@
+
+
@@ -180,11 +182,12 @@
-
+
-
+
-
+
+
diff --git a/src/main/webapp/static/global/css/components.css b/src/main/webapp/static/global/css/components.css
index 09f9957c5..fa69f2746 100644
--- a/src/main/webapp/static/global/css/components.css
+++ b/src/main/webapp/static/global/css/components.css
@@ -21574,5 +21574,39 @@ Color library demo
margin-right: 3px;
}
+
+/*ʽ*/
+.sort-column {
+ cursor: pointer;
+}
+.sort-column i {
+ top: 2px;
+ position: relative;
+ display: inline-table;
+}
+.sort-icon {
+ width: 9px;
+ height: 13px;
+ background-image: url('../img/bee.png');
+ background-position: -232px -59px;
+
+}
+
+
+.sort-icon-down {
+ width: 9px;
+ height: 12px;
+ background-image: url('../img/bee.png');
+ background-position: -232px -73px;
+}
+
+.sort-icon-up {
+ width: 9px;
+ height: 13px;
+ background-image: url('../img/bee.png');
+ background-position: -232px -86px;
+}
+
+
diff --git a/src/main/webapp/static/global/img/bee.png b/src/main/webapp/static/global/img/bee.png
new file mode 100644
index 000000000..709e6d236
Binary files /dev/null and b/src/main/webapp/static/global/img/bee.png differ