From 72420dea52403d5fd65a81feb25b6c955b8e962c Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Wed, 23 Jul 2025 15:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E9=94=80=E5=81=87=E5=8A=B3=E8=B5=84?= =?UTF-8?q?=E5=91=98=E8=8E=B7=E5=8F=96=E4=BF=AE=E6=94=B9=EF=BC=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=85=A8=E9=83=A8=E5=8A=B3=E8=B5=84=E5=91=98=EF=BC=8C?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=98=BE=E7=A4=BA=E6=9C=AC=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E5=8A=B3=E8=B5=84=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages-humanResource/absence/add.vue | 26 +++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/pages-humanResource/absence/add.vue b/src/pages-humanResource/absence/add.vue index 9c15442..76e9b69 100644 --- a/src/pages-humanResource/absence/add.vue +++ b/src/pages-humanResource/absence/add.vue @@ -11,9 +11,9 @@ - - - + + + { return { value: item.name, @@ -345,12 +345,14 @@ }, 2000) } else { model.hr = res.result[0].username - hrData.value = res.result.map(item => { - return { - label: item.realname, - value: item.username - } - }) + if (!code) { + hrData.value = res.result.map(item => { + return { + label: item.realname, + value: item.username + } + }) + } } }) }