| | |
| | | comboBox1.setPreferredSize(new Dimension(300, 28)); |
| | | comboBox1.setSelectedIndex(-1); |
| | | |
| | | JComboBoxItem[] teamList1 = sysTeamGroupClassService.getTeamList(deptList[0].getId()); |
| | | |
| | | JLabel JLabel1 = new JLabel("请选择专业"); |
| | | JComboBox<JComboBoxItem> comboBox2 = new JComboBox<>(); |
| | | JComboBox<JComboBoxItem> comboBox2 = new JComboBox<>(teamList1); |
| | | comboBox2.setPreferredSize(new Dimension(300, 28)); |
| | | comboBox2.setSelectedIndex(-1); |
| | | |
| | |
| | | Long deptId = selectedItem1 == null ? null : selectedItem1.getId(); |
| | | Long teamId = selectedItem2 == null ? null : selectedItem2.getId(); |
| | | |
| | | |
| | | JComboBoxItem[] teamList = sysTeamGroupClassService.getTeamList(deptId); |
| | | comboBox2.setModel(new DefaultComboBoxModel<>(teamList)); |
| | | comboBox2.setSelectedIndex(0); |
| | | JComboBoxItem[] level3List = djJdgzNetworkLevel3Service.getListByExport(projectId, deptId, teamId); |
| | | comboBox3.setModel(new DefaultComboBoxModel<>(level3List)); |
| | | comboBox3.setSelectedIndex(-1); |