随笔分类 - LayUI
摘要:选中+半选中 数组合并 this.$refs.tree.getCheckedKeys().concat(this.$refs.tree.getHalfCheckedKeys()),
阅读全文
摘要:,btnAlign: 'c'举例: dialogConfirm('分期还款确认', '/xx1/xx2','60%', '80%','确认','关闭','edit-submit',function (index, field) {} function dialogConfirm(title, url
阅读全文
摘要:实现方法: <script type="text/html" id="table-operation"> {{# if(d.orderStatus == '1'){ }} <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="li
阅读全文
摘要:1 创建公共枚举 enumFunction.js /** * 逾期状态 0未逾期 1已逾期 */ function overdueStatus(d) { if(d null || d '' ){ return null; } else if(d 0) return "未逾期"; else if( d
阅读全文