摘要: //获取传入的日期天为当月的第几周 返回年月周 每月第一个星期一为第一周,每周一为该周的第一天 private static String[] getWeekByDate() throws Exception { SimpleDateFormat sdf = new SimpleDateFormat 阅读全文
posted @ 2021-02-28 09:25 彈指一揮間 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 1、下载压缩包,github的下载地址:https://github.com/vuejs/vue-devtools 一定要选择 master的zip包下载,非常重要 2、解压缩之后进入文件夹,打开cmd窗口,执行npm install 命令 3、再执行npm run build 4、进入vue-de 阅读全文
posted @ 2020-12-31 09:59 彈指一揮間 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-12-17 21:12 彈指一揮間 阅读(757) 评论(0) 推荐(0) 编辑
摘要: public List<CategoryEntity> listWithTree() { //1、查出所有分类 List<CategoryEntity> entities = baseMapper.selectList(null); //2、找到所有的一级分类 List<CategoryEntity 阅读全文
posted @ 2020-11-24 13:07 彈指一揮間 阅读(326) 评论(0) 推荐(0) 编辑
摘要: // 着色部分是小数点后保留几位小数,这里是四位oninput="value=value.replace(/[^\d^\.]+/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.').replace(/^(\-)*(\d+)\.(\ 阅读全文
posted @ 2020-11-16 13:12 彈指一揮間 阅读(2063) 评论(1) 推荐(1) 编辑
摘要: 前提:安装Vagrant 和VirtualBox。 刚开始在官网镜像centos/7,速度奇慢 然后采取下面的方式 ,镜像中科院地址,速度很快 vagrant box add base https://mirrors.ustc.edu.cn/centos-cloud/centos/7/vagrant 阅读全文
posted @ 2020-11-11 22:52 彈指一揮間 阅读(946) 评论(0) 推荐(0) 编辑
摘要: 先看效果: html部分 <input type="hidden" class="form-control" id="xzqbm"/> <input type="text" class="form-control" id="queryXzqName" style="" readonly onclic 阅读全文
posted @ 2020-05-25 15:06 彈指一揮間 阅读(602) 评论(0) 推荐(0) 编辑
摘要: window.location.href = "/exportExcel?flag="+flag+"&val="+val+"&title="+title+"&notin="+notin; 该代码在谷歌浏览器能正常访问后台导出方法,而在IE浏览器下却报错了,原因是title的值中有中文参数乱码了 解决 阅读全文
posted @ 2020-03-09 14:16 彈指一揮間 阅读(716) 评论(0) 推荐(0) 编辑
摘要: function test(){ var load = layer.load(1, { shade: [0.1,'#393D49'] }); setTimeout(function () { //ajax同步方法写这里面,layer.load正常加载 },1000) } 阅读全文
posted @ 2020-01-03 11:06 彈指一揮間 阅读(2370) 评论(0) 推荐(1) 编辑
摘要: //去除数组中值的双引号 for(var i = 0; i < points.length; i++){ var obj = points[i]; for(var prop in obj){ if(obj.hasOwnProperty(prop) && obj[prop] !== null && !isNaN(obj[prop])){ obj[prop] = +obj[prop]; } } } c 阅读全文
posted @ 2019-09-19 13:41 彈指一揮間 阅读(2759) 评论(0) 推荐(0) 编辑