From 70837725649fc1344cfca783cc127805b82976df Mon Sep 17 00:00:00 2001 From: sunhonglai Date: Tue, 25 Mar 2025 13:52:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=AD=A6=E5=91=98=E5=A2=9E=E5=8A=A0source=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E6=9D=A5=E6=BA=90=EF=BC=8C=E5=BC=80=E8=AF=BEID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/router/RouterFaceStu.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/drawers/router/RouterFaceStu.vue b/src/components/drawers/router/RouterFaceStu.vue index a03cb60a..abffadc7 100644 --- a/src/components/drawers/router/RouterFaceStu.vue +++ b/src/components/drawers/router/RouterFaceStu.vue @@ -356,7 +356,11 @@ watch(()=>params.value.finishStatus,()=>{ }) const removeStu=(id)=> dialog({ content: "确定删除该学员吗?", - ok: () => delStudentList({ ids: [id] }).then(() => fetchData()) + ok: () => delStudentList({ + ids: [id], + source: 1, + offcoursePlanId: offcoursePlanId + }).then(() => fetchData()) }) const closeDrawer = () => { From fdc46fc704acf61b8ae7e7e43bfada54a5033256 Mon Sep 17 00:00:00 2001 From: sunhonglai Date: Tue, 25 Mar 2025 15:11:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=AD=A6=E5=91=98=E5=A2=9E=E5=8A=A0source=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E6=9D=A5=E6=BA=90=EF=BC=8C=E5=BC=80=E8=AF=BEID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/router/RouterFaceStu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/drawers/router/RouterFaceStu.vue b/src/components/drawers/router/RouterFaceStu.vue index abffadc7..ea3cb987 100644 --- a/src/components/drawers/router/RouterFaceStu.vue +++ b/src/components/drawers/router/RouterFaceStu.vue @@ -359,7 +359,7 @@ const removeStu=(id)=> dialog({ ok: () => delStudentList({ ids: [id], source: 1, - offcoursePlanId: offcoursePlanId + targetId: offcoursePlanId.value }).then(() => fetchData()) })