From 4966eb10cbf5ce9c6ee37a13d393fb0ae2d85b60 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期五, 08 三月 2024 21:59:57 +0800
Subject: [PATCH] 2.0功能完成

---
 WanPai/Root/Other/View/StudentChoose2View.swift |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/WanPai/Root/Other/View/StudentChoose2View.swift b/WanPai/Root/Other/View/StudentChoose2View.swift
index 898fb28..72d0b75 100644
--- a/WanPai/Root/Other/View/StudentChoose2View.swift
+++ b/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
 				}
 }

--
Gitblit v1.7.1