From ca10366398ba4e58edd447b5dc58931d728f69e5 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Mon, 23 Dec 2024 17:51:29 +0800 Subject: [PATCH] sc --- src/api/system/dict/dict.data.ts | 5 +++++ src/views/Kpi/Appraise/Components/DialogAppraise.vue | 10 +++++++--- src/views/Kpi/Score/index.vue | 1 - src/views/Pers/Employee/Comp/DialogEmployee.vue | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/api/system/dict/dict.data.ts b/src/api/system/dict/dict.data.ts index 06d86a7..98d45d7 100644 --- a/src/api/system/dict/dict.data.ts +++ b/src/api/system/dict/dict.data.ts @@ -47,3 +47,8 @@ export const deleteDictData = (id: number) => { export const exportDictData = (params) => { return request.get({ url: '/admin-api/oa/dict-data/export', params }) } + +// 获取通用字典数据 +export const getGeneralSysDictData = (dictType: string) => { + return request.get({ url: '/admin-api/system/dict-data/get-by-type', params: { dictType } }) +} diff --git a/src/views/Kpi/Appraise/Components/DialogAppraise.vue b/src/views/Kpi/Appraise/Components/DialogAppraise.vue index 58b9863..bee3684 100644 --- a/src/views/Kpi/Appraise/Components/DialogAppraise.vue +++ b/src/views/Kpi/Appraise/Components/DialogAppraise.vue @@ -24,9 +24,8 @@ 加总分 - 加权重分 - 减总分 - 减权重分 + 减总分 + 权重分 @@ -109,6 +108,7 @@