| | |
| | | JLabel label1 = new JLabel("一级网络图节点"); |
| | | JComboBox<JComboBoxItem> comboBox1 = new JComboBox<>(); |
| | | comboBox1.setModel(new DefaultComboBoxModel<>(level2List)); |
| | | comboBox1.setSelectedIndex(-1); |
| | | |
| | | JLabel label2 = new JLabel("二级网络图节点"); |
| | | JComboBox<JComboBoxItem> comboBox2 = new JComboBox<>(level2NodeList); |
| | | comboBox2.setSelectedIndex(-1); |
| | | comboBox2.setRenderer(new DefaultListCellRenderer() { |
| | | @Override |
| | | public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) { |
| | |
| | | JComboBoxItem[] teamList = sysTeamGroupClassService.getTeamList(null); |
| | | JComboBoxItem[] cabinList = cabinService.getList(); |
| | | String[] typeList = new String[]{ |
| | | "","改装", "加装", "换装", "修理","改进性修理" |
| | | "","改换装","修理","改进性修理","不复装设备" |
| | | }; |
| | | List<DjJdgzTrackRecord> list = djJdgzTrackRecordService.getList(level1Id[0], deptList[0].getId(), teamList[0].getId(), cabinList[0].getId(), typeList[0], 0,0, null); |
| | | CommonTable.refreshTable(list, columnDto, subTable); |