From 94e5e136e646c151e9e2316f9e01433e371a449f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 13 Mar 2024 15:07:10 +0700 Subject: [PATCH] =?UTF-8?q?api=20=E0=B8=9C=E0=B8=B1=E0=B8=87=E0=B8=9A?= =?UTF-8?q?=E0=B8=B1=E0=B8=8D=E0=B8=8A=E0=B8=B5=E0=B8=84=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=A5=E0=B8=B9=E0=B8=81?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=9B=E0=B8=A3=E0=B8=B0?= =?UTF-8?q?=E0=B8=88=E0=B8=B3=20=3D>=20=E0=B8=9A=E0=B8=B1=E0=B8=8D?= =?UTF-8?q?=E0=B8=8A=E0=B8=B5=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87=E0=B8=AA?= =?UTF-8?q?=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/13_salary/api.salary.ts | 13 +- .../DialogEmployeeChart.vue | 68 ++++- .../DialogEmployeeRate.vue | 83 ++++-- .../DialogEmployeeUpload.vue | 281 ++++++++++++++++++ .../salaryEmployeeChart/TabStructure.vue | 141 ++++++--- .../interface/index/EmployeeChart.ts | 10 +- .../interface/request/EmployeeChart.ts | 16 +- .../interface/response/salaryEmployeeChart.ts | 17 ++ .../13_salary/views/salaryEmployeeRate.vue | 126 ++++++-- 9 files changed, 648 insertions(+), 107 deletions(-) create mode 100644 src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeUpload.vue create mode 100644 src/modules/13_salary/interface/response/salaryEmployeeChart.ts diff --git a/src/api/13_salary/api.salary.ts b/src/api/13_salary/api.salary.ts index 7d2d377c2..ebde4a4bf 100644 --- a/src/api/13_salary/api.salary.ts +++ b/src/api/13_salary/api.salary.ts @@ -29,5 +29,16 @@ export default { salaryListPerson: `${env.API_URI}/org/profile/salary/gen`, salaryPeriodProfile: `${salary}/period/org/profile`, - salaryProperty:(id:string)=> `${salaryPeriod}/org/property/${id}`, + salaryProperty: (id: string) => `${salaryPeriod}/org/property/${id}`, + + /** รายการเงินเดือนลูกจ้างประจำ*/ + salaryEmployeeChart: `${salary}/employee`, + salaryEmployeeChartByid: (id: string) => `${salary}/employee/${id}`, + salaryEmployeeChartCopy: `${salary}/employee/copy`, + salaryEmployeeChartFile: (id: string) => `${salary}/file/employee/${id}`, + salaryEmployeeChartDelFile: (id: string, fileName: string) => + `${salary}/file/employee/${id}/${fileName}`, + + salaryEmployeeRateList: `${salaryRate}/employee`, + salaryEmployeeRateListByid: (id: string) => `${salaryRate}/employee/${id}`, }; diff --git a/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue b/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue index 4f819e080..0ccf1fb82 100644 --- a/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue +++ b/src/modules/13_salary/components/salaryEmployeeChart/DialogEmployeeChart.vue @@ -1,6 +1,8 @@