From 7bb3a74095ed735e36c4585b16df6ecd9ae1cbe4 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 26 Dec 2024 17:11:17 +0800 Subject: [PATCH] sc --- src/views/Kpi/Score/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/Kpi/Score/index.vue b/src/views/Kpi/Score/index.vue index 936bdbf..747cede 100644 --- a/src/views/Kpi/Score/index.vue +++ b/src/views/Kpi/Score/index.vue @@ -125,15 +125,14 @@ onMounted(() => { 'YYYY-MM' ) - KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => { - periodSaved.value = data.status - }) - getList() }) async function getList() { try { + KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => { + periodSaved.value = data.status + }) // 获取当前要考核的人员 const arr = await KpiApi.getKpiEmployees(searchForm.value) employeeOptions.value = arr || []