From b14834c1d55fe55afe563be281e2c9e89f12c724 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 25 Sep 2024 10:41:05 +0700 Subject: [PATCH] =?UTF-8?q?UI=20=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84?= =?UTF-8?q?=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=20Tab3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Step/2_ListPersons.vue | 370 ++++++++++-------- src/modules/18_command/views/detail.vue | 22 +- 2 files changed, 208 insertions(+), 184 deletions(-) diff --git a/src/modules/18_command/components/Step/2_ListPersons.vue b/src/modules/18_command/components/Step/2_ListPersons.vue index dbaf6909c..e538c38d5 100644 --- a/src/modules/18_command/components/Step/2_ListPersons.vue +++ b/src/modules/18_command/components/Step/2_ListPersons.vue @@ -147,195 +147,217 @@ function getCommandSalaryList(type: string) { function onSubmit() {} +onMounted(() => { + if (props.commandSysId) { + getCommandSalaryList(props.commandSysId); + } +}); + /** * ฟังก์ชันที่ต้องการนำฟังก์ชันออกไปใช้ใน Components แม่ */ defineExpose({ onSubmit, }); - -onMounted(() => { - if (props.commandSysId) { - getCommandSalaryList(props.commandSysId); - } -});