From eeb92dfb5d2a21c601f20f06f59b79bf9b41033d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 18 Sep 2024 17:24:21 +0700 Subject: [PATCH] Refactoring code module 04_registryPerson --- .../components/DialogAddData.vue | 389 -------------- .../components/DialogHistory.vue | 11 +- .../components/TableView.vue | 37 +- .../Achievement/01_ProfessionalLicense.vue | 111 ++-- .../detail/Achievement/02_Train.vue | 140 ++--- .../detail/Achievement/03_Insignia.vue | 127 ++--- .../Achievement/04_DeclarationHonor.vue | 78 +-- .../Achievement/05_ResultsPerformance.vue | 266 +++++----- .../Achievement/DialogDevelopmance.vue} | 165 +++--- .../detail/GovernmentInformation/01_Info.vue | 57 +- .../GovernmentInformation/02_Discipline.vue | 99 ++-- .../02_DisciplineHistory.vue | 70 +-- .../detail/GovernmentInformation/03_Leave.vue | 133 ++--- .../GovernmentInformation/03_LeaveHistory.vue | 62 ++- .../04_PerformSpecialWork.vue | 111 ++-- .../04_PerformSpecialWorkHistory.vue | 47 +- .../detail/GovernmentInformation/Main.vue | 8 +- .../detail/Other/01_OtherInformation.vue | 100 ++-- .../Other/01_OtherInformationHistory.vue | 68 ++- .../components/detail/Other/02_Document.vue | 66 +-- .../detail/PersonalInformation/01_Profile.vue | 52 +- .../02_NameChangeHistory.vue | 489 ++++++------------ .../detail/PersonalInformation/03_Address.vue | 237 +++++---- .../PersonalInformation/04_FamilyNew.vue | 26 +- .../PersonalInformation/05_Education.vue | 97 ++-- .../PersonalInformation/06_SpecialSkill.vue | 144 +++--- .../detail/PersonalInformation/Main.vue | 16 +- .../detail/Salary/01_PositionSalary.vue | 70 +-- .../Salary/01_PositionSalaryHistory.vue | 37 +- .../detail/Salary/02_NotReceiveSalary.vue | 57 +- .../Salary/02_NotReceiveSalaryHistory.vue | 23 +- .../components/detail/Salary/Main.vue | 4 +- .../components/detail/TabMain.vue | 16 +- .../components/requestEdit/DialogStatus.vue | 57 +- .../04_registryPerson/interface/index/Main.ts | 20 + .../interface/index/discipline.ts | 1 + .../interface/index/leave.ts | 7 +- .../interface/request/Main.ts | 38 +- .../interface/response/Education.ts | 10 +- .../interface/response/Main.ts | 137 ++++- src/modules/04_registryPerson/router.ts | 8 +- .../04_registryPerson/stores/Address.ts | 38 +- .../04_registryPerson/stores/profile.ts | 90 ++-- .../04_registryPerson/views/detailView.vue | 120 +++-- .../views/{list.vue => listView.vue} | 181 ++----- .../{requestEdit.vue => requestEditView.vue} | 45 +- 46 files changed, 1935 insertions(+), 2230 deletions(-) delete mode 100644 src/modules/04_registryPerson/components/DialogAddData.vue rename src/modules/04_registryPerson/components/{DialogDevelopmant.vue => detail/Achievement/DialogDevelopmance.vue} (97%) rename src/modules/04_registryPerson/views/{list.vue => listView.vue} (84%) rename src/modules/04_registryPerson/views/{requestEdit.vue => requestEditView.vue} (88%) diff --git a/src/modules/04_registryPerson/components/DialogAddData.vue b/src/modules/04_registryPerson/components/DialogAddData.vue deleted file mode 100644 index 841476f61..000000000 --- a/src/modules/04_registryPerson/components/DialogAddData.vue +++ /dev/null @@ -1,389 +0,0 @@ - - - - diff --git a/src/modules/04_registryPerson/components/DialogHistory.vue b/src/modules/04_registryPerson/components/DialogHistory.vue index b55ac7e15..61634b160 100644 --- a/src/modules/04_registryPerson/components/DialogHistory.vue +++ b/src/modules/04_registryPerson/components/DialogHistory.vue @@ -1,9 +1,11 @@