diff --git a/src/components/student/CommonStudent.vue b/src/components/student/CommonStudent.vue
index f5f4372f..015cda24 100644
--- a/src/components/student/CommonStudent.vue
+++ b/src/components/student/CommonStudent.vue
@@ -244,14 +244,14 @@
@@ -536,13 +536,23 @@ const getStu = () => {
});
};
getStu();
-const projectChangePagination = () => {};
+const projectChangePagination = (page) => {
+ procurrentPage.value = page;
+ getStu();
+};
function onProjectSelectChange(e, l) {
console.log("eeeee", e, l);
projectSelectKeys.value = e;
selectsData.value.projectMemberList = l;
}
+function memberDel(i) {
+ projectSelectKeys.value = projectSelectKeys.value.filter(
+ (e) => e !== selectsData.value.projectMemberList[i].id
+ );
+ selectsData.value.projectMemberList.splice(i, 1);
+}
+
const person = ref(false);
// const dept =ref(false)
const group = ref(false);
@@ -889,7 +899,9 @@ function handleStageOk() {
deptIds: selectsData.value.deptList?.map((e) => e.id),
stageId: selectsData.value.stageId,
groupIds: selectsData.value.groupList?.map((e) => e.id),
- studentList: selectsData.value.studentList,
+ studentList: selectsData.value.studentList.concat(
+ selectsData.value.projectMemberList
+ ),
groupName: props.groupName,
groupId: props.groupId,
}).then(() => {
@@ -940,6 +952,7 @@ watch(visiable, () => {
studentList: [],
deptList: [],
groupList: [],
+ projectMemberList: [],
};
stuReset();
auditReset();
diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue
index 4fbb04e0..9ce80e98 100644
--- a/src/views/learningpath/LevelAdd.vue
+++ b/src/views/learningpath/LevelAdd.vue
@@ -327,7 +327,7 @@
任务大纲
@@ -340,7 +340,9 @@