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 @@