From e5e141fb844320adcd0cdc813b552cec358292e4 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Tue, 24 Dec 2024 11:34:58 +0800
Subject: [PATCH] sc
---
src/api/kpi/score.js | 31 ++++
.../Appraise/Components/DialogAppraise.vue | 24 +--
src/views/Kpi/Appraise/index.vue | 17 +-
src/views/Kpi/Record/index.vue | 6 +-
src/views/Kpi/Score/index.vue | 148 ++++++++++--------
5 files changed, 146 insertions(+), 80 deletions(-)
create mode 100644 src/api/kpi/score.js
diff --git a/src/api/kpi/score.js b/src/api/kpi/score.js
new file mode 100644
index 0000000..764b296
--- /dev/null
+++ b/src/api/kpi/score.js
@@ -0,0 +1,31 @@
+import request from '@/config/axios'
+
+// 打分数据
+export const getKpiEmployees = (params) => {
+ return request.get({ url: '/admin-api/oa/examine-score/getExamineUserExamineScore', params })
+}
+
+// 保存考勤打分数据
+export const saveKpiScore = (data) => {
+ return request.put({ url: '/admin-api/oa/examine-score/update', data })
+}
+
+// 删除考核项
+export const deleteKpiItem = (params) => {
+ return request.delete({ url: '/admin-api/oa/examine-score/delete', params })
+}
+
+// 考评分页数据
+export const getScorePage = (params) => {
+ return request.get({ url: '/admin-api/oa/examine-period/page', params })
+}
+
+// 封存
+export const saveScoreRecord = (params) => {
+ return request.get({ url: '/admin-api/oa/examine-period/confirm', params })
+}
+
+// 查询周期是否已封存
+export const getKpiPeriodStatus = (params) => {
+ return request.get({ url: '/admin-api/oa/examine-period/getExaminePeriodByPeriod', params })
+}
diff --git a/src/views/Kpi/Appraise/Components/DialogAppraise.vue b/src/views/Kpi/Appraise/Components/DialogAppraise.vue
index bee3684..8bb40f9 100644
--- a/src/views/Kpi/Appraise/Components/DialogAppraise.vue
+++ b/src/views/Kpi/Appraise/Components/DialogAppraise.vue
@@ -23,9 +23,13 @@
- 加总分
- 减总分
- 权重分
+
+ {{ item.label }}
+
@@ -108,7 +112,13 @@