摘要: private String[] getDateArrByMonth(Date startDate, Date endDate) { Calendar c = Calendar.getInstance(); List<String> list = new ArrayList<String>(); S 阅读全文
posted @ 2016-12-28 17:21 JLCUI 阅读(940) 评论(0) 推荐(0) 编辑
摘要: public int getDayOfWeek(Date date) { Calendar c = Calendar.getInstance(); c.setTime(date); int d = c.get(Calendar.DAY_OF_WEEK) - 1; if (d == 0) { retu 阅读全文
posted @ 2016-12-28 17:18 JLCUI 阅读(321) 评论(0) 推荐(0) 编辑
摘要: public static String md5(String inStr) throws Exception { MessageDigest md5 = null; try { md5 = MessageDigest.getInstance("MD5"); } catch (Exception e 阅读全文
posted @ 2016-12-28 17:16 JLCUI 阅读(100) 评论(0) 推荐(0) 编辑
摘要: public final static String REG_PASSWORD_EXP="^[0-9a-zA-Z_]{6,8}$"; regExp = ConstantUtil.REG_PASSWORD_EXP; p = Pattern.compile(regExp); m = p.matcher( 阅读全文
posted @ 2016-12-28 17:13 JLCUI 阅读(712) 评论(0) 推荐(0) 编辑
摘要: Thread threadTemp = new Thread(new Runnable() { @Override public void run() { try { NightshiftInterval ns = nightshiftIntervalMapper.selectByPrimaryKe 阅读全文
posted @ 2016-12-28 17:04 JLCUI 阅读(112) 评论(0) 推荐(0) 编辑
摘要: function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != nul 阅读全文
posted @ 2016-12-28 16:54 JLCUI 阅读(2134) 评论(0) 推荐(0) 编辑
摘要: //span赋值 $('#state1').text("审核通过"); //textarea赋值 $("#memo").val(''); //隐藏域 $("#id").val(row.id); //textbox赋值和取值 $("#county").textbox('setValue',result 阅读全文
posted @ 2016-12-28 16:52 JLCUI 阅读(736) 评论(0) 推荐(0) 编辑
摘要: var rows = $('#dg').datagrid('getChecked'); var ids = ''; for (var i = 0; i < rows.length; i++) { ids += rows[i].id + ','; } ids = ids.substring(0, id 阅读全文
posted @ 2016-12-28 16:51 JLCUI 阅读(168) 评论(0) 推荐(0) 编辑
摘要: data-options="required:true,validateOnCreate:false,validateOnBlur:true,validType:'datecompare[startdateNew]'" /> function dateCompare(dt1,dt2){ var st 阅读全文
posted @ 2016-12-28 16:51 JLCUI 阅读(2619) 评论(0) 推荐(0) 编辑
摘要: $('#moneyff').form('clear'); 阅读全文
posted @ 2016-12-28 16:50 JLCUI 阅读(81) 评论(0) 推荐(0) 编辑
摘要: $('#moneyWin').dialog('open').dialog('center').dialog('setTitle', '用户充值'); 阅读全文
posted @ 2016-12-28 16:50 JLCUI 阅读(115) 评论(0) 推荐(0) 编辑
摘要: $("#rejectCauseDisplay").css('display',"block"); $("#rejectCauseDisplay").css('display',"none"); 阅读全文
posted @ 2016-12-28 16:49 JLCUI 阅读(149) 评论(0) 推荐(0) 编辑
摘要: var row = $('#dg').datagrid('getData').rows[rowIndex]; $('#moneyff').form('load', row);//row 可以是行数据也可以是对象加载 阅读全文
posted @ 2016-12-28 16:49 JLCUI 阅读(199) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type : "POST", data:{ createStartTime:createStartTimes, createEndTime:createEndTimes }, url : "<%=request.getContextPath()%>/numericalControl 阅读全文
posted @ 2016-12-28 16:48 JLCUI 阅读(864) 评论(0) 推荐(0) 编辑
摘要: $("#activityName").textbox('readonly',true);//设置只读 //下拉列表获取数据 $('#depid').combobox({ url:'<%=request.getContextPath()%>/company/getDepartment', editab 阅读全文
posted @ 2016-12-28 16:46 JLCUI 阅读(945) 评论(0) 推荐(0) 编辑