From d257b04e6e7e6962f895d607a05b8131519cad8a Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 23 Mar 2023 14:01:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E9=A1=B9=E7=9B=AE=E5=86=85=E5=AD=A6?= =?UTF-8?q?=E5=91=98=E6=90=9C=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/student/CommonStudent.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/student/CommonStudent.vue b/src/components/student/CommonStudent.vue index acabc4f8..30af809a 100644 --- a/src/components/student/CommonStudent.vue +++ b/src/components/student/CommonStudent.vue @@ -27,7 +27,7 @@ 搜索 - 重置 + 重置 @@ -377,7 +377,10 @@ const stuTableRef = ref(); const projectParams = ref({ pid: props.infoId, type: props.infoType }); const getProjectStu = () => projectStuTableRef.value.fetch(); -const resetProjectStu = () => projectStuTableRef.value.reset(); +const resetProjectStu = () => { + projectParams.value.studentName = ""; + projectStuTableRef.value.reset() +}; const person = ref(false); const group = ref(false); @@ -541,6 +544,8 @@ const orgRowSelection = computed(() => ({ const closeDrawer = () => { deleteDepSelect(); + projectParams.value.studentName = ""; + projectStuTableRef.value.reset(); visiable.value = false; nameSearch.value.keyword = ""; selectedOrgKeys.value = []; From f4250ed83a2b423e00d5119ed4a4db28e4199b9d Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 23 Mar 2023 14:16:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?style:=E6=89=B9=E9=87=8F=E9=9D=A2=E6=8E=88?= =?UTF-8?q?=E6=8A=A5=E5=90=8D=E6=94=BE=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LevelAdd.vue | 8 ++++---- src/views/projectcenter/TaskPage.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 3ede4cd8..bd87252e 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -325,9 +325,9 @@
任务大纲
- +
任务大纲
- +