From 10253baf7dd53c077bdd41f960230e8887c65149 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 03 十一月 2026 09:21:43 +0800
Subject: [PATCH] feat(app): 同步中亿装配人力资源改动
---
src/pages/hrm/social-security-scheme/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/hrm/social-security-scheme/index.vue b/src/pages/hrm/social-security-scheme/index.vue
index ed28187..5ffe9ea 100644
--- a/src/pages/hrm/social-security-scheme/index.vue
+++ b/src/pages/hrm/social-security-scheme/index.vue
@@ -1,7 +1,7 @@
<script setup lang="ts">
import HrmCrudPage, { type CrudConfig } from "../components/HrmCrudPage.vue";
import { createSocialSecurityScheme, deleteSocialSecurityScheme, getSocialSecuritySchemeList, updateSocialSecurityScheme } from "../../../api/hrm";
-const ratios=["pensionCompanyRatio","pensionPersonalRatio","medicalCompanyRatio","medicalPersonalRatio","unemploymentCompanyRatio","unemploymentPersonalRatio","workInjuryRatio","maternityRatio","housingFundCompanyRatio","housingFundPersonalRatio"];
-const labels=["鍏昏�佸崟浣嶆瘮渚�","鍏昏�佷釜浜烘瘮渚�","鍖荤枟鍗曚綅姣斾緥","鍖荤枟涓汉姣斾緥","澶变笟鍗曚綅姣斾緥","澶变笟涓汉姣斾緥","宸ヤ激姣斾緥","鐢熻偛姣斾緥","鍏Н閲戝崟浣嶆瘮渚�","鍏Н閲戜釜浜烘瘮渚�"];
+const ratios=["pensionCompanyRatio","pensionPersonalRatio","medicalCompanyRatio","medicalPersonalRatio","unemploymentCompanyRatio","unemploymentPersonalRatio","workInjuryRatio","maternityRatio","seriousIllnessCompanyRatio","seriousIllnessPersonalRatio","longTermCareCompanyRatio","longTermCarePersonalRatio","housingFundCompanyRatio","housingFundPersonalRatio"];
+const labels=["鍏昏�佸崟浣嶆瘮渚�","鍏昏�佷釜浜烘瘮渚�","鍖荤枟鍗曚綅姣斾緥","鍖荤枟涓汉姣斾緥","澶变笟鍗曚綅姣斾緥","澶变笟涓汉姣斾緥","宸ヤ激姣斾緥","鐢熻偛姣斾緥","澶х梾鍖荤枟鍗曚綅姣斾緥","澶х梾鍖荤枟涓汉姣斾緥","闀挎湡鎶ょ悊鍗曚綅姣斾緥","闀挎湡鎶ょ悊涓汉姣斾緥","鍏Н閲戝崟浣嶆瘮渚�","鍏Н閲戜釜浜烘瘮渚�"];
const config: CrudConfig = { title:"绀句繚鍏Н閲戞柟妗�", permission:"hrm:social-security-scheme", fields:[{key:"name",label:"鏂规鍚嶇О",required:true},{key:"effectiveDate",label:"鐢熸晥鏃ユ湡",required:true},...ratios.map((key,i)=>({key,label:labels[i],type:"number" as const,required:true})),{key:"remark",label:"澶囨敞"}], cardFields:[{key:"name",label:"鍚嶇О"},{key:"effectiveDate",label:"鐢熸晥鏃ユ湡"},{key:"pensionCompanyRatio",label:"鍏昏�佸崟浣嶆瘮渚�"},{key:"housingFundCompanyRatio",label:"鍏Н閲戝崟浣嶆瘮渚�"}], load:(t,k)=>getSocialSecuritySchemeList(t,{name:k||undefined}), create:createSocialSecurityScheme, update:updateSocialSecurityScheme, remove:deleteSocialSecurityScheme };
</script><template><HrmCrudPage :config="config" /></template>
--
Gitblit v1.9.3