- 博客(6)
- 收藏
- 关注
原创 返回前端数据 重复$ref解决
String json = JSON.toJSONString(r, SerializerFeature.DisableCircularReferenceDetect); r = JSON.parseObject(json, new TypeReference<R>(){}); or @Override public void configureMessageConve...
2019-06-05 11:40:38
481
转载 bootstrap switch 在jqgrid的使用
首先导入包 $(function () { $("#jqGrid").jqGrid({ url: baseURL + ‘sys/dept/list’, datatype: “json”, colModel: [ { label: ‘序号’, name: ‘deptId’, index: “dept_id”, width: 45, key: true }, { label: ‘医院名称’,...
2018-12-20 16:21:33
802
原创 TreeTable树形菜单
html js var table= { id: “treeTable”, table: null, layerIndex: -1 }; /** 初始化表格的列 */ tableTer.initColumn = function () { var columns = [ {field: ‘selectItem’, radio: true}, {tit...
2018-12-13 14:16:49
1680
3
原创 自定义的返回数据
public class R extends HashMap<String, Object> { private static final long serialVersionUID = 1L; public static final int OK = 1; public R() { put("code", ResCode.OK.getCode());...
2018-12-13 10:52:23
627
1
原创 jqGrid分页
js代码 $(function () { $("#jqGrid").jqGrid({ url: baseURL + 'sys/dept/list', datatype: "json", colModel: [ { label: 'xxx', name: 'deptId', index: "dept_id", widt...
2018-12-12 16:30:52
519
转载 jqgrid 时间日期格式转换问题
jqgrid 时间日期格式转换问题 处理方式,formatter 方式回显,js处理日期格式问题 代码如下: {name:‘paytime’,index:‘paytime’, formatter:function(cellvalue, options, rowObject){ if(cellvaluenull ||cellvalue""){return “”} var time = new Dat...
2018-12-12 15:25:22
777
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人