diff --git a/src/main/java/com/nis/domain/BaseEntity.java b/src/main/java/com/nis/domain/BaseEntity.java index 4023dc6b7..947d66eb9 100644 --- a/src/main/java/com/nis/domain/BaseEntity.java +++ b/src/main/java/com/nis/domain/BaseEntity.java @@ -57,6 +57,14 @@ public abstract class BaseEntity implements Serializable { * 设置为true后强制执行插入语句,ID不会自动生成,需从手动传入。 */ protected boolean isNewRecord = false; + + + /** + * 筛选搜索框展开状态 + */ + protected boolean isFilterAction = false; + + public BaseEntity() { @@ -162,6 +170,16 @@ public abstract class BaseEntity implements Serializable { public String toString() { return ReflectionToStringBuilder.toString(this); } + + + public void setIsFilterAction(boolean isFilterAction) { + this.isFilterAction = isFilterAction; + } + + @JsonIgnore + public boolean getIsFilterAction() { + return isFilterAction; + } diff --git a/src/main/java/com/nis/web/dao/configuration/ServiceDictInfoDao.xml b/src/main/java/com/nis/web/dao/configuration/ServiceDictInfoDao.xml deleted file mode 100644 index 2e20d46fd..000000000 --- a/src/main/java/com/nis/web/dao/configuration/ServiceDictInfoDao.xml +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - s.service_dict_id AS serviceDictId, - s.item_type AS itemType, - s.item_code AS itemCode, - s.item_value AS itemValue, - s.item_desc AS itemDesc, - s.parent_id AS "parent.serviceDictId", - s.is_leaf AS isLeaf, - s.is_valid AS isValid, - s.creator_id AS "serviceDictCreator.id", - s.create_time AS createTime, - s.editor_id AS "serviceDictEditor.id", - s.edit_time AS editTime - - - s.service_dict_id AS serviceDictId, - s.item_type AS itemType, - s.item_code AS itemCode, - s.item_value AS itemValue, - s.item_desc AS itemDesc, - s.is_leaf AS isLeaf, - s.is_valid AS isValid - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - insert into service_dict_info (item_type, item_code, item_value, item_desc, parent_id, is_leaf, is_valid, creator_id, create_time, editor_id, edit_time) - values ( #{itemType,jdbcType=INTEGER}, #{itemCode,jdbcType=INTEGER}, - #{itemValue,jdbcType=VARCHAR}, #{itemDesc,jdbcType=VARCHAR}, - #{parent.serviceDictId,jdbcType=INTEGER}, #{isLeaf,jdbcType=INTEGER}, #{isValid,jdbcType=INTEGER}, - #{serviceDictCreator.id,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{serviceDictEditor.id,jdbcType=INTEGER}, #{editTime,jdbcType=TIMESTAMP}) - - - - - - - UPDATE service_dict_info s SET - s.service_dict_id = #{serviceDictId}, - s.item_type = #{itemType}, - s.item_code = #{itemCode}, - s.item_value = #{itemValue}, - s.item_desc = #{itemDesc}, - s.parent_id = #{parent.serviceDictId}, - s.is_leaf = #{isLeaf}, - s.creator_id = #{serviceDictCreator.id}, - s.editor_id = #{serviceDictEditor.id}, - s.edit_time = #{editTime} - WHERE s.service_dict_id = #{serviceDictId} - - - - - - UPDATE service_dict_info s set s.is_valid = #{isValid} where s.service_dict_id = #{serviceDictId} - - - - - - - LEFT JOIN service_dict_info p ON p.service_dict_id = s.parent_id - - - - - - - - - \ No newline at end of file diff --git a/src/main/java/com/nis/web/dao/systemService/SystemServiceInfoDao.xml b/src/main/java/com/nis/web/dao/systemService/SystemServiceInfoDao.xml index 5909e0dd9..6f8d640a1 100644 --- a/src/main/java/com/nis/web/dao/systemService/SystemServiceInfoDao.xml +++ b/src/main/java/com/nis/web/dao/systemService/SystemServiceInfoDao.xml @@ -53,6 +53,7 @@ and service_id like concat(#{serviceIdPre}, '%') + order by ssi.service_id asc - -
- : - - - - + + + - - - - - - - + + - : " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> - : " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> - -
- + +
+ +
+ + 所有状态 + + + +
+ +
+
+
+ +
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+ + + + +
+ + +
+ + + + +
+ + +
+ + + + + + +
+
+ +
+
+ +
+
+ " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> +
+
+ +
+
+ " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> +
+ +
+ +
+
+ +
+
+ " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> +
+
+ +
+
+ " onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/> +
+
+
+ + +
+ +
+ + +
+ +
+
+ + + + - + + + + + + @@ -87,6 +187,7 @@ + @@ -114,7 +215,7 @@ @@ -151,9 +252,26 @@ - - \ No newline at end of file + diff --git a/src/main/webapp/WEB-INF/views/login.jsp b/src/main/webapp/WEB-INF/views/login.jsp index b569fea3e..0e9fbd2f2 100644 --- a/src/main/webapp/WEB-INF/views/login.jsp +++ b/src/main/webapp/WEB-INF/views/login.jsp @@ -109,7 +109,7 @@ - + @@ -139,8 +139,8 @@ // 如果在框架或在对话框中,则弹出提示并跳转到首页 if(self.frameElement && self.frameElement.tagName == "IFRAME" || $('#left').length > 0 || $('.jbox').length > 0){ - alert(""); - top.location = "${pageContext.request.contextPath }"; + alertx(""); + window.setTimeout(function () { top.location = "${pageContext.request.contextPath }"; }, 5000); } diff --git a/src/main/webapp/WEB-INF/views/systemService/form.jsp b/src/main/webapp/WEB-INF/views/systemService/form.jsp index 6e2156f90..be301a63c 100644 --- a/src/main/webapp/WEB-INF/views/systemService/form.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/form.jsp @@ -60,6 +60,7 @@ if (flag) { loading('LOADING...'); $("[disabled=disabled]").attr("disabled", false); + $("#submitBtn").attr("disabled", true);//防止重复提交 form.submit(); } else { flag = true; @@ -324,7 +325,7 @@
- > + >
diff --git a/src/main/webapp/static/global/css/components.css b/src/main/webapp/static/global/css/components.css index 092dca3bf..0438bdf94 100644 --- a/src/main/webapp/static/global/css/components.css +++ b/src/main/webapp/static/global/css/components.css @@ -21531,4 +21531,26 @@ Color library demo vertical-align: middle; } .mt-cookie-consent-bar.mt-cookie-consent-bar-light { background: rgba(238, 238, 238, 0.9); - color: #333; } + color: #333; } + + + + .form-search .pull-left { + float: left !important; + margin-right: 5px; + } + + + .filter-action-select-panle { + border: 1px solid #c2cad8; + background-color: #f6f3f3; + margin-top: 5px; + padding: 10px; + } + + .filter-action-select-panle label{ + line-height: 34px; + } + + + diff --git a/src/main/webapp/static/global/plugins/My97DatePicker/skin/WdatePicker.css b/src/main/webapp/static/global/plugins/My97DatePicker/skin/WdatePicker.css index 08b743975..f9121da77 100644 --- a/src/main/webapp/static/global/plugins/My97DatePicker/skin/WdatePicker.css +++ b/src/main/webapp/static/global/plugins/My97DatePicker/skin/WdatePicker.css @@ -1,2 +1,2 @@ -.Wdate{border:#999 1px solid;height:20px;background:#fff url(datePicker.gif) no-repeat right;} +.Wdate{border:#c2cad8 1px solid;min-height:20px;background:#fff url(datePicker.gif) no-repeat right;} .WdateFmtErr{font-weight:bold;color:red;} \ No newline at end of file diff --git a/src/main/webapp/static/global/plugins/bootstrap/css/bootstrap.css b/src/main/webapp/static/global/plugins/bootstrap/css/bootstrap.css index 1d6d56de1..3c2dcb07c 100644 --- a/src/main/webapp/static/global/plugins/bootstrap/css/bootstrap.css +++ b/src/main/webapp/static/global/plugins/bootstrap/css/bootstrap.css @@ -1334,9 +1334,9 @@ a.bg-danger:focus { background-color: #f6b3b8; } .page-header { - padding-bottom: 9px; - margin: 40px 0 20px; - border-bottom: 1px solid #eeeeee; } +/* padding-bottom: 9px; + margin: 40px 0 20px; */ + border-bottom: 1px solid #C2CAD8; } ul, ol { @@ -2037,7 +2037,9 @@ th { .table { width: 100%; max-width: 100%; - margin-bottom: 20px; } + margin-bottom: 20px; + margin-top: 10px; + } .table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr > th, @@ -2058,7 +2060,16 @@ th { .table > thead:first-child > tr:first-child > th, .table > thead:first-child > tr:first-child > td { border-top: 0; - background-color: #F5F6FA; + /* background-color: #F5F6FA; + */ + background-color: #3598dc; + color: #F5F6FA; + height: 38px; + line-height: 38px; + padding-top: 0px; + padding-right: 10px; + padding-bottom: 0px; + padding-left: 10px; } .table > tbody + tbody { border-top: 2px solid #e7ecf1; } @@ -2071,7 +2082,7 @@ th { .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td { - padding: 5px; } + padding-left:10px; } .table-bordered { border: 1px solid #e7ecf1; } diff --git a/src/main/webapp/static/global/scripts/jeesite.js b/src/main/webapp/static/global/scripts/jeesite.js index 98e04853b..ac6fed04b 100644 --- a/src/main/webapp/static/global/scripts/jeesite.js +++ b/src/main/webapp/static/global/scripts/jeesite.js @@ -6,15 +6,14 @@ * @version 2014-4-29 */ $(document).ready(function() { + try{ // 链接去掉虚框 $("a").bind("focus",function() { if(this.blur) {this.blur()}; }); //所有下拉框使用select2 - 排除class为noSelect2的
", { title: title, submit: function (v, h, f){ if (f.txt == '') { - top.$.jBox.tip("请输入" + lable + "。", 'error'); + top.$.jBox.tip("Please input" + lable + "。", 'error'); return false; } if (typeof href == 'function') { @@ -298,3 +293,38 @@ function abbr(name, maxLength){ +/*筛选按钮初始化*/ +function filterActionInit() { + + var isFilterAction = $("#isFilterAction").val(); + if(isFilterAction=="true") { + fiterPanleShow(); + }else { + fiterPanleHide(); + } + + $("#filter-btn").click(function(){ + if($("#isFilterAction").val()=="true") { + $("#isFilterAction").val("false"); + fiterPanleHide(); + }else { + $("#isFilterAction").val("true"); + fiterPanleShow(); + } + }); +} + +function fiterPanleShow() { + $("#filter-action").find("i").removeClass("fa-angle-double-down").addClass("fa-angle-double-up"); + $(".btn-search").addClass("hide"); + $(".filter-action-select-panle").removeClass("hide"); +} + +function fiterPanleHide() { + $("#filter-action").find("i").removeClass("fa-angle-double-up").addClass("fa-angle-double-down"); + $(".btn-search").removeClass("hide"); + $(".filter-action-select-panle").addClass("hide"); +} + + +
${requestInfo.id } ${requestInfo.requestNumber } ${requestInfo.requestOrg }${requestInfo.requestContent } ${requestInfo.taskName } -
+ <%--
-
+
--%>