| | |
| | | List<TableButton> buttonList = new ArrayList<>(); |
| | | buttonList.add(new TableButton("del", "删除")); |
| | | |
| | | columnDto.add(new ColumnDto("序号", "", 50, "autoCreate", false, null,null)); |
| | | columnDto.add(new ColumnDto("序号", "", 50, "autoCreate", true, null,null)); |
| | | //columnDto.add(new ColumnDto("工程专业", "majorName", 180, null, false, null,null)); |
| | | columnDto.add(new ColumnDto("节点名称", "ProcessName", 160, null, false, null,null)); |
| | | columnDto.add(new ColumnDto("要求完成时间", "requiredCompletionTime", 120, null, false, null,null)); |
| | | columnDto.add(new ColumnDto("节点名称", "ProcessName", 160, null, true, null,null)); |
| | | columnDto.add(new ColumnDto("要求完成时间", "requiredCompletionTime", 120, "selectDate", true, null,null)); |
| | | columnDto.add(new ColumnDto("操作", "", 85, "", true, buttonList,null)); |
| | | |
| | | JTable subTable = CommonTable.createCommonTable(list, columnDto); |
| | |
| | | mxGraphComponent graphComponent = new mxGraphComponent(graph); |
| | | graphComponent.setConnectable(false); |
| | | graphComponent.setDragEnabled(false); |
| | | graphComponent.zoomTo(2, true); |
| | | graphComponent.zoomTo(1, true); |
| | | diagram.add(graphComponent); |
| | | |
| | | mxGraph finalGraph = graph; |