| | |
| | | columnDto.add(new ColumnDto("总承修单位", "generalRepair", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("分承修单位", "repair", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("跟踪记录", "", 100, "", true, buttonList, null)); |
| | | columnDto.add(new ColumnDto("历史记录", "trackNum", 50, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("历史记录", "trackNum", 100, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("完成时间", "actualCompletion", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("附件", "fileName", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("备注", "remark", 120, null, false, null, null)); |
| | |
| | | JScrollPane scrollPane = new JScrollPane(table, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS); |
| | | scrollPane.setViewportView(table); |
| | | scrollPane.getViewport().setBackground(Color.WHITE); |
| | | scrollPane.setPreferredSize(new Dimension(width - 20, height - 120)); |
| | | scrollPane.setPreferredSize(new Dimension(width - 20, height - 130)); |
| | | centerJpanel.add(scrollPane); |
| | | |
| | | return panel; |