| | |
| | | |
| | | JComboBoxItem[] teamList = sysTeamGroupClassService.getTeamList(null); |
| | | String[] typeList = new String[]{ |
| | | "","改装", "加装", "换装", "修理","改进性修理" |
| | | "","改换装","修理","改进性修理","不复装设备" |
| | | }; |
| | | JComboBoxItem[] isealCabin = { |
| | | new JComboBoxItem(10000L, ""), |
| | |
| | | columnDto.add(new ColumnDto("二级节点", "level2NodeName", 120, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("设备名称", "level3NetworkName", 120, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("是否影响封舱", "isealCabin", 180, "dict", false, null, isealCabin)); |
| | | columnDto.add(new ColumnDto("是否联调", "islt", 180, "dict", false, null, isealCabin)); |
| | | columnDto.add(new ColumnDto("当前节点", "level3NodeName", 150, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("计划完成时间", "requiredCompletionTime", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("跟踪记录", "", 100, "", true, buttonList, null)); |
| | |
| | | |
| | | // 检查是否点击了有效单元格 |
| | | if (row >= 0 && column >= 0) { |
| | | if (column == 14) { // 列索引从0开始 |
| | | if (column == 15) { // 列索引从0开始 |
| | | // 获取该单元格的值 |
| | | Object cellValue = table.getValueAt(row, column); |
| | | Integer value = Integer.parseInt(cellValue.toString()); |
| | |
| | | new JComboBoxItem(1L, "有"), |
| | | }; |
| | | |
| | | columnDto.add(new ColumnDto("序号", "", 50, "autoCreate", false, null, null)); |
| | | columnDto.add(new ColumnDto("跟踪方式", "trackMethod", 80, "dict", false, null, trackList)); |
| | | columnDto.add(new ColumnDto("序号", "", 80, "autoCreate", false, null, null)); |
| | | columnDto.add(new ColumnDto("跟踪方式", "trackMethod", 120, "dict", false, null, trackList)); |
| | | columnDto.add(new ColumnDto("跟踪地点", "trackLocation", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("助修人及其联系方式", "trackPerson", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("厂方及其联系方式", "trackedPerson", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("总承修单位", "generalRepair", 160, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("分承修单位", "repair", 160, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("助修人", "trackPerson", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("厂方", "trackedPerson", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("总承修单位", "generalRepair", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("分承修单位", "repair", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("节点进展", "currentStatus", 120, "dict", false, null, statusList)); |
| | | columnDto.add(new ColumnDto("有无脱期风险", "hasDelayRisk", 70, "dict", false, null, hasDelayRiskList)); |
| | | columnDto.add(new ColumnDto("预计完成时间", "estimatedCompletionTime", 220, "selectDate", false, null, null)); |
| | | columnDto.add(new ColumnDto("存在问题", "problem", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("后续计划", "followupPlan", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("备注", "remark", 200, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("脱期风险", "hasDelayRisk", 120, "dict", false, null, hasDelayRiskList)); |
| | | columnDto.add(new ColumnDto("预计完成时间", "estimatedCompletionTime", 200, "selectDate", false, null, null)); |
| | | columnDto.add(new ColumnDto("存在问题", "problem", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("后续计划", "followupPlan", 180, null, false, null, null)); |
| | | columnDto.add(new ColumnDto("备注", "remark", 180, null, false, null, null)); |
| | | |
| | | JTable subTable = CommonTable.createCommonTable(list, columnDto); |
| | | subTable.setRowHeight(25); |