From 21eeb3c8ad6716087b5c14fe43f82413da27c232 Mon Sep 17 00:00:00 2001 From: "1147680382@qq.com" Date: Mon, 26 May 2025 10:38:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/groupManagement/index.vue | 140 +++++++++++++++++++--------- 1 file changed, 94 insertions(+), 46 deletions(-) diff --git a/src/views/groupManagement/index.vue b/src/views/groupManagement/index.vue index 6b06e66..eeb9b2f 100644 --- a/src/views/groupManagement/index.vue +++ b/src/views/groupManagement/index.vue @@ -109,46 +109,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
@@ -241,7 +236,6 @@ const salaryForm = ref({ managerAllowance: 0, transportationAllowance: 0, otherAllowance: 0, - senioritySalary: 0, annualPerformanceBonus: 0, monthlyPerformanceBonus: 0, otherBonus: 0 @@ -266,9 +260,6 @@ const salaryRules = { otherAllowance: [ { required: true, message: '请输入其他补贴', trigger: 'blur' } ], - senioritySalary: [ - { required: true, message: '请输入工龄工资', trigger: 'blur' } - ], annualPerformanceBonus: [ { required: true, message: '请输入年度绩效奖金', trigger: 'blur' } ], @@ -459,7 +450,6 @@ const handleViewSalary = async (user) => { managerAllowance: result.managerAllowance, transportationAllowance: result.transportationAllowance, otherAllowance: result.otherAllowance, - senioritySalary: result.senioritySalary, annualPerformanceBonus: result.annualPerformanceBonus, monthlyPerformanceBonus: result.monthlyPerformanceBonus, otherBonus: result.otherBonus @@ -487,7 +477,6 @@ const handleSalarySubmit = async () => { managerAllowance: salaryForm.value.managerAllowance, transportationAllowance: salaryForm.value.transportationAllowance, otherAllowance: salaryForm.value.otherAllowance, - senioritySalary: salaryForm.value.senioritySalary, annualPerformanceBonus: salaryForm.value.annualPerformanceBonus, monthlyPerformanceBonus: salaryForm.value.monthlyPerformanceBonus, otherBonus: salaryForm.value.otherBonus @@ -808,4 +797,63 @@ onMounted(() => { border-radius: 8px; overflow: hidden; } + +.salary-config-dialog { + :deep(.el-dialog__body) { + padding: 20px; + } + + :deep(.el-dialog__header) { + margin: 0; + padding: 20px; + border-bottom: 1px solid var(--el-border-color-light); + background-color: var(--el-bg-color); + } + + :deep(.el-dialog__footer) { + padding: 20px; + border-top: 1px solid var(--el-border-color-light); + background-color: var(--el-bg-color); + } + + :deep(.el-dialog) { + border-radius: 8px; + overflow: hidden; + } +} + +.salary-config-form { + padding: 20px; + background-color: #f8fafd; + border-radius: 8px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); + + :deep(.el-form-item) { + margin-bottom: 20px; + + .el-form-item__label { + font-weight: 500; + color: #333; + font-size: 15px; + } + + .el-input-number { + width: 100%; + min-width: 120px; + + .el-input__wrapper { + padding-right: 40px; + } + } + } +} + +.dialog-footer { + display: flex; + justify-content: flex-end; + gap: 12px; + padding: 16px 20px; + border-top: 1px solid var(--el-border-color-light); + background-color: var(--el-bg-color); +}