Commit graph

43 commits

Author SHA1 Message Date
Thanaphon Frappet
02c7598aec refactor: edit label
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 12s
2025-04-28 13:57:04 +07:00
Thanaphon Frappet
6f16964859 refactor: show option only eng 2025-04-04 11:08:46 +07:00
puriphatt
debfa874f3 refactor: 03 Employee => enhance responsive layout for employee management forms 2025-01-27 15:43:13 +07:00
Thanaphon Frappet
2a6553996f refactor: handle passport number 2025-01-10 10:10:16 +07:00
Thanaphon Frappet
29a0269453 refactor: handle input is require 2024-12-24 13:18:52 +07:00
Thanaphon Frappet
0d72c5eee6 refactor: handle input rules 2024-11-29 13:57:19 +07:00
Thanaphon Frappet
9fa735c529 refactor: handle name trim 2024-11-29 13:33:07 +07:00
Methapon Metanipat
972f6ba13e
feat: menu request list (#75)
* feat: i18n

* feat: request list

* refactor: hide stat transition on app.scss

* feat: request list i18n

* feat: request list => constants and main page

* feat: add store

* feat: add fetch data

* feat: add utilities fn

* feat: add store function / types

* refactor: request list type

* refactor: request list constants

* refactor: quotation card => add customData and badge color props

* feat: avatar group components

* feat: request list group

* refactor: request list => remove tab, add table data

* feat: send search query

* feat: add parameter

* refactor: remove unused function

* fix: rename component lits to list

* feat: show stats from api

* chore: cleanup

* refactor: make it type safe

* refactor: accept rotate flow id as parameter

* feat: use page size component

* feat: add component, data display & expansion product

* feat: i18n

* refactor: constants and request list table

* refactor: type code, createdAt, updatedAt

* refactor: utils function changThemeMode

* feat: request list => view page

* refactor: use type instead of infer from value

* fix: function getEmployeeName att type

* refactor: fetch work list

* refactor: loop work list

* feat: add i18n duty

* feat: add form issue component

* feat: add form issue section

* fix: store error

* refactor: edit by value

* refactor: accept basic info from outside instead

* feat: add status filter support on fetch

* refactor: remove delete button

* refactor: wording

* feat/fix: request list i18n & constant

* feat: document type

* feat/refactor: request list => document expansion

* refactor: doc expansion use FormGroupHead

* refactor: fetch data based on id from route param

* refactor: text area disable

* feat: properties expansion display (mocking)

* refactor: add document at product relation

* refactor: edit get value product

* feat: get workflow step to show on top

* refactor: add type

* refactor: add get attachment

* refactor: add view attachment

* refactor: edit file name

* refactor: define props get hide icon

* refactor: edit align row

* refactor: by value table document

* refactor: by value row table

* feat: add independent ocr dialog

* chore: clean up

* refactor: accept more props and small adjustment

* fix: error withDefault call

* feat: accept default metadata when open

* fix: typo

* feat: add override hook when finish ocr

* feat: reset state on open

* feat: detect reader result is actually string

* fix: variable name conflict

* feat: properties to input component

* feat: properties input in properties expansion

* feat: properties expansion data (temporary)

* refactor: add i18n status work

* refactor: edit type work status and add step status

* refactor: add edit status work

* refactor: edit step work

* refactor: properties data type

* refactor: filter selected product & specific properties

* feat: add emit event

* refactor: change variable name for better understanding

* refactor: hide step that no properties

* refactor: work status type to validate

* feat: work status color

* refactor: key for filename

* refactor: close expansion when change step

* refactor: responsive meta data

* refactor: product expansion responsive

* fix: dark mode step text color

* fix: document expansion table no data label

* refactor: main page body bordered and overflow hidden

* refactor: use utils function instead

* refactor: add process

* refactor: by value  name

* refactor: add upload file

* refactor: upload file

* refactor: by value

* fix: option worker type

* refactor: fetchRequestAttachment after edit

* fix: metadata display

* refactor: add class full-height

* refactor: edit type

* refactor: fetch file

* refactor: by value visa

* refactor: request list attributes type

* fix: properties to input props (placeholder, readonly, disable)

* feat: request list properties function

* fix: error when no workflow

* docs: update comment to fix indent

* refactor: step type (attributes)

* refactor: add attributes payload on editStatusRequestWork function

* feat/refactor: functional form expansion/filter worklist

* refactor: set attributes properties after submit

* refactor: add request work ready status

* feat: request list => form employee component

* feat/refactor: form expansion select user/layout

* fix: properties readonly

---------

Co-authored-by: puriphatt <puriphat@frappet.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
2024-11-22 18:02:03 +07:00
Methapon Metanipat
5134617ae2 feat: computed and disable issue / expire date 2024-11-13 15:26:31 +07:00
Thanaphon Frappet
bb4164779e refactor: edit layout form in ocr 2024-11-11 15:43:15 +07:00
Thanaphon Frappet
82d28cc3aa refactor: edit type passpor 2024-11-11 14:59:08 +07:00
Net
ce3d809bd9
feat: form ocr (#56)
* refactor: add i18n

* refactor: add id in type employee visa

* refactor: edit layout ui visa

* refactor: add menu visa

* refactor: add type visa

* refactor: by value visa

* refactor: add workerType in option

* refactor: add index visa

* feat: submit add  delete and assign value

* feat: use submitVisa

* fix: col not working

* refactor: handle mrz and remark can is null

* refactor: add i18n

* refactor: add option workerStatus

* refactor: edit layout input

* refactor: menu set sub true

* refactor: add visa at dialog add

* refactor: handle index visa

* refactor: add i18n

* refactor: add input entryCount and issueCountry

* refactor: add input entryCout and issueCountry
2024-11-11 09:39:43 +07:00
Thanaphon Frappet
ebd2ff6057 refactor: edit conditions show full name 2024-10-17 11:49:40 +07:00
Thanaphon Frappet
2b0587c116 refactor: handle gender and prefixName 2024-10-15 14:50:48 +07:00
Thanaphon Frappet
bfc59d1d6f refactor:set items-center 2024-10-04 13:32:16 +07:00
Thanaphon Frappet
e969db16e0 refactor: add tab passport 2024-10-03 17:35:56 +07:00
puriphatt
685ad0cc54 refactor: employee new img dialog 2024-09-11 16:53:08 +07:00
puriphatt
effa640c6d fix(03): form validate rule and i18n 2024-09-11 09:56:38 +07:00
Methapon2001
b7921d4173 change: form now validate on blur or malform 2024-09-04 13:31:46 +07:00
puriphatt
0471cf56ae refactor(03): employee visa passport 2024-08-29 11:39:09 +07:00
Net
11767a722b refactor: add defineProps ocr 2024-08-28 17:44:47 +07:00
puriphatt
f6c98b4936 feat: passport type option 2024-08-27 15:32:18 +07:00
Methapon Metanipat
c681b19e39 Merge refactor/i18n into develop 2024-08-26 16:24:18 +07:00
puriphatt
5775c9d5f1 refactor(03): use share DatePicker 2024-08-22 09:32:29 +07:00
puriphatt
18efaa48b6 refactor: misc 2024-08-20 18:04:42 +07:00
Methapon2001
be7a036b8d refactor: use alias 2024-08-09 15:06:41 +07:00
Methapon2001
48f2dcde46 fix: error 2024-08-06 15:07:25 +07:00
Net
00d0e698a6 refactor: edit layout ui input 2024-08-06 15:02:13 +07:00
Net
2c9f7ba02d fix: id missing 2024-07-30 14:17:47 +07:00
puriphatt
57e61cf663 refactor(03): input select 2024-07-26 11:44:00 +00:00
Methapon2001
c3ac90429e feat: only validate field on submit only 2024-07-26 11:05:07 +07:00
puriphatt
305d1f2e2b fix(03): employee responsive 2024-07-25 10:48:04 +00:00
Net
1bbb5007d3 refactor: add prefixId 2024-07-25 14:44:32 +07:00
puriphatt
6215338e58 fix(03): responsive employee form personal info 2024-07-24 09:10:26 +00:00
puriphatt
7b262d34d7 fix: all date picker input 2024-07-17 10:49:36 +00:00
Net
4183dbb0ec fix: แก้การตัวสอบ 2024-07-10 09:35:00 +07:00
puriphatt
8cb6a87be1 feat: vue datepicker dark mode 2024-07-01 04:03:39 +00:00
puriphatt
57e0d0d1aa fix: form readonly (customer management) 2024-06-27 04:43:12 +00:00
puriphatt
c8b1a7551a fix: date picker locale 2024-06-14 11:01:06 +00:00
puriphatt
cb01378114 feat: option from json 2024-06-11 12:27:58 +00:00
puriphatt
26402c0de4 feat: employee image and type 2024-06-11 05:01:58 +00:00
puriphatt
93697fd8cc feat: rule validate employee 2024-06-11 04:58:59 +00:00
puriphatt
2b56c26e1b feat: employee form (passport, visa, work, other) 2024-06-10 11:25:38 +00:00