From 1d1d8c795c0178f9ad0e79cedd6f38b2930c54b2 Mon Sep 17 00:00:00 2001 From: Net Date: Sun, 15 Jun 2025 21:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BasicForm/components/BasicDateTime.vue | 2 +- .../view/hr/teacherProfile/PositionInfo.vue | 152 ++++++++++++++++-- 2 files changed, 140 insertions(+), 14 deletions(-) diff --git a/src/components/BasicForm/components/BasicDateTime.vue b/src/components/BasicForm/components/BasicDateTime.vue index a55af85..55e5a47 100644 --- a/src/components/BasicForm/components/BasicDateTime.vue +++ b/src/components/BasicForm/components/BasicDateTime.vue @@ -91,7 +91,7 @@ function confirm(e: any) { newValue.value = dayjs(value).format("YYYY-MM"); } if (attrs.componentProps.ok && typeof attrs.componentProps.ok == "function") { - attrs.componentProps.ok(e); + attrs.componentProps.ok(e, attrs); } } diff --git a/src/pages/view/hr/teacherProfile/PositionInfo.vue b/src/pages/view/hr/teacherProfile/PositionInfo.vue index 543073b..5c6fafd 100644 --- a/src/pages/view/hr/teacherProfile/PositionInfo.vue +++ b/src/pages/view/hr/teacherProfile/PositionInfo.vue @@ -5,12 +5,14 @@