无故事王国
2024-03-08 4966eb10cbf5ce9c6ee37a13d393fb0ae2d85b60
WanPai/Root/Other/View/StudentChoose2View.swift
@@ -98,7 +98,10 @@
            }
            @IBAction func completeAction(_ sender: UIButton) {
                        //                        clickClouse!(selectStudents)
                        guard selectStudents != nil else {
                                    alert(msg: "请选择"   );return
                        }
                        clickClouse!(selectStudents!)
                        closeAction()
            }
}
@@ -118,8 +121,13 @@
            func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
                        let cell = tableView.dequeueReusableCell(withIdentifier: "_StudentInfo_2_TCell") as! StudentInfo_2_TCell
                        cell.indexPath = indexPath
                        cell.activityDetailPartModel = viewModel.dataSource.value[indexPath.row]
                        cell.img_radio.isHidden = false
                        cell.btn_delete.isHidden = true
                        cell.btn_edit.isHidden = true
                        cell.img_radio.image = UIImage(named: selectStudents?.id == viewModel.dataSource.value[indexPath.row].id ? "btn_select" : "btn_select_u")
                        return cell
            }
}