From 7a837a3a36864f0843536e9cf7d33087a1d638fc Mon Sep 17 00:00:00 2001
From: hky <1499449886@qq.com>
Date: Tue, 31 Dec 2024 16:25:46 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=89=B9=E6=AE=8A=E8=B4=B9?=
=?UTF-8?q?=E7=94=A8=E9=A1=B9=E7=9B=AE=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/arcb/salary/specialfee/index.ts | 48 +++
src/utils/dict.ts | 5 +-
src/views/arcb/salary/employee/index.vue | 113 ++++---
.../arcb/salary/specialfee/SpecialFeeForm.vue | 158 ++++++++++
.../specialfee/SpecialFeeImportForm.vue | 137 ++++++++
src/views/arcb/salary/specialfee/index.vue | 292 ++++++++++++++++++
src/views/arcb/salary/station/index.vue | 78 +++--
7 files changed, 749 insertions(+), 82 deletions(-)
create mode 100644 src/api/arcb/salary/specialfee/index.ts
create mode 100644 src/views/arcb/salary/specialfee/SpecialFeeForm.vue
create mode 100644 src/views/arcb/salary/specialfee/SpecialFeeImportForm.vue
create mode 100644 src/views/arcb/salary/specialfee/index.vue
diff --git a/src/api/arcb/salary/specialfee/index.ts b/src/api/arcb/salary/specialfee/index.ts
new file mode 100644
index 000000000..d55580eb1
--- /dev/null
+++ b/src/api/arcb/salary/specialfee/index.ts
@@ -0,0 +1,48 @@
+import request from '@/config/axios'
+
+// 特殊费用项目 VO
+export interface SpecialFeeVO {
+ id: number // 唯一标识符
+ idNo: string // 身份证号
+ month: string // 月份
+ feeName: string // 费用名称
+ feeAmount: number // 费用金额
+ feeType: string // 费用类型
+ note: string // 备注
+}
+
+// 特殊费用项目 API
+export const SpecialFeeApi = {
+ // 查询特殊费用项目分页
+ getSpecialFeePage: async (params: any) => {
+ return await request.get({ url: `salary/special-fee/page`, params })
+ },
+
+ // 查询特殊费用项目详情
+ getSpecialFee: async (id: number) => {
+ return await request.get({ url: `salary/special-fee/get?id=` + id })
+ },
+
+ // 新增特殊费用项目
+ createSpecialFee: async (data: SpecialFeeVO) => {
+ return await request.post({ url: `salary/special-fee/create`, data })
+ },
+
+ // 修改特殊费用项目
+ updateSpecialFee: async (data: SpecialFeeVO) => {
+ return await request.put({ url: `salary/special-fee/update`, data })
+ },
+
+ // 删除特殊费用项目
+ deleteSpecialFee: async (id: number) => {
+ return await request.delete({ url: `salary/special-fee/delete?id=` + id })
+ },
+
+ // 导出特殊费用项目 Excel
+ exportSpecialFee: async (params) => {
+ return await request.download({ url: `salary/special-fee/export-excel`, params })
+ },
+ importSpecialFeeTemplate: async () => {
+ return request.download({ url: 'salary/special-fee/get-import-template' })
+ }
+}
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index ee0d29b5e..54dffdc31 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -243,5 +243,8 @@ export enum DICT_TYPE {
// ===================人力资源模块======================
ARCB_EMP_STATUS = 'arcb_emp_status', //员工状态
- ARCB_POSITION_CATEGORY = 'arcb_position_category' //岗位序列
+ ARCB_POSITION_CATEGORY = 'arcb_position_category', //岗位序列
+ ARCB_SPECIAL_COST_NAME = 'arcb_special_cost_name', //特殊费用名称
+ ARCB_SPECIAL_COST_TYPE = 'arcb_special_cost_type', //特殊费用类型
+
}
diff --git a/src/views/arcb/salary/employee/index.vue b/src/views/arcb/salary/employee/index.vue
index 2c814ebe2..1eef10b7c 100644
--- a/src/views/arcb/salary/employee/index.vue
+++ b/src/views/arcb/salary/employee/index.vue
@@ -77,45 +77,58 @@
/>
-
- 搜索
- 重置
-
- 新增
-
-
- 导入
-
-
- 导出
-
-
+
+
+
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+ 新增
+
+
+
+ 导入
+
+
+
+ 导出
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
@@ -170,25 +184,25 @@
-
+
-
+
\ No newline at end of file
diff --git a/src/views/arcb/salary/specialfee/SpecialFeeImportForm.vue b/src/views/arcb/salary/specialfee/SpecialFeeImportForm.vue
new file mode 100644
index 000000000..8d3ef5b96
--- /dev/null
+++ b/src/views/arcb/salary/specialfee/SpecialFeeImportForm.vue
@@ -0,0 +1,137 @@
+
+
+
+
diff --git a/src/views/arcb/salary/specialfee/index.vue b/src/views/arcb/salary/specialfee/index.vue
new file mode 100644
index 000000000..374e767b0
--- /dev/null
+++ b/src/views/arcb/salary/specialfee/index.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+ 新增
+
+
+
+ 导入
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/arcb/salary/station/index.vue b/src/views/arcb/salary/station/index.vue
index d74232816..c0889a0f9 100644
--- a/src/views/arcb/salary/station/index.vue
+++ b/src/views/arcb/salary/station/index.vue
@@ -52,39 +52,52 @@
class="!w-220px"
/>
-
- 搜索
- 重置
-
- 新增
-
-
- 导出
-
-
+
+
+
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+ 新增
+
+
+
+ 导出
+
+
+
+
-
-
-
+
+
+
-
+
-
+