From 5a0087b649e0c9f041ebcf07060c20a33b1b07a8 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 19 Jun 2024 07:26:54 +0000 Subject: [PATCH] fix: service work expansion --- .../04_product-service/FormServiceWork.vue | 8 +- .../WorkManagementComponent.vue | 319 +++++++++++------- 2 files changed, 201 insertions(+), 126 deletions(-) diff --git a/src/components/04_product-service/FormServiceWork.vue b/src/components/04_product-service/FormServiceWork.vue index b5e284ca..ca9fb965 100644 --- a/src/components/04_product-service/FormServiceWork.vue +++ b/src/components/04_product-service/FormServiceWork.vue @@ -12,6 +12,7 @@ const workItems = ref([ { id: '1', label: 'ค่าธรรมเนียมใบอนุญาตทำงาน 2 ปี', + labelEn: '2 year work permit fee', code: 'AC101', price: '1,200.00', time: '14', @@ -24,6 +25,7 @@ const workItems = ref([ { id: '1', label: 'ค่าธรรมเนียมใบอนุญาตทำงาน 2 ปี', + labelEn: '2 year work permit fee', code: 'AC101', price: '1,200.00', time: '14', @@ -32,6 +34,8 @@ const workItems = ref([ id: '1', label: 'ค่าบริการและค่าดำเนินงานยื่นคำร้องขอใบอนุญาตทำงานแทน คนงานต่างด้าว MOU', + labelEn: + 'Service and processing fees for submitting a work permit application on behalf of an MOU foreign worker', code: 'AC102', price: '1,200.00', time: '14', @@ -77,8 +81,10 @@ defineEmits<{ diff --git a/src/components/04_product-service/WorkManagementComponent.vue b/src/components/04_product-service/WorkManagementComponent.vue index d2c33fc8..8743083d 100644 --- a/src/components/04_product-service/WorkManagementComponent.vue +++ b/src/components/04_product-service/WorkManagementComponent.vue @@ -1,16 +1,18 @@ @@ -181,4 +239,15 @@ defineEmits<{ border-radius: 10px; background-color: var(--surface-3); } + +:deep(i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon) { + color: var(--brand-1); +} + +:deep( + .q-item__section.column.q-item__section--side.justify-center.q-item__section--avatar.q-focusable.relative-position.cursor-pointer + ) { + padding-right: 8px !important; + min-width: 0px; +}